Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.001394/0.001394, allocations: 88.72 kB / 19.44 MB, free: 356 kB / 13.93 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.001533/0.001533, allocations: 161.7 kB / 22.76 MB, free: 1.68 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.511/1.511, allocations: 177.1 MB / 203.1 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 178] 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 1.222/1.222, allocations: 154.8 MB / 414.4 MB, free: 468 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 178] 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.Utilities.Time.Examples.ModelTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Time.Examples.ModelTime") translateModel(IDEAS.Utilities.Time.Examples.ModelTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Time.Examples.ModelTime") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.693e-06/1.693e-06, allocations: 0.6562 kB / 0.5198 GB, free: 2.348 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.741e-05/2.91e-05, allocations: 4.719 kB / 0.5198 GB, free: 2.344 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Examples.ModelTime): time 0.001708/0.001737, allocations: 0.5899 MB / 0.5204 GB, free: 1.773 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 4.544e-05/0.001783, allocations: 11.98 kB / 0.5204 GB, free: 1.762 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.627e-05/0.001799, allocations: 1.156 kB / 0.5204 GB, free: 1.762 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 2.681e-05/0.001826, allocations: 3.938 kB / 0.5204 GB, free: 1.758 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 5.18e-06/0.001831, allocations: 0 / 0.5204 GB, free: 1.758 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 3.558e-05/0.001866, allocations: 0.6875 kB / 0.5204 GB, free: 1.758 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 5.052e-05/0.001917, allocations: 5.078 kB / 0.5204 GB, free: 1.754 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.701e-05/0.001954, allocations: 5.281 kB / 0.5204 GB, free: 1.75 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.858e-05/0.001982, allocations: 0 / 0.5204 GB, free: 1.75 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.095e-05/0.002003, allocations: 0 / 0.5204 GB, free: 1.75 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.064e-05/0.002014, allocations: 0 / 0.5204 GB, free: 1.75 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.135e-06/0.002017, allocations: 1.312 kB / 0.5204 GB, free: 1.75 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.064e-05/0.002028, allocations: 0.6562 kB / 0.5204 GB, free: 1.75 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 1.86e-05/0.002046, allocations: 0 / 0.5204 GB, free: 1.75 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 4.34e-05/0.00209, allocations: 0.6875 kB / 0.5204 GB, free: 1.75 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.002095, allocations: 5.094 kB / 0.5204 GB, free: 1.746 MB / 490.7 MB Notification: Performance of FrontEnd: time 5.51e-07/0.002096, allocations: 5.844 kB / 0.5204 GB, free: 1.742 MB / 490.7 MB Notification: Performance of Transformations before backend: time 3.536e-06/0.002099, allocations: 0 / 0.5204 GB, free: 1.742 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.0003106/0.00241, allocations: 234.5 kB / 0.5206 GB, free: 1.48 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.425e-05/0.002444, allocations: 8.031 kB / 0.5207 GB, free: 1.473 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.625e-05/0.00248, allocations: 0.9375 kB / 0.5207 GB, free: 1.473 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.715e-05/0.002577, allocations: 103.6 kB / 0.5208 GB, free: 1.348 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.342e-05/0.002591, allocations: 4.375 kB / 0.5208 GB, free: 1.344 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.632e-06/0.002597, allocations: 384 / 0.5208 GB, free: 1.344 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.439e-05/0.002682, allocations: 30.2 kB / 0.5208 GB, free: 1.309 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.775e-06/0.00269, allocations: 0.9062 kB / 0.5208 GB, free: 1.309 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.747e-06/0.002698, allocations: 4.375 kB / 0.5208 GB, free: 1.305 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.717e-06/0.002702, allocations: 5.781 kB / 0.5208 GB, free: 1.301 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.853e-05/0.002721, allocations: 7.938 kB / 0.5208 GB, free: 1.293 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001259/0.002847, allocations: 93.33 kB / 0.5209 GB, free: 1.172 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.195e-05/0.002898, allocations: 23.56 kB / 0.5209 GB, free: 1.141 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.117e-05/0.00292, allocations: 4.859 kB / 0.5209 GB, free: 1.133 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.859e-06/0.00293, allocations: 0.9688 kB / 0.5209 GB, free: 1.133 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.403e-05/0.002964, allocations: 34.62 kB / 0.521 GB, free: 1.09 MB / 490.7 MB Notification: Performance of pre-optimization done (n=1): time 1.102e-06/0.002965, allocations: 3.938 kB / 0.521 GB, free: 1.086 MB / 490.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001312/0.003096, allocations: 34.7 kB / 0.521 GB, free: 1.047 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.416e-05/0.00315, allocations: 51.91 kB / 0.521 GB, free: 0.9844 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.655e-05/0.003207, allocations: 89.86 kB / 0.5211 GB, free: 0.8867 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.84e-05/0.003225, allocations: 26.73 kB / 0.5212 GB, free: 0.8555 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.26e-05/0.003268, allocations: 84.14 kB / 0.5212 GB, free: 0.7695 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.238e-05/0.00329, allocations: 0 / 0.5212 GB, free: 0.7695 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.174e-05/0.003322, allocations: 10.94 kB / 0.5212 GB, free: 0.7539 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002846/0.003606, allocations: 322.8 kB / 0.5216 GB, free: 440 kB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.185e-06/0.003614, allocations: 4 kB / 0.5216 GB, free: 436 kB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.168e-06/0.003619, allocations: 1.781 kB / 0.5216 GB, free: 436 kB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.013e-05/0.003649, allocations: 12.8 kB / 0.5216 GB, free: 420 kB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.00365, allocations: 0 / 0.5216 GB, free: 420 kB / 490.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.2e-05/0.003702, allocations: 31.52 kB / 0.5216 GB, free: 384 kB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.373e-05/0.003716, allocations: 6.5 kB / 0.5216 GB, free: 380 kB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.587e-06/0.00372, allocations: 4 kB / 0.5216 GB, free: 376 kB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.71e-05/0.003737, allocations: 0 / 0.5216 GB, free: 376 kB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.535e-05/0.003782, allocations: 0 / 0.5216 GB, free: 376 kB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.466e-06/0.003786, allocations: 1.656 kB / 0.5216 GB, free: 376 kB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.9e-05/0.003805, allocations: 11.92 kB / 0.5216 GB, free: 364 kB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.216e-06/0.003808, allocations: 0 / 0.5216 GB, free: 364 kB / 490.7 MB 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 8.214e-05/0.00389, allocations: 109.8 kB / 0.5217 GB, free: 244 kB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.4e-06/0.003895, allocations: 0.75 kB / 0.5217 GB, free: 244 kB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.397e-05/0.003909, allocations: 3 kB / 0.5217 GB, free: 240 kB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.82e-07/0.00391, allocations: 1.406 kB / 0.5217 GB, free: 240 kB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/0.003916, allocations: 4 kB / 0.5217 GB, free: 236 kB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/0.00392, allocations: 4 kB / 0.5217 GB, free: 232 kB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.504e-05/0.004015, allocations: 102.2 kB / 0.5218 GB, free: 100 kB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.22e-07/0.004016, allocations: 0 / 0.5218 GB, free: 100 kB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.204e-05/0.004028, allocations: 7.922 kB / 0.5218 GB, free: 92 kB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.352e-06/0.00403, allocations: 0.9375 kB / 0.5218 GB, free: 92 kB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.653e-06/0.004036, allocations: 7.984 kB / 0.5219 GB, free: 84 kB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.92e-07/0.004037, allocations: 0 / 0.5219 GB, free: 84 kB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.004038, allocations: 3.125 kB / 0.5219 GB, free: 84 kB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.245e-05/0.00412, allocations: 61.08 kB / 0.5219 GB, free: 4 kB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.376e-06/0.004124, allocations: 0 / 0.5219 GB, free: 4 kB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.295e-06/0.004132, allocations: 0 / 0.5219 GB, free: 4 kB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.072e-06/0.004138, allocations: 0 / 0.5219 GB, free: 4 kB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.237e-05/0.00415, allocations: 3.984 kB / 0.5219 GB, free: 0 / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.102e-06/0.004151, allocations: 0 / 0.5219 GB, free: 0 / 490.7 MB Notification: Performance of sorting global known variables: time 4.129e-05/0.004193, allocations: 79.33 kB / 0.522 GB, free: 15.92 MB / 0.4948 GB Notification: Performance of sort global known variables: time 7.1e-08/0.004193, allocations: 2.781 kB / 0.522 GB, free: 15.92 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001787/0.004372, allocations: 0 / 0.522 GB, free: 15.92 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 0.0001096/0.004481, allocations: 99.12 kB / 0.5221 GB, free: 15.81 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 6.536e-05/0.004546, allocations: 8 kB / 0.5221 GB, free: 15.8 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.373e-06/0.004548, allocations: 0 / 0.5221 GB, free: 15.8 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 4.869e-06/0.004553, allocations: 1.281 kB / 0.5221 GB, free: 15.8 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001343/0.004687, allocations: 4 kB / 0.5221 GB, free: 15.8 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002287/0.004916, allocations: 78.23 kB / 0.5222 GB, free: 15.7 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.738e-05/0.004973, allocations: 56.92 kB / 0.5222 GB, free: 15.62 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 9.848e-06/0.004983, allocations: 0 / 0.5222 GB, free: 15.62 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.248e-05/0.005005, allocations: 8.5 kB / 0.5222 GB, free: 15.62 MB / 0.4948 GB Notification: Performance of SimCode: time 3.3e-07/0.005006, allocations: 0 / 0.5222 GB, free: 15.62 MB / 0.4948 GB Notification: Performance of Templates: time 0.002193/0.007199, allocations: 191.2 kB / 0.5224 GB, free: 15.44 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Utilities.Time.Examples.ModelTime.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Utilities.Time.Examples.ModelTime.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Time.Examples.ModelTime.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Time.Examples.ModelTime.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Time.Examples.ModelTime.sim & ./IDEAS_dev_IDEAS.Utilities.Time.Examples.ModelTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Time.Examples.ModelTime.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.8193102680379525]