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.001096/0.001096, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.001167/0.001167, allocations: 173 kB / 23.49 MB, free: 1.059 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.041/1.041, allocations: 177.1 MB / 203.8 MB, free: 5.645 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.7622/0.7622, allocations: 154.8 MB / 415.1 MB, free: 0.4922 MB / 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.834e-06/1.834e-06, allocations: 0 / 0.5205 GB, free: 2.332 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.419e-05/3.603e-05, allocations: 5.703 kB / 0.5205 GB, free: 2.328 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Examples.ModelTime): time 0.00164/0.001676, allocations: 0.596 MB / 0.5211 GB, free: 1.75 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 5.281e-05/0.001729, allocations: 4.875 kB / 0.5211 GB, free: 1.746 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.142e-05/0.001751, allocations: 0 / 0.5211 GB, free: 1.746 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 2.935e-05/0.00178, allocations: 1.547 kB / 0.5211 GB, free: 1.746 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 8.376e-06/0.001788, allocations: 3.938 kB / 0.5211 GB, free: 1.742 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 3.871e-05/0.001827, allocations: 0.9375 kB / 0.5211 GB, free: 1.742 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 5.443e-05/0.001881, allocations: 0 / 0.5211 GB, free: 1.742 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.768e-05/0.001929, allocations: 9.594 kB / 0.5211 GB, free: 1.734 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.39e-05/0.001963, allocations: 0 / 0.5211 GB, free: 1.734 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.465e-05/0.001988, allocations: 0.6562 kB / 0.5211 GB, free: 1.734 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 2.055e-05/0.002008, allocations: 0 / 0.5211 GB, free: 1.734 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.459e-06/0.002013, allocations: 0 / 0.5211 GB, free: 1.734 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.433e-05/0.002027, allocations: 0.9688 kB / 0.5211 GB, free: 1.734 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 1.969e-05/0.002047, allocations: 0.7656 kB / 0.5211 GB, free: 1.734 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 6.318e-05/0.00211, allocations: 2.031 kB / 0.5211 GB, free: 1.734 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.444e-06/0.002112, allocations: 4 kB / 0.5211 GB, free: 1.73 MB / 490.7 MB Notification: Performance of FrontEnd: time 9.42e-07/0.002113, allocations: 0 / 0.5211 GB, free: 1.73 MB / 490.7 MB Notification: Performance of Transformations before backend: time 5.32e-06/0.002119, allocations: 0 / 0.5211 GB, free: 1.73 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.0002577/0.002376, allocations: 340.4 kB / 0.5215 GB, free: 1.359 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.059e-05/0.002417, allocations: 8.031 kB / 0.5215 GB, free: 1.352 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.318e-05/0.00245, allocations: 1.688 kB / 0.5215 GB, free: 1.352 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.821e-05/0.002518, allocations: 108.6 kB / 0.5216 GB, free: 1.219 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.207e-05/0.00253, allocations: 5.094 kB / 0.5216 GB, free: 1.215 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.636e-06/0.002539, allocations: 384 / 0.5216 GB, free: 1.215 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.822e-05/0.002617, allocations: 30.81 kB / 0.5216 GB, free: 1.18 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.713e-06/0.002624, allocations: 0.9062 kB / 0.5216 GB, free: 1.18 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.606e-06/0.002632, allocations: 4.312 kB / 0.5216 GB, free: 1.176 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.594e-06/0.00264, allocations: 1.812 kB / 0.5216 GB, free: 1.176 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.317e-05/0.002653, allocations: 7.938 kB / 0.5216 GB, free: 1.168 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001011/0.002754, allocations: 108.6 kB / 0.5217 GB, free: 1.027 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.257e-05/0.002797, allocations: 27.88 kB / 0.5218 GB, free: 0.9883 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.59e-05/0.002823, allocations: 11.69 kB / 0.5218 GB, free: 0.9727 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.161e-06/0.002829, allocations: 0.7812 kB / 0.5218 GB, free: 0.9727 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.123e-05/0.00285, allocations: 37.45 kB / 0.5218 GB, free: 0.9258 MB / 490.7 MB Notification: Performance of pre-optimization done (n=1): time 8.22e-07/0.002851, allocations: 3.125 kB / 0.5218 GB, free: 0.9258 MB / 490.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001216/0.002973, allocations: 37.62 kB / 0.5218 GB, free: 0.8828 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.958e-05/0.003002, allocations: 51.41 kB / 0.5219 GB, free: 0.8203 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.393e-05/0.003046, allocations: 142.2 kB / 0.522 GB, free: 0.668 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 9.548e-06/0.003056, allocations: 25.7 kB / 0.5221 GB, free: 0.6367 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.205e-05/0.003088, allocations: 126.9 kB / 0.5222 GB, free: 0.5078 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.391e-05/0.003122, allocations: 4 kB / 0.5222 GB, free: 0.5039 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.733e-05/0.003149, allocations: 19.88 kB / 0.5222 GB, free: 488 kB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.000135/0.003284, allocations: 497.1 kB / 0.5227 GB, free: 15.98 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.197e-05/0.003296, allocations: 4 kB / 0.5227 GB, free: 15.98 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.039e-06/0.003301, allocations: 0 / 0.5227 GB, free: 15.98 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.489e-05/0.003336, allocations: 12.22 kB / 0.5227 GB, free: 15.96 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.083e-06/0.003338, allocations: 4.969 kB / 0.5227 GB, free: 15.96 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.76e-05/0.003385, allocations: 33.69 kB / 0.5227 GB, free: 15.92 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.674e-05/0.003402, allocations: 4.969 kB / 0.5227 GB, free: 15.91 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.001e-06/0.003408, allocations: 0 / 0.5227 GB, free: 15.91 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.457e-05/0.003423, allocations: 1.031 kB / 0.5227 GB, free: 15.91 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.596e-05/0.003479, allocations: 4 kB / 0.5227 GB, free: 15.91 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.57e-06/0.003484, allocations: 0 / 0.5227 GB, free: 15.91 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.227e-06/0.003494, allocations: 5.156 kB / 0.5227 GB, free: 15.91 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.53e-06/0.003499, allocations: 7.938 kB / 0.5227 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 6.787e-05/0.003567, allocations: 156.6 kB / 0.5229 GB, free: 15.73 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.359e-06/0.003571, allocations: 4.969 kB / 0.5229 GB, free: 15.73 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.659e-05/0.003588, allocations: 4.625 kB / 0.5229 GB, free: 15.73 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.352e-06/0.003589, allocations: 0 / 0.5229 GB, free: 15.73 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.286e-06/0.003593, allocations: 0 / 0.5229 GB, free: 15.73 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.003596, allocations: 3.984 kB / 0.5229 GB, free: 15.72 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.666e-05/0.003653, allocations: 112.6 kB / 0.523 GB, free: 15.58 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.764e-06/0.003655, allocations: 5.188 kB / 0.523 GB, free: 15.57 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.552e-06/0.003661, allocations: 3.938 kB / 0.523 GB, free: 15.57 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.343e-06/0.003663, allocations: 0 / 0.523 GB, free: 15.57 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.5e-06/0.003668, allocations: 0.8125 kB / 0.523 GB, free: 15.57 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.21e-07/0.003669, allocations: 0 / 0.523 GB, free: 15.57 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.00367, allocations: 1.188 kB / 0.523 GB, free: 15.57 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.005e-05/0.00374, allocations: 80.33 kB / 0.5231 GB, free: 15.47 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 4.859e-06/0.003744, allocations: 0 / 0.5231 GB, free: 15.47 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.104e-05/0.003756, allocations: 4.719 kB / 0.5231 GB, free: 15.46 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.296e-06/0.003759, allocations: 0 / 0.5231 GB, free: 15.46 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.325e-05/0.003772, allocations: 0.625 kB / 0.5231 GB, free: 15.46 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.863e-06/0.003774, allocations: 1.781 kB / 0.5231 GB, free: 15.46 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 3.465e-05/0.003809, allocations: 119.2 kB / 0.5232 GB, free: 15.35 MB / 0.4948 GB Notification: Performance of sort global known variables: time 4e-08/0.003809, allocations: 0 / 0.5232 GB, free: 15.35 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001093/0.003918, allocations: 0 / 0.5232 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 8.732e-05/0.004005, allocations: 96.72 kB / 0.5233 GB, free: 15.25 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 7.738e-05/0.004083, allocations: 19.61 kB / 0.5233 GB, free: 15.22 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.004084, allocations: 0 / 0.5233 GB, free: 15.22 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 7.374e-06/0.004092, allocations: 14.44 kB / 0.5233 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.0001048/0.004197, allocations: 10.05 kB / 0.5234 GB, free: 15.2 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001945/0.004391, allocations: 87.89 kB / 0.5234 GB, free: 15.08 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.249e-05/0.004424, allocations: 51.36 kB / 0.5235 GB, free: 15.01 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 1.115e-05/0.004435, allocations: 0 / 0.5235 GB, free: 15.01 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.764e-05/0.004452, allocations: 8.5 kB / 0.5235 GB, free: 15 MB / 0.4948 GB Notification: Performance of SimCode: time 7.72e-07/0.004453, allocations: 2.125 kB / 0.5235 GB, free: 15 MB / 0.4948 GB Notification: Performance of Templates: time 0.001563/0.006016, allocations: 190 kB / 0.5237 GB, free: 14.82 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.833251521922648]