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.0009398/0.0009398, allocations: 92.22 kB / 19.65 MB, free: 276 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.001006/0.001006, allocations: 173 kB / 23.03 MB, free: 1.543 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 0.9845/0.9845, allocations: 177.1 MB / 203.4 MB, free: 5.637 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.7836/0.7836, allocations: 154.9 MB / 414.8 MB, free: 424 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.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.342e-06/1.342e-06, allocations: 0 / 0.5206 GB, free: 1.898 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.682e-05/1.816e-05, allocations: 4 kB / 0.5206 GB, free: 1.895 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Examples.ModelTime): time 0.001084/0.001102, allocations: 0.6096 MB / 0.5212 GB, free: 1.305 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 4.159e-05/0.001144, allocations: 0 / 0.5212 GB, free: 1.305 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.538e-05/0.001159, allocations: 0 / 0.5212 GB, free: 1.305 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 3.014e-05/0.001189, allocations: 7.938 kB / 0.5212 GB, free: 1.297 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 5.691e-06/0.001195, allocations: 0 / 0.5212 GB, free: 1.297 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 3.247e-05/0.001227, allocations: 0 / 0.5212 GB, free: 1.297 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 5.924e-05/0.001287, allocations: 0.875 kB / 0.5212 GB, free: 1.297 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.794e-05/0.001325, allocations: 4.484 kB / 0.5212 GB, free: 1.293 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.778e-05/0.001352, allocations: 0 / 0.5212 GB, free: 1.293 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.041e-05/0.001373, allocations: 4.906 kB / 0.5213 GB, free: 1.289 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.572e-05/0.001389, allocations: 0 / 0.5213 GB, free: 1.289 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.847e-06/0.001392, allocations: 0.6875 kB / 0.5213 GB, free: 1.289 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.34e-05/0.001406, allocations: 4.656 kB / 0.5213 GB, free: 1.285 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 1.587e-05/0.001422, allocations: 0.9688 kB / 0.5213 GB, free: 1.285 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 5.029e-05/0.001472, allocations: 0.7656 kB / 0.5213 GB, free: 1.285 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.823e-06/0.001474, allocations: 0 / 0.5213 GB, free: 1.285 MB / 490.7 MB Notification: Performance of FrontEnd: time 3.2e-07/0.001474, allocations: 0.9688 kB / 0.5213 GB, free: 1.285 MB / 490.7 MB Notification: Performance of Transformations before backend: time 3.537e-06/0.001478, allocations: 0 / 0.5213 GB, free: 1.285 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.0002201/0.001698, allocations: 333.2 kB / 0.5216 GB, free: 0.9219 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.717e-05/0.001735, allocations: 16.02 kB / 0.5216 GB, free: 0.9062 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.102e-05/0.001766, allocations: 1.906 kB / 0.5216 GB, free: 0.9062 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.443e-05/0.00182, allocations: 108.6 kB / 0.5217 GB, free: 0.7734 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.09e-05/0.001831, allocations: 384 / 0.5217 GB, free: 0.7734 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.746e-06/0.00184, allocations: 6.125 kB / 0.5217 GB, free: 0.7695 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.567e-05/0.001916, allocations: 34.2 kB / 0.5217 GB, free: 0.7305 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.823e-06/0.001923, allocations: 192 / 0.5217 GB, free: 0.7305 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.135e-06/0.001931, allocations: 384 / 0.5217 GB, free: 0.7305 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.205e-06/0.001939, allocations: 384 / 0.5217 GB, free: 0.7305 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.105e-05/0.00195, allocations: 4.969 kB / 0.5217 GB, free: 0.7266 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.32e-05/0.002033, allocations: 108.6 kB / 0.5218 GB, free: 0.5859 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.452e-05/0.002068, allocations: 24.28 kB / 0.5219 GB, free: 0.5508 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.203e-05/0.00209, allocations: 15.77 kB / 0.5219 GB, free: 0.5312 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.472e-06/0.002096, allocations: 0.625 kB / 0.5219 GB, free: 0.5312 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.81e-05/0.002114, allocations: 37.39 kB / 0.5219 GB, free: 496 kB / 490.7 MB Notification: Performance of pre-optimization done (n=1): time 5.41e-07/0.002115, allocations: 5.562 kB / 0.5219 GB, free: 492 kB / 490.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001024/0.002217, allocations: 33.7 kB / 0.522 GB, free: 452 kB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.722e-05/0.002244, allocations: 51.41 kB / 0.522 GB, free: 388 kB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.144e-05/0.002276, allocations: 142.2 kB / 0.5221 GB, free: 232 kB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 6.863e-06/0.002283, allocations: 26.8 kB / 0.5222 GB, free: 200 kB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.45e-05/0.002307, allocations: 126.9 kB / 0.5223 GB, free: 68 kB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.418e-05/0.002331, allocations: 0.8125 kB / 0.5223 GB, free: 68 kB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.952e-05/0.002351, allocations: 19.38 kB / 0.5223 GB, free: 40 kB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001111/0.002462, allocations: 0.4922 MB / 0.5228 GB, free: 15.54 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.925e-06/0.00247, allocations: 1.281 kB / 0.5228 GB, free: 15.54 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.768e-06/0.002474, allocations: 0 / 0.5228 GB, free: 15.54 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.493e-05/0.002499, allocations: 16.34 kB / 0.5228 GB, free: 15.52 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.0025, allocations: 0 / 0.5228 GB, free: 15.52 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1) (initialization): time 3.059e-05/0.002531, allocations: 30.3 kB / 0.5228 GB, free: 15.48 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.252e-05/0.002543, allocations: 8.938 kB / 0.5228 GB, free: 15.47 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.878e-06/0.002547, allocations: 0 / 0.5228 GB, free: 15.47 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.099e-05/0.002558, allocations: 0.5312 kB / 0.5228 GB, free: 15.47 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.799e-05/0.002606, allocations: 0 / 0.5228 GB, free: 15.47 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.479e-06/0.002611, allocations: 0.5625 kB / 0.5228 GB, free: 15.47 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.716e-06/0.00262, allocations: 12.72 kB / 0.5229 GB, free: 15.46 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.082e-06/0.002626, allocations: 7.969 kB / 0.5229 GB, free: 15.45 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.477e-05/0.00268, allocations: 159.7 kB / 0.523 GB, free: 15.29 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.026e-06/0.002683, allocations: 0 / 0.523 GB, free: 15.29 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.663e-05/0.0027, allocations: 6.938 kB / 0.523 GB, free: 15.28 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.943e-06/0.002702, allocations: 4 kB / 0.523 GB, free: 15.28 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.026e-06/0.002705, allocations: 0 / 0.523 GB, free: 15.28 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.823e-06/0.002707, allocations: 0 / 0.523 GB, free: 15.28 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.148e-05/0.002748, allocations: 112.9 kB / 0.5231 GB, free: 15.13 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.92e-07/0.002749, allocations: 0 / 0.5231 GB, free: 15.13 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.25e-06/0.002754, allocations: 4.969 kB / 0.5231 GB, free: 15.13 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.092e-06/0.002755, allocations: 0 / 0.5231 GB, free: 15.13 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.131e-06/0.002761, allocations: 3.984 kB / 0.5231 GB, free: 15.12 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.72e-07/0.002762, allocations: 1.688 kB / 0.5231 GB, free: 15.12 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.002763, allocations: 0 / 0.5231 GB, free: 15.12 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.674e-05/0.00281, allocations: 76.38 kB / 0.5232 GB, free: 15.03 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 3.637e-06/0.002813, allocations: 3.953 kB / 0.5232 GB, free: 15.02 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.633e-06/0.00282, allocations: 1.438 kB / 0.5232 GB, free: 15.02 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.056e-06/0.002823, allocations: 0 / 0.5232 GB, free: 15.02 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.266e-05/0.002836, allocations: 3.984 kB / 0.5232 GB, free: 15.02 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.002e-06/0.002837, allocations: 4 kB / 0.5232 GB, free: 15.02 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 2.388e-05/0.00286, allocations: 121.9 kB / 0.5233 GB, free: 14.9 MB / 0.4948 GB Notification: Performance of sort global known variables: time 4e-08/0.002861, allocations: 0 / 0.5233 GB, free: 14.9 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001019/0.002962, allocations: 0 / 0.5233 GB, free: 14.9 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 6.632e-05/0.003029, allocations: 99.12 kB / 0.5234 GB, free: 14.79 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 7.14e-05/0.0031, allocations: 11.69 kB / 0.5235 GB, free: 14.78 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.003102, allocations: 2.219 kB / 0.5235 GB, free: 14.78 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 5.28e-06/0.003107, allocations: 7.688 kB / 0.5235 GB, free: 14.77 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.621e-05/0.003193, allocations: 4 kB / 0.5235 GB, free: 14.76 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001634/0.003357, allocations: 87.92 kB / 0.5236 GB, free: 14.64 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.639e-05/0.003383, allocations: 55.36 kB / 0.5236 GB, free: 14.57 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 1.097e-05/0.003394, allocations: 0.8438 kB / 0.5236 GB, free: 14.57 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.652e-05/0.003411, allocations: 8.5 kB / 0.5236 GB, free: 14.56 MB / 0.4948 GB Notification: Performance of SimCode: time 3.3e-07/0.003411, allocations: 0.8125 kB / 0.5236 GB, free: 14.56 MB / 0.4948 GB Notification: Performance of Templates: time 0.001392/0.004803, allocations: 194.4 kB / 0.5238 GB, free: 14.39 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: 3.7062653019092977]