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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(IDEAS.Utilities.Time.Examples.ModelTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Time.Examples.ModelTime") translateModel(IDEAS.Utilities.Time.Examples.ModelTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Time.Examples.ModelTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009316/0.0009317, allocations: 90.75 kB / 15.06 MB, free: 1.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000942/0.0009421, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.508/1.508, allocations: 223.3 MB / 240 MB, free: 5.293 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.045/1.045, allocations: 135.3 MB / 426.4 MB, free: 14.32 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003215/0.0003216, allocations: 11.94 kB / 0.507 GB, free: 5.117 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1696/0.1699, allocations: 82.31 MB / 0.5874 GB, free: 2.98 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Examples.ModelTime): time 0.0008533/0.1708, allocations: 315.5 kB / 0.5877 GB, free: 2.672 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 3.64e-05/0.1709, allocations: 0 / 0.5877 GB, free: 2.672 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.437e-05/0.1709, allocations: 0 / 0.5877 GB, free: 2.672 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.517e-05/0.1709, allocations: 0 / 0.5877 GB, free: 2.672 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 6.643e-06/0.1709, allocations: 4 kB / 0.5877 GB, free: 2.668 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.282e-05/0.171, allocations: 0 / 0.5877 GB, free: 2.668 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.578e-05/0.171, allocations: 0 / 0.5877 GB, free: 2.668 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.625e-05/0.1711, allocations: 4 kB / 0.5877 GB, free: 2.664 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.712e-05/0.1711, allocations: 4 kB / 0.5877 GB, free: 2.66 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.935e-05/0.1711, allocations: 3.984 kB / 0.5877 GB, free: 2.656 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.105e-05/0.1712, allocations: 0 / 0.5877 GB, free: 2.656 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.332e-06/0.1712, allocations: 0 / 0.5877 GB, free: 2.656 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 7.754e-06/0.1712, allocations: 3.938 kB / 0.5877 GB, free: 2.652 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.48e-05/0.1712, allocations: 33.62 kB / 0.5877 GB, free: 2.613 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 4.252e-05/0.1713, allocations: 0 / 0.5877 GB, free: 2.613 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.581e-06/0.1713, allocations: 4 kB / 0.5877 GB, free: 2.609 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.1713, allocations: 0 / 0.5877 GB, free: 2.609 MB / 494.1 MB Notification: Performance of Transformations before backend: time 7.013e-06/0.1713, allocations: 0 / 0.5877 GB, free: 2.609 MB / 494.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.0002697/0.1716, allocations: 307.4 kB / 0.588 GB, free: 2.262 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.113e-05/0.1716, allocations: 8.094 kB / 0.588 GB, free: 2.254 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.597e-05/0.1717, allocations: 0 / 0.588 GB, free: 2.254 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.92e-05/0.1718, allocations: 167 kB / 0.5882 GB, free: 2.051 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.541e-05/0.1718, allocations: 0 / 0.5882 GB, free: 2.051 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.602e-05/0.1718, allocations: 4 kB / 0.5882 GB, free: 2.047 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001001/0.1719, allocations: 29.7 kB / 0.5882 GB, free: 2.012 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.566e-06/0.1719, allocations: 0 / 0.5882 GB, free: 2.012 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.765e-06/0.1719, allocations: 0 / 0.5882 GB, free: 2.012 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.098e-06/0.1719, allocations: 0 / 0.5882 GB, free: 2.012 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.26e-05/0.172, allocations: 8 kB / 0.5882 GB, free: 2.004 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001506/0.1721, allocations: 149.6 kB / 0.5884 GB, free: 1.809 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.628e-05/0.1722, allocations: 14.58 kB / 0.5884 GB, free: 1.785 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.545e-05/0.1722, allocations: 12.94 kB / 0.5884 GB, free: 1.77 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.588e-06/0.1722, allocations: 4 kB / 0.5884 GB, free: 1.766 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.703e-05/0.1723, allocations: 34.56 kB / 0.5884 GB, free: 1.723 MB / 494.1 MB Notification: Performance of pre-optimization done (n=1): time 1.082e-06/0.1723, allocations: 3.938 kB / 0.5884 GB, free: 1.719 MB / 494.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001477/0.1724, allocations: 37.64 kB / 0.5885 GB, free: 1.676 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.461e-05/0.1725, allocations: 51.41 kB / 0.5885 GB, free: 1.613 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.251e-05/0.1725, allocations: 89.86 kB / 0.5886 GB, free: 1.516 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.188e-05/0.1725, allocations: 25.7 kB / 0.5886 GB, free: 1.484 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.398e-05/0.1726, allocations: 84.27 kB / 0.5887 GB, free: 1.398 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.251e-05/0.1726, allocations: 3.906 kB / 0.5887 GB, free: 1.395 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.984e-06/0.1726, allocations: 0 / 0.5887 GB, free: 1.395 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000105/0.1727, allocations: 314.8 kB / 0.589 GB, free: 1.078 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.588e-06/0.1727, allocations: 4 kB / 0.589 GB, free: 1.074 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.514e-06/0.1727, allocations: 3.984 kB / 0.589 GB, free: 1.07 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.56e-05/0.1728, allocations: 0 / 0.589 GB, free: 1.07 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.993e-06/0.1728, allocations: 0 / 0.589 GB, free: 1.07 MB / 494.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.147e-05/0.1728, allocations: 41.72 kB / 0.5891 GB, free: 1.023 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.568e-05/0.1729, allocations: 7.938 kB / 0.5891 GB, free: 1.016 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.05e-06/0.1729, allocations: 3.938 kB / 0.5891 GB, free: 1.012 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.274e-05/0.1729, allocations: 0 / 0.5891 GB, free: 1.012 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.576e-05/0.1729, allocations: 4 kB / 0.5891 GB, free: 1.008 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.568e-06/0.173, allocations: 4 kB / 0.5891 GB, free: 1.004 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.718e-06/0.173, allocations: 0 / 0.5891 GB, free: 1.004 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.489e-06/0.173, allocations: 0 / 0.5891 GB, free: 1.004 MB / 494.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.36e-05/0.1731, allocations: 105.8 kB / 0.5892 GB, free: 0.8906 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.053e-05/0.1731, allocations: 15.97 kB / 0.5892 GB, free: 0.875 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.649e-05/0.1731, allocations: 3.125 kB / 0.5892 GB, free: 0.8711 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.426e-06/0.1731, allocations: 4 kB / 0.5892 GB, free: 0.8672 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.1731, allocations: 0 / 0.5892 GB, free: 0.8672 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.004e-06/0.1731, allocations: 0 / 0.5892 GB, free: 0.8672 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001055/0.1732, allocations: 141.7 kB / 0.5893 GB, free: 0.6797 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.826e-06/0.1732, allocations: 3.984 kB / 0.5893 GB, free: 0.6758 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.186e-05/0.1733, allocations: 0 / 0.5893 GB, free: 0.6758 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.336e-06/0.1733, allocations: 7.953 kB / 0.5893 GB, free: 0.668 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.813e-06/0.1733, allocations: 3.984 kB / 0.5893 GB, free: 0.6641 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/0.1733, allocations: 0 / 0.5893 GB, free: 0.6641 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.1733, allocations: 4 kB / 0.5894 GB, free: 0.6602 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.242e-05/0.1734, allocations: 61.08 kB / 0.5894 GB, free: 0.582 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.242e-05/0.1734, allocations: 81.11 kB / 0.5895 GB, free: 496 kB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.245e-05/0.1734, allocations: 3.953 kB / 0.5895 GB, free: 492 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.484e-06/0.1735, allocations: 0 / 0.5895 GB, free: 492 kB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.863e-05/0.1735, allocations: 3.984 kB / 0.5895 GB, free: 488 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.453e-06/0.1735, allocations: 0 / 0.5895 GB, free: 488 kB / 494.1 MB Notification: Performance of sorting global known variables: time 2.76e-05/0.1735, allocations: 79.31 kB / 0.5896 GB, free: 408 kB / 494.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.1735, allocations: 0 / 0.5896 GB, free: 408 kB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002069/0.1737, allocations: 3.938 kB / 0.5896 GB, free: 404 kB / 494.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.737e-05/0.1738, allocations: 95.53 kB / 0.5897 GB, free: 296 kB / 494.1 MB Notification: Performance of simCode: created initialization part: time 7.388e-05/0.1739, allocations: 4 kB / 0.5897 GB, free: 292 kB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.1739, allocations: 0 / 0.5897 GB, free: 292 kB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 5.51e-06/0.1739, allocations: 0 / 0.5897 GB, free: 292 kB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001328/0.1741, allocations: 4.125 kB / 0.5897 GB, free: 288 kB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002088/0.1743, allocations: 94.56 kB / 0.5898 GB, free: 164 kB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000263/0.1746, allocations: 0.6692 MB / 0.5904 GB, free: 15.46 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.564e-05/0.1746, allocations: 0 / 0.5904 GB, free: 15.46 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.694e-05/0.1746, allocations: 7.438 kB / 0.5904 GB, free: 15.46 MB / 0.4981 GB Notification: Performance of SimCode: time 4.51e-07/0.1746, allocations: 0 / 0.5904 GB, free: 15.46 MB / 0.4981 GB Notification: Performance of Templates: time 0.001804/0.1764, allocations: 160.6 kB / 0.5906 GB, free: 15.3 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Utilities.Time.Examples.ModelTime.makefile (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)