Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Annex60_1.0.0_Annex60.Utilities.Time.Examples.ModelTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001336/0.001336, allocations: 109 kB / 17.54 MB, free: 4.781 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001425/0.001425, allocations: 189.9 kB / 20.71 MB, free: 1.625 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.589/1.589, allocations: 207.6 MB / 231.3 MB, free: 3.223 MB / 174.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4402/0.4402, allocations: 55.7 MB / 339.1 MB, free: 12 MB / 270.1 MB " [Timeout remaining time 179] Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Annex60.Utilities.Time.Examples.ModelTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Utilities.Time.Examples.ModelTime") translateModel(Annex60.Utilities.Time.Examples.ModelTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Utilities.Time.Examples.ModelTime") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Annex60 requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002261/0.002261, allocations: 72.12 kB / 479.8 MB, free: 36.57 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1645/0.1667, allocations: 62.85 MB / 0.53 GB, free: 11.68 MB / 398.1 MB Notification: Performance of NFInst.instantiate(Annex60.Utilities.Time.Examples.ModelTime): time 0.002513/0.1692, allocations: 0.6002 MB / 0.5305 GB, free: 11.09 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 6.509e-05/0.1693, allocations: 12.33 kB / 0.5306 GB, free: 11.07 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.783e-05/0.1693, allocations: 0 / 0.5306 GB, free: 11.07 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 4.233e-05/0.1694, allocations: 0 / 0.5306 GB, free: 11.07 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 9.968e-06/0.1694, allocations: 0 / 0.5306 GB, free: 11.07 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.622e-05/0.1694, allocations: 0 / 0.5306 GB, free: 11.07 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 7.967e-05/0.1695, allocations: 4 kB / 0.5306 GB, free: 11.07 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.056e-05/0.1696, allocations: 11.94 kB / 0.5306 GB, free: 11.06 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.558e-05/0.1696, allocations: 3.938 kB / 0.5306 GB, free: 11.05 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.195e-05/0.1697, allocations: 0 / 0.5306 GB, free: 11.05 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.744e-05/0.1697, allocations: 0 / 0.5306 GB, free: 11.05 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.92e-06/0.1697, allocations: 0 / 0.5306 GB, free: 11.05 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 2.295e-05/0.1697, allocations: 3.984 kB / 0.5306 GB, free: 11.05 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.361e-05/0.1697, allocations: 0 / 0.5306 GB, free: 11.05 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 8.548e-05/0.1698, allocations: 3.938 kB / 0.5306 GB, free: 11.05 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.033e-06/0.1698, allocations: 0 / 0.5306 GB, free: 11.05 MB / 398.1 MB Notification: Performance of FrontEnd: time 4.017e-06/0.1698, allocations: 0 / 0.5306 GB, free: 11.05 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.568e-06/0.1698, allocations: 8 kB / 0.5306 GB, free: 11.04 MB / 398.1 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.000472/0.1703, allocations: 307.5 kB / 0.5309 GB, free: 10.69 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.492e-05/0.1704, allocations: 12.06 kB / 0.5309 GB, free: 10.68 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.807e-05/0.1704, allocations: 0.9375 kB / 0.5309 GB, free: 10.68 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001766/0.1706, allocations: 164.4 kB / 0.5311 GB, free: 10.48 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.721e-05/0.1706, allocations: 384 / 0.5311 GB, free: 10.48 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.042e-05/0.1706, allocations: 384 / 0.5311 GB, free: 10.48 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001332/0.1707, allocations: 34.2 kB / 0.5311 GB, free: 10.44 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.111e-05/0.1708, allocations: 192 / 0.5311 GB, free: 10.44 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.303e-05/0.1708, allocations: 7.938 kB / 0.5311 GB, free: 10.43 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.212e-06/0.1708, allocations: 0 / 0.5311 GB, free: 10.43 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.208e-05/0.1708, allocations: 0 / 0.5311 GB, free: 10.43 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002206/0.171, allocations: 149.6 kB / 0.5312 GB, free: 10.23 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.888e-05/0.1711, allocations: 26.61 kB / 0.5313 GB, free: 10.2 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.359e-05/0.1711, allocations: 4.859 kB / 0.5313 GB, free: 10.19 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.582e-05/0.1711, allocations: 7.984 kB / 0.5313 GB, free: 10.18 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.617e-05/0.1712, allocations: 38.56 kB / 0.5313 GB, free: 10.14 MB / 398.1 MB Notification: Performance of pre-optimization done (n=1): time 1.022e-06/0.1712, allocations: 0 / 0.5313 GB, free: 10.14 MB / 398.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001641/0.1713, allocations: 41.58 kB / 0.5314 GB, free: 10.09 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.78e-05/0.1714, allocations: 51.41 kB / 0.5314 GB, free: 10.03 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.591e-05/0.1715, allocations: 89.86 kB / 0.5315 GB, free: 9.93 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.399e-05/0.1715, allocations: 29.7 kB / 0.5315 GB, free: 9.895 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.817e-05/0.1715, allocations: 80.14 kB / 0.5316 GB, free: 9.812 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.812e-05/0.1716, allocations: 4 kB / 0.5316 GB, free: 9.809 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.602e-05/0.1716, allocations: 13.84 kB / 0.5316 GB, free: 9.789 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001676/0.1718, allocations: 310.8 kB / 0.5319 GB, free: 9.477 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.093e-05/0.1718, allocations: 0 / 0.5319 GB, free: 9.477 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.076e-05/0.1718, allocations: 7.938 kB / 0.5319 GB, free: 9.469 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.745e-05/0.1718, allocations: 8.859 kB / 0.5319 GB, free: 9.457 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.1718, allocations: 0 / 0.5319 GB, free: 9.457 MB / 398.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.416e-05/0.1719, allocations: 41.69 kB / 0.532 GB, free: 9.41 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.944e-05/0.1719, allocations: 8.094 kB / 0.532 GB, free: 9.402 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.1719, allocations: 0 / 0.532 GB, free: 9.402 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.179e-05/0.1719, allocations: 7.875 kB / 0.532 GB, free: 9.395 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.618e-05/0.172, allocations: 4 kB / 0.532 GB, free: 9.391 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.113e-06/0.172, allocations: 0 / 0.532 GB, free: 9.391 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.046e-05/0.172, allocations: 0 / 0.532 GB, free: 9.391 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.951e-06/0.172, allocations: 0 / 0.532 GB, free: 9.391 MB / 398.1 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 0.0001005/0.1721, allocations: 105.8 kB / 0.5321 GB, free: 9.277 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.3e-06/0.1721, allocations: 3.938 kB / 0.5321 GB, free: 9.273 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.832e-05/0.1722, allocations: 15.06 kB / 0.5321 GB, free: 9.258 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.02e-07/0.1722, allocations: 0 / 0.5321 GB, free: 9.258 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.1722, allocations: 0 / 0.5321 GB, free: 9.258 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.638e-06/0.1722, allocations: 3.984 kB / 0.5321 GB, free: 9.254 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001452/0.1723, allocations: 145.7 kB / 0.5322 GB, free: 9.062 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.51e-07/0.1723, allocations: 0 / 0.5322 GB, free: 9.062 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.097e-05/0.1723, allocations: 4 kB / 0.5322 GB, free: 9.059 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.122e-06/0.1723, allocations: 0 / 0.5322 GB, free: 9.059 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.248e-06/0.1723, allocations: 7.875 kB / 0.5323 GB, free: 9.051 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.91e-07/0.1723, allocations: 0 / 0.5323 GB, free: 9.051 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.1723, allocations: 0 / 0.5323 GB, free: 9.051 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.159e-05/0.1724, allocations: 61.12 kB / 0.5323 GB, free: 8.973 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.155e-05/0.1725, allocations: 81.11 kB / 0.5324 GB, free: 8.875 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.292e-05/0.1725, allocations: 3.938 kB / 0.5324 GB, free: 8.871 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.444e-06/0.1725, allocations: 0 / 0.5324 GB, free: 8.871 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.192e-05/0.1725, allocations: 0 / 0.5324 GB, free: 8.871 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.153e-06/0.1725, allocations: 0 / 0.5324 GB, free: 8.871 MB / 398.1 MB Notification: Performance of sorting global known variables: time 5.462e-05/0.1726, allocations: 79.22 kB / 0.5325 GB, free: 8.793 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1726, allocations: 4.031 kB / 0.5325 GB, free: 8.789 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0001976/0.1728, allocations: 4 kB / 0.5325 GB, free: 8.785 MB / 398.1 MB 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.0001188/0.1729, allocations: 95.23 kB / 0.5326 GB, free: 8.68 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 9.412e-05/0.173, allocations: 4 kB / 0.5326 GB, free: 8.676 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.173, allocations: 0 / 0.5326 GB, free: 8.676 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 4.969e-06/0.173, allocations: 0 / 0.5326 GB, free: 8.676 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001469/0.1731, allocations: 0 / 0.5326 GB, free: 8.676 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002529/0.1734, allocations: 89.05 kB / 0.5327 GB, free: 8.562 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003664/0.1738, allocations: 0.669 MB / 0.5333 GB, free: 7.867 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 1.359e-05/0.1738, allocations: 3.984 kB / 0.5333 GB, free: 7.863 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.108e-05/0.1738, allocations: 11.44 kB / 0.5333 GB, free: 7.852 MB / 398.1 MB Notification: Performance of SimCode: time 2.7e-07/0.1738, allocations: 0 / 0.5333 GB, free: 7.852 MB / 398.1 MB Notification: Performance of Templates: time 0.00264/0.1764, allocations: 169.1 kB / 0.5335 GB, free: 7.688 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f Annex60_1.0.0_Annex60.Utilities.Time.Examples.ModelTime.makefile [Timeout 660] (rm -f Annex60_1.0.0_Annex60.Utilities.Time.Examples.ModelTime.pipe ; mkfifo Annex60_1.0.0_Annex60.Utilities.Time.Examples.ModelTime.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Utilities.Time.Examples.ModelTime.pipe >> ../files/Annex60_1.0.0_Annex60.Utilities.Time.Examples.ModelTime.sim & ./Annex60_1.0.0_Annex60.Utilities.Time.Examples.ModelTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Utilities.Time.Examples.ModelTime.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.451769893057644]