Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Time.Examples.ModelTime.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.0009124/0.0009124, allocations: 81.86 kB / 19.87 MB, free: 4.621 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.0009684/0.0009684, allocations: 169.7 kB / 23.28 MB, free: 1.219 MB / 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 1.053/1.053, allocations: 177.1 MB / 203.7 MB, free: 5.504 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:108:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:116:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.784/0.784, allocations: 154.6 MB / 414.8 MB, free: 0.5352 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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 4.0.0/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.Utilities.Time.Examples.ModelTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Time.Examples.ModelTime") translateModel(IDEAS.Utilities.Time.Examples.ModelTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Time.Examples.ModelTime") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.412e-06/1.412e-06, allocations: 0 / 0.5207 GB, free: 1.922 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.466e-05/1.607e-05, allocations: 4.609 kB / 0.5207 GB, free: 1.918 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Examples.ModelTime): time 0.001112/0.001128, allocations: 0.5954 MB / 0.5213 GB, free: 1.344 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 4.189e-05/0.00117, allocations: 5.281 kB / 0.5213 GB, free: 1.34 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.85e-05/0.001188, allocations: 0 / 0.5213 GB, free: 1.34 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 2.422e-05/0.001213, allocations: 0 / 0.5213 GB, free: 1.34 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 7.013e-06/0.00122, allocations: 0 / 0.5213 GB, free: 1.34 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 3.244e-05/0.001252, allocations: 5.75 kB / 0.5213 GB, free: 1.336 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 4.202e-05/0.001294, allocations: 7.984 kB / 0.5213 GB, free: 1.328 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.553e-05/0.00133, allocations: 3.125 kB / 0.5213 GB, free: 1.328 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.024e-05/0.00136, allocations: 4 kB / 0.5213 GB, free: 1.324 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.14e-05/0.001381, allocations: 0 / 0.5213 GB, free: 1.324 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.32e-05/0.001395, allocations: 0 / 0.5213 GB, free: 1.324 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.188e-06/0.001399, allocations: 4.547 kB / 0.5213 GB, free: 1.32 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.126e-05/0.00141, allocations: 0 / 0.5213 GB, free: 1.32 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 1.401e-05/0.001424, allocations: 0 / 0.5213 GB, free: 1.32 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 4.417e-05/0.001468, allocations: 3.938 kB / 0.5213 GB, free: 1.316 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.994e-06/0.00147, allocations: 0 / 0.5213 GB, free: 1.316 MB / 490.7 MB Notification: Performance of FrontEnd: time 3.4e-07/0.00147, allocations: 0.5625 kB / 0.5213 GB, free: 1.316 MB / 490.7 MB Notification: Performance of Transformations before backend: time 3.397e-06/0.001474, allocations: 0.5625 kB / 0.5213 GB, free: 1.316 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0001946/0.001668, allocations: 336.4 kB / 0.5217 GB, free: 0.9492 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.525e-05/0.001704, allocations: 8.719 kB / 0.5217 GB, free: 0.9414 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.835e-05/0.001722, allocations: 5.625 kB / 0.5217 GB, free: 0.9375 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.551e-05/0.001778, allocations: 104.6 kB / 0.5218 GB, free: 0.8086 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.848e-06/0.001787, allocations: 1.844 kB / 0.5218 GB, free: 0.8086 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.069e-06/0.001792, allocations: 384 / 0.5218 GB, free: 0.8086 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.529e-05/0.001848, allocations: 34.2 kB / 0.5218 GB, free: 0.7695 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.58e-06/0.001853, allocations: 192 / 0.5218 GB, free: 0.7695 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.791e-06/0.001859, allocations: 5.312 kB / 0.5218 GB, free: 0.7656 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.198e-06/0.001863, allocations: 384 / 0.5218 GB, free: 0.7656 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.844e-06/0.001871, allocations: 5.281 kB / 0.5218 GB, free: 0.7617 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.618e-05/0.001947, allocations: 101.2 kB / 0.5219 GB, free: 0.6367 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 2.697e-05/0.001974, allocations: 23.06 kB / 0.5219 GB, free: 0.6016 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.446e-05/0.001989, allocations: 13 kB / 0.5219 GB, free: 0.5859 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.082e-06/0.001995, allocations: 3.938 kB / 0.522 GB, free: 0.582 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.871e-05/0.002014, allocations: 33.39 kB / 0.522 GB, free: 0.5391 MB / 490.7 MB Notification: Performance of pre-optimization done (n=1): time 5.61e-07/0.002014, allocations: 0.8125 kB / 0.522 GB, free: 0.5391 MB / 490.7 MB Notification: Performance of matching and sorting (n=1): time 7.612e-05/0.00209, allocations: 34.97 kB / 0.522 GB, free: 0.5 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.249e-05/0.002113, allocations: 55.41 kB / 0.5221 GB, free: 444 kB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.439e-05/0.002147, allocations: 146.2 kB / 0.5222 GB, free: 284 kB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 8.656e-06/0.002156, allocations: 29.7 kB / 0.5222 GB, free: 248 kB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.568e-05/0.002181, allocations: 128.2 kB / 0.5224 GB, free: 116 kB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.104e-05/0.002203, allocations: 0 / 0.5224 GB, free: 116 kB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.169e-05/0.002224, allocations: 23.36 kB / 0.5224 GB, free: 84 kB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001123/0.002337, allocations: 496.8 kB / 0.5229 GB, free: 15.59 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.15e-06/0.002342, allocations: 0 / 0.5229 GB, free: 15.59 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.823e-06/0.002349, allocations: 5.781 kB / 0.5229 GB, free: 15.58 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.925e-05/0.002368, allocations: 11.69 kB / 0.5229 GB, free: 15.57 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.002369, allocations: 0 / 0.5229 GB, free: 15.57 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1) (initialization): time 2.961e-05/0.002399, allocations: 29.7 kB / 0.5229 GB, free: 15.53 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.065e-05/0.002409, allocations: 10.84 kB / 0.5229 GB, free: 15.52 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.647e-06/0.002413, allocations: 0 / 0.5229 GB, free: 15.52 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.085e-05/0.002424, allocations: 4 kB / 0.5229 GB, free: 15.52 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.689e-05/0.002461, allocations: 0 / 0.5229 GB, free: 15.52 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.836e-06/0.002464, allocations: 3.984 kB / 0.5229 GB, free: 15.52 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.911e-06/0.00247, allocations: 0 / 0.5229 GB, free: 15.52 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.066e-06/0.002473, allocations: 0 / 0.5229 GB, free: 15.52 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * 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 5.412e-05/0.002527, allocations: 167.2 kB / 0.5231 GB, free: 15.34 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.246e-06/0.00253, allocations: 352 / 0.5231 GB, free: 15.34 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.51e-05/0.002545, allocations: 10.59 kB / 0.5231 GB, free: 15.34 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.82e-07/0.002546, allocations: 0 / 0.5231 GB, free: 15.34 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.453e-06/0.002547, allocations: 0 / 0.5231 GB, free: 15.34 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.914e-06/0.002549, allocations: 0 / 0.5231 GB, free: 15.34 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.747e-05/0.002597, allocations: 97.2 kB / 0.5232 GB, free: 15.21 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.9e-07/0.002597, allocations: 0 / 0.5232 GB, free: 15.21 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.509e-06/0.002602, allocations: 0.75 kB / 0.5232 GB, free: 15.21 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.002604, allocations: 3.984 kB / 0.5232 GB, free: 15.21 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.655e-06/0.002607, allocations: 1.094 kB / 0.5232 GB, free: 15.21 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.71e-07/0.002607, allocations: 4 kB / 0.5232 GB, free: 15.21 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.31e-07/0.002608, allocations: 0 / 0.5232 GB, free: 15.21 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.671e-05/0.002654, allocations: 69.12 kB / 0.5233 GB, free: 15.12 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 4.278e-06/0.002659, allocations: 4.5 kB / 0.5233 GB, free: 15.11 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.609e-06/0.002663, allocations: 0 / 0.5233 GB, free: 15.11 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.396e-06/0.002667, allocations: 0.875 kB / 0.5233 GB, free: 15.11 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.867e-06/0.002675, allocations: 7.922 kB / 0.5233 GB, free: 15.11 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.272e-06/0.002677, allocations: 1.219 kB / 0.5233 GB, free: 15.11 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 2.626e-05/0.002703, allocations: 119.2 kB / 0.5234 GB, free: 14.99 MB / 0.4948 GB Notification: Performance of sort global known variables: time 4e-08/0.002703, allocations: 0 / 0.5234 GB, free: 14.99 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001053/0.002808, allocations: 4.5 kB / 0.5234 GB, free: 14.98 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 1 * 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 Backend phase and start with SimCode phase: time 5.853e-05/0.002867, allocations: 96.84 kB / 0.5235 GB, free: 14.88 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 4.506e-05/0.002912, allocations: 11.67 kB / 0.5235 GB, free: 14.87 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.684e-06/0.002914, allocations: 0 / 0.5235 GB, free: 14.87 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 5.119e-06/0.002919, allocations: 14.12 kB / 0.5235 GB, free: 14.85 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.19e-05/0.003001, allocations: 7.938 kB / 0.5235 GB, free: 14.84 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001311/0.003132, allocations: 91.88 kB / 0.5236 GB, free: 14.72 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.23e-05/0.003154, allocations: 51.36 kB / 0.5237 GB, free: 14.65 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 8.607e-06/0.003163, allocations: 3.938 kB / 0.5237 GB, free: 14.65 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.893e-05/0.003191, allocations: 72.8 kB / 0.5237 GB, free: 14.58 MB / 0.4948 GB Notification: Performance of SimCode: time 4.4e-07/0.003192, allocations: 0 / 0.5237 GB, free: 14.58 MB / 0.4948 GB Notification: Performance of Templates: time 0.001266/0.004458, allocations: 205.3 kB / 0.5239 GB, free: 14.38 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Utilities.Time.Examples.ModelTime.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Utilities.Time.Examples.ModelTime.pipe ; mkfifo IDEAS_IDEAS.Utilities.Time.Examples.ModelTime.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Time.Examples.ModelTime.pipe >> ../files/IDEAS_IDEAS.Utilities.Time.Examples.ModelTime.sim & ./IDEAS_IDEAS.Utilities.Time.Examples.ModelTime -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Time.Examples.ModelTime.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.5920575452037156]