Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.000827/0.000827, allocations: 73.88 kB / 20.66 MB, free: 3.84 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001055/0.001055, allocations: 173 kB / 24.06 MB, free: 452 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9924/0.9924, allocations: 177.1 MB / 204.5 MB, free: 5.508 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:34:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:42:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.8237/0.8237, allocations: 154.9 MB / 415.9 MB, free: 248 kB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime") translateModel(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.372e-06/1.372e-06, allocations: 0 / 0.5219 GB, free: 1.492 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.576e-05/2.713e-05, allocations: 2.312 kB / 0.5219 GB, free: 1.488 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime): time 0.003221/0.003248, allocations: 1.503 MB / 0.5234 GB, free: 15.99 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.000463/0.003711, allocations: 189.3 kB / 0.5236 GB, free: 15.81 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.382e-05/0.003755, allocations: 112 / 0.5236 GB, free: 15.81 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 2.934e-05/0.003784, allocations: 7.875 kB / 0.5236 GB, free: 15.8 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0002389/0.004023, allocations: 24.53 kB / 0.5236 GB, free: 15.78 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001993/0.004222, allocations: 57.61 kB / 0.5236 GB, free: 15.72 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.000111/0.004333, allocations: 55.78 kB / 0.5237 GB, free: 15.67 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 9.658e-05/0.00443, allocations: 11.98 kB / 0.5237 GB, free: 15.66 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 9.546e-05/0.004525, allocations: 31.91 kB / 0.5237 GB, free: 15.62 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 8.997e-05/0.004615, allocations: 17.42 kB / 0.5238 GB, free: 15.61 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 2.502e-05/0.00464, allocations: 4 kB / 0.5238 GB, free: 15.61 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 1.468e-05/0.004655, allocations: 4 kB / 0.5238 GB, free: 15.6 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 3.296e-05/0.004688, allocations: 15.97 kB / 0.5238 GB, free: 15.59 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 4.312e-05/0.004731, allocations: 12.5 kB / 0.5238 GB, free: 15.57 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001289/0.00486, allocations: 47.88 kB / 0.5238 GB, free: 15.53 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.004864, allocations: 1.188 kB / 0.5238 GB, free: 15.53 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.343e-06/0.004865, allocations: 3.938 kB / 0.5238 GB, free: 15.52 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.869e-06/0.00487, allocations: 0 / 0.5238 GB, free: 15.52 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005552/0.005425, allocations: 373.3 kB / 0.5242 GB, free: 15.12 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.801e-05/0.005473, allocations: 8.656 kB / 0.5242 GB, free: 15.11 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.101e-05/0.005524, allocations: 4.938 kB / 0.5242 GB, free: 15.11 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001119/0.005636, allocations: 117.8 kB / 0.5243 GB, free: 14.97 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.416e-05/0.00565, allocations: 384 / 0.5243 GB, free: 14.97 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.728e-05/0.005667, allocations: 8.375 kB / 0.5243 GB, free: 14.96 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001667/0.005834, allocations: 134.3 kB / 0.5245 GB, free: 14.8 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.033e-06/0.005841, allocations: 192 / 0.5245 GB, free: 14.8 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.259e-05/0.005854, allocations: 12.25 kB / 0.5245 GB, free: 14.79 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.542e-06/0.00586, allocations: 4.906 kB / 0.5245 GB, free: 14.78 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.964e-05/0.0059, allocations: 19.39 kB / 0.5245 GB, free: 14.77 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003299/0.00623, allocations: 248.4 kB / 0.5247 GB, free: 14.5 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 8.874e-05/0.006318, allocations: 35.05 kB / 0.5248 GB, free: 14.45 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.475e-05/0.006343, allocations: 15.62 kB / 0.5248 GB, free: 14.43 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.001e-05/0.006353, allocations: 8.062 kB / 0.5248 GB, free: 14.42 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001169/0.00647, allocations: 65.05 kB / 0.5248 GB, free: 14.34 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=4): time 1.393e-06/0.006471, allocations: 0 / 0.5248 GB, free: 14.34 MB / 0.4948 GB Notification: Performance of matching and sorting (n=4): time 0.0001781/0.006649, allocations: 61.58 kB / 0.5249 GB, free: 14.28 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.896e-05/0.006708, allocations: 111.4 kB / 0.525 GB, free: 14.14 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001292/0.006838, allocations: 162.5 kB / 0.5252 GB, free: 13.97 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.175e-05/0.006859, allocations: 29.7 kB / 0.5252 GB, free: 13.93 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 5.944e-05/0.006919, allocations: 127.4 kB / 0.5253 GB, free: 13.8 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.719e-05/0.006946, allocations: 20.81 kB / 0.5253 GB, free: 13.79 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.77e-05/0.006994, allocations: 23.38 kB / 0.5254 GB, free: 13.75 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001429/0.007137, allocations: 496.1 kB / 0.5258 GB, free: 13.26 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.267e-05/0.007159, allocations: 9.531 kB / 0.5258 GB, free: 13.25 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.719e-05/0.007226, allocations: 90.44 kB / 0.5259 GB, free: 13.14 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.372e-05/0.00727, allocations: 15.69 kB / 0.5259 GB, free: 13.12 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.007272, allocations: 0 / 0.5259 GB, free: 13.12 MB / 0.4948 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001708/0.007443, allocations: 58.44 kB / 0.526 GB, free: 13.05 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.007e-05/0.007463, allocations: 14.28 kB / 0.526 GB, free: 13.04 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.589e-06/0.007468, allocations: 0.5312 kB / 0.526 GB, free: 13.04 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.198e-06/0.007477, allocations: 1.969 kB / 0.526 GB, free: 13.04 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.084e-05/0.007548, allocations: 7.984 kB / 0.526 GB, free: 13.04 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.466e-06/0.007551, allocations: 0 / 0.526 GB, free: 13.04 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.728e-05/0.007628, allocations: 4 kB / 0.526 GB, free: 13.03 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.134e-06/0.007636, allocations: 4 kB / 0.526 GB, free: 13.03 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (conTim.tNext,$PRE.conTim.tNext,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.04e-05/0.007726, allocations: 157.1 kB / 0.5262 GB, free: 12.86 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.871e-05/0.007795, allocations: 12.88 kB / 0.5262 GB, free: 12.85 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.642e-05/0.007821, allocations: 12.34 kB / 0.5262 GB, free: 12.84 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.007823, allocations: 0 / 0.5262 GB, free: 12.84 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.663e-06/0.007825, allocations: 0.5625 kB / 0.5262 GB, free: 12.84 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.537e-06/0.007828, allocations: 0 / 0.5262 GB, free: 12.84 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00011/0.007938, allocations: 118.6 kB / 0.5263 GB, free: 12.7 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.00794, allocations: 0 / 0.5263 GB, free: 12.7 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.813e-05/0.007968, allocations: 0 / 0.5263 GB, free: 12.7 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.199e-06/0.007973, allocations: 4 kB / 0.5263 GB, free: 12.69 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.061e-06/0.007979, allocations: 1.812 kB / 0.5263 GB, free: 12.69 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.007981, allocations: 0 / 0.5263 GB, free: 12.69 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.91e-06/0.007986, allocations: 7.875 kB / 0.5263 GB, free: 12.68 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001352/0.008121, allocations: 88.42 kB / 0.5264 GB, free: 12.57 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 3.709e-05/0.008158, allocations: 7.984 kB / 0.5264 GB, free: 12.57 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.974e-05/0.008178, allocations: 2.75 kB / 0.5264 GB, free: 12.57 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.292e-05/0.008251, allocations: 9.688 kB / 0.5264 GB, free: 12.56 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.166e-05/0.008282, allocations: 11.92 kB / 0.5264 GB, free: 12.55 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.098e-05/0.008293, allocations: 0 / 0.5264 GB, free: 12.55 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 5.434e-05/0.008348, allocations: 123.2 kB / 0.5266 GB, free: 12.43 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.01e-07/0.008348, allocations: 0 / 0.5266 GB, free: 12.43 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002543/0.008602, allocations: 23.88 kB / 0.5266 GB, free: 12.4 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,conTim.tNext) * Number of discrete states: 1 (conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001229/0.008725, allocations: 101.1 kB / 0.5267 GB, free: 12.3 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001043/0.008829, allocations: 27.61 kB / 0.5267 GB, free: 12.27 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.008832, allocations: 0 / 0.5267 GB, free: 12.27 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 3.354e-05/0.008865, allocations: 16.86 kB / 0.5267 GB, free: 12.25 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001872/0.009053, allocations: 15.38 kB / 0.5267 GB, free: 12.23 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004707/0.009523, allocations: 142.9 kB / 0.5269 GB, free: 12.07 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.506e-05/0.009558, allocations: 56.3 kB / 0.5269 GB, free: 11.99 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 4.521e-05/0.009604, allocations: 7.984 kB / 0.5269 GB, free: 11.98 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001215/0.009725, allocations: 98.75 kB / 0.527 GB, free: 11.89 MB / 0.4948 GB Notification: Performance of SimCode: time 7.21e-07/0.009726, allocations: 0.5 kB / 0.527 GB, free: 11.89 MB / 0.4948 GB Notification: Performance of Templates: time 0.002742/0.01247, allocations: 1.032 MB / 0.528 GB, free: 10.91 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.sim & ./IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.680697960779071]