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.001972/0.001972, allocations: 85.48 kB / 19.44 MB, free: 344 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.002061/0.002061, allocations: 173.2 kB / 22.76 MB, free: 1.664 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.598/1.598, allocations: 177.1 MB / 203.1 MB, free: 5.617 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.416/1.416, 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.573e-06/1.573e-06, allocations: 0 / 0.5198 GB, free: 2.34 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.736e-05/2.893e-05, allocations: 3.312 kB / 0.5198 GB, free: 2.336 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Examples.ModelTime): time 0.001746/0.001775, allocations: 0.5987 MB / 0.5204 GB, free: 1.758 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 4.626e-05/0.001821, allocations: 7.984 kB / 0.5204 GB, free: 1.75 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.677e-05/0.001838, allocations: 0 / 0.5204 GB, free: 1.75 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 2.275e-05/0.001861, allocations: 3.312 kB / 0.5204 GB, free: 1.75 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 6.172e-06/0.001867, allocations: 0 / 0.5204 GB, free: 1.75 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 4.905e-05/0.001916, allocations: 4 kB / 0.5204 GB, free: 1.746 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 5.792e-05/0.001974, allocations: 0 / 0.5204 GB, free: 1.746 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.511e-05/0.002019, allocations: 7.984 kB / 0.5204 GB, free: 1.738 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.324e-05/0.002052, allocations: 0.875 kB / 0.5204 GB, free: 1.738 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.395e-05/0.002076, allocations: 0 / 0.5204 GB, free: 1.738 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.436e-05/0.002091, allocations: 0.5938 kB / 0.5204 GB, free: 1.738 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.798e-06/0.002095, allocations: 0.5 kB / 0.5204 GB, free: 1.738 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.256e-05/0.002107, allocations: 0 / 0.5204 GB, free: 1.738 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 1.713e-05/0.002124, allocations: 1.594 kB / 0.5204 GB, free: 1.738 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 5.073e-05/0.002175, allocations: 1.094 kB / 0.5204 GB, free: 1.738 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.541e-06/0.002181, allocations: 4 kB / 0.5204 GB, free: 1.734 MB / 490.7 MB Notification: Performance of FrontEnd: time 6.61e-07/0.002181, allocations: 0 / 0.5204 GB, free: 1.734 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.358e-06/0.002186, allocations: 0.6875 kB / 0.5204 GB, free: 1.734 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.0003889/0.002574, allocations: 340.4 kB / 0.5208 GB, free: 1.363 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.072e-05/0.002615, allocations: 8.531 kB / 0.5208 GB, free: 1.355 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.594e-05/0.002651, allocations: 2 kB / 0.5208 GB, free: 1.355 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001027/0.002754, allocations: 108.6 kB / 0.5209 GB, free: 1.223 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.535e-05/0.002769, allocations: 9.281 kB / 0.5209 GB, free: 1.215 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.785e-06/0.002777, allocations: 384 / 0.5209 GB, free: 1.215 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.467e-05/0.002872, allocations: 26.27 kB / 0.5209 GB, free: 1.184 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.734e-06/0.002879, allocations: 1.938 kB / 0.5209 GB, free: 1.184 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.554e-06/0.002887, allocations: 384 / 0.5209 GB, free: 1.184 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.536e-06/0.00289, allocations: 384 / 0.5209 GB, free: 1.184 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.051e-05/0.002911, allocations: 7.938 kB / 0.5209 GB, free: 1.176 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001546/0.003066, allocations: 109.2 kB / 0.521 GB, free: 1.035 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.684e-05/0.003152, allocations: 35.02 kB / 0.521 GB, free: 0.9883 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.078e-05/0.003183, allocations: 9.219 kB / 0.5211 GB, free: 0.9766 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.359e-05/0.003197, allocations: 4.062 kB / 0.5211 GB, free: 0.9727 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.409e-05/0.003231, allocations: 33.39 kB / 0.5211 GB, free: 0.9297 MB / 490.7 MB Notification: Performance of pre-optimization done (n=1): time 7.02e-07/0.003232, allocations: 0.9688 kB / 0.5211 GB, free: 0.9297 MB / 490.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001484/0.00338, allocations: 33.7 kB / 0.5211 GB, free: 0.8906 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.333e-05/0.003433, allocations: 55.97 kB / 0.5212 GB, free: 0.8242 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.453e-05/0.003528, allocations: 143.5 kB / 0.5213 GB, free: 0.6719 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.847e-05/0.003546, allocations: 29.7 kB / 0.5213 GB, free: 0.6367 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.556e-05/0.003622, allocations: 126.9 kB / 0.5215 GB, free: 0.5078 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.878e-05/0.003651, allocations: 0 / 0.5215 GB, free: 0.5078 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.15e-05/0.003682, allocations: 16.09 kB / 0.5215 GB, free: 496 kB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0004296/0.004112, allocations: 0.4922 MB / 0.522 GB, free: 15.98 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.185e-05/0.004123, allocations: 5.594 kB / 0.522 GB, free: 15.98 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.028e-06/0.004127, allocations: 0 / 0.522 GB, free: 15.98 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.934e-05/0.004157, allocations: 11.69 kB / 0.522 GB, free: 15.96 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.004159, allocations: 0.5 kB / 0.522 GB, free: 15.96 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.207e-05/0.004211, allocations: 31.2 kB / 0.522 GB, free: 15.93 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.62e-05/0.004227, allocations: 8 kB / 0.522 GB, free: 15.92 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.067e-06/0.004231, allocations: 3.938 kB / 0.522 GB, free: 15.91 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.566e-05/0.004247, allocations: 0.75 kB / 0.522 GB, free: 15.91 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.455e-05/0.004302, allocations: 0 / 0.522 GB, free: 15.91 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.689e-06/0.004306, allocations: 0 / 0.522 GB, free: 15.91 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.58e-05/0.004322, allocations: 13.02 kB / 0.522 GB, free: 15.9 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.329e-06/0.004326, allocations: 0 / 0.522 GB, free: 15.9 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 0.000116/0.004442, allocations: 157.7 kB / 0.5222 GB, free: 15.74 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.22e-06/0.004448, allocations: 0 / 0.5222 GB, free: 15.74 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.838e-05/0.004466, allocations: 3 kB / 0.5222 GB, free: 15.73 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.647e-06/0.00447, allocations: 10.34 kB / 0.5222 GB, free: 15.73 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.475e-06/0.004478, allocations: 3.984 kB / 0.5222 GB, free: 15.72 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.085e-06/0.004481, allocations: 0 / 0.5222 GB, free: 15.72 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001027/0.004584, allocations: 108.6 kB / 0.5223 GB, free: 15.58 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.004585, allocations: 0 / 0.5223 GB, free: 15.58 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.342e-05/0.004598, allocations: 8 kB / 0.5223 GB, free: 15.57 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.937e-06/0.004602, allocations: 3.984 kB / 0.5223 GB, free: 15.57 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.101e-06/0.004608, allocations: 1.594 kB / 0.5223 GB, free: 15.57 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.004609, allocations: 0 / 0.5223 GB, free: 15.57 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.00461, allocations: 0 / 0.5223 GB, free: 15.57 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.445e-05/0.004705, allocations: 76.89 kB / 0.5224 GB, free: 15.47 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 3.567e-06/0.004708, allocations: 0 / 0.5224 GB, free: 15.47 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.826e-06/0.004717, allocations: 1 kB / 0.5224 GB, free: 15.47 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.472e-06/0.004723, allocations: 0 / 0.5224 GB, free: 15.47 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.996e-05/0.004743, allocations: 7.984 kB / 0.5224 GB, free: 15.46 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.192e-06/0.004745, allocations: 1.094 kB / 0.5224 GB, free: 15.46 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 6.064e-05/0.004805, allocations: 119.2 kB / 0.5225 GB, free: 15.35 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6e-08/0.004805, allocations: 0 / 0.5225 GB, free: 15.35 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002006/0.005006, allocations: 0.9062 kB / 0.5225 GB, free: 15.35 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.0001077/0.005114, allocations: 96.31 kB / 0.5226 GB, free: 15.25 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 7.681e-05/0.00519, allocations: 11.69 kB / 0.5226 GB, free: 15.23 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.005192, allocations: 0.625 kB / 0.5226 GB, free: 15.23 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 2.214e-05/0.005214, allocations: 22.38 kB / 0.5226 GB, free: 15.21 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001202/0.005334, allocations: 2.5 kB / 0.5226 GB, free: 15.21 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002157/0.00555, allocations: 87.94 kB / 0.5227 GB, free: 15.09 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.193e-05/0.005602, allocations: 51.36 kB / 0.5228 GB, free: 15.02 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 1.007e-05/0.005612, allocations: 0 / 0.5228 GB, free: 15.02 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.224e-05/0.005634, allocations: 12.5 kB / 0.5228 GB, free: 15.01 MB / 0.4948 GB Notification: Performance of SimCode: time 4.2e-07/0.005635, allocations: 3.031 kB / 0.5228 GB, free: 15.01 MB / 0.4948 GB Notification: Performance of Templates: time 0.002367/0.008002, allocations: 184 kB / 0.523 GB, free: 14.83 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=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Time.Examples.ModelTime.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.1824506090488285]