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.001173/0.001173, allocations: 103.9 kB / 16.4 MB, free: 6.469 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.001174/0.001175, allocations: 189.7 kB / 17.34 MB, free: 5.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.36/1.36, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7955/0.7955, allocations: 135.1 MB / 426.3 MB, free: 4.109 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001227/0.001227, allocations: 62.34 kB / 0.5862 GB, free: 21.65 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.138/0.1393, allocations: 80.92 MB / 0.6653 GB, free: 5.836 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Examples.ModelTime): time 0.00161/0.1409, allocations: 0.5905 MB / 0.6658 GB, free: 5.25 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 3.314e-05/0.141, allocations: 3.984 kB / 0.6658 GB, free: 5.246 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.599e-05/0.141, allocations: 0 / 0.6658 GB, free: 5.246 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.283e-05/0.141, allocations: 0 / 0.6658 GB, free: 5.246 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.502e-06/0.141, allocations: 7.938 kB / 0.6658 GB, free: 5.238 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 2.618e-05/0.1411, allocations: 0 / 0.6658 GB, free: 5.238 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 3.868e-05/0.1411, allocations: 0 / 0.6658 GB, free: 5.238 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.109e-05/0.1412, allocations: 0 / 0.6658 GB, free: 5.238 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.183e-05/0.1412, allocations: 0 / 0.6658 GB, free: 5.238 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 1.529e-05/0.1412, allocations: 0 / 0.6658 GB, free: 5.238 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 7.715e-06/0.1412, allocations: 11.94 kB / 0.6659 GB, free: 5.227 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 2.886e-06/0.1412, allocations: 0 / 0.6659 GB, free: 5.227 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 9.177e-06/0.1412, allocations: 0 / 0.6659 GB, free: 5.227 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 1.663e-05/0.1413, allocations: 4 kB / 0.6659 GB, free: 5.223 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 4.166e-05/0.1413, allocations: 3.984 kB / 0.6659 GB, free: 5.219 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.1413, allocations: 0 / 0.6659 GB, free: 5.219 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.133e-06/0.1413, allocations: 0 / 0.6659 GB, free: 5.219 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.829e-06/0.1413, allocations: 0 / 0.6659 GB, free: 5.219 MB / 0.4981 GB 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.0002281/0.1416, allocations: 315.5 kB / 0.6662 GB, free: 4.859 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.558e-05/0.1416, allocations: 9.109 kB / 0.6662 GB, free: 4.852 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.107e-05/0.1416, allocations: 4.938 kB / 0.6662 GB, free: 4.848 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.561e-05/0.1417, allocations: 164.4 kB / 0.6663 GB, free: 4.648 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.951e-06/0.1417, allocations: 384 / 0.6663 GB, free: 4.648 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.466e-06/0.1417, allocations: 384 / 0.6663 GB, free: 4.648 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.998e-05/0.1418, allocations: 30.27 kB / 0.6664 GB, free: 4.613 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.052e-06/0.1418, allocations: 192 / 0.6664 GB, free: 4.613 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.698e-06/0.1418, allocations: 3.938 kB / 0.6664 GB, free: 4.609 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.38e-06/0.1418, allocations: 11.92 kB / 0.6664 GB, free: 4.598 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.465e-05/0.1419, allocations: 3.984 kB / 0.6664 GB, free: 4.594 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001235/0.142, allocations: 145.7 kB / 0.6665 GB, free: 4.402 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 4.182e-05/0.142, allocations: 18.61 kB / 0.6665 GB, free: 4.375 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.391e-05/0.1421, allocations: 8.859 kB / 0.6666 GB, free: 4.363 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 9.548e-06/0.1421, allocations: 0 / 0.6666 GB, free: 4.363 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.129e-05/0.1421, allocations: 34.62 kB / 0.6666 GB, free: 4.32 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 1.062e-06/0.1421, allocations: 0 / 0.6666 GB, free: 4.32 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.0001077/0.1422, allocations: 45.56 kB / 0.6666 GB, free: 4.27 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.75e-05/0.1423, allocations: 51.41 kB / 0.6667 GB, free: 4.207 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.272e-05/0.1423, allocations: 97.73 kB / 0.6668 GB, free: 4.102 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 9.117e-06/0.1423, allocations: 25.7 kB / 0.6668 GB, free: 4.07 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.23e-05/0.1423, allocations: 80.14 kB / 0.6669 GB, free: 3.988 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.3e-05/0.1424, allocations: 0 / 0.6669 GB, free: 3.988 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.56e-05/0.1424, allocations: 17.72 kB / 0.6669 GB, free: 3.965 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.212e-05/0.1425, allocations: 311.2 kB / 0.6672 GB, free: 3.652 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.566e-06/0.1425, allocations: 4.125 kB / 0.6672 GB, free: 3.648 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.919e-06/0.1425, allocations: 0 / 0.6672 GB, free: 3.648 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.258e-05/0.1425, allocations: 12.8 kB / 0.6672 GB, free: 3.633 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.1425, allocations: 0 / 0.6672 GB, free: 3.633 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.034e-05/0.1426, allocations: 41.69 kB / 0.6672 GB, free: 3.586 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.278e-05/0.1426, allocations: 6.188 kB / 0.6672 GB, free: 3.582 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.697e-06/0.1426, allocations: 0 / 0.6672 GB, free: 3.582 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.242e-05/0.1426, allocations: 7.938 kB / 0.6673 GB, free: 3.574 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.401e-05/0.1427, allocations: 0 / 0.6673 GB, free: 3.574 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.464e-06/0.1427, allocations: 12.08 kB / 0.6673 GB, free: 3.562 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.616e-06/0.1427, allocations: 0 / 0.6673 GB, free: 3.562 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.557e-06/0.1427, allocations: 0 / 0.6673 GB, free: 3.562 MB / 0.4981 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.516e-05/0.1428, allocations: 105.8 kB / 0.6674 GB, free: 3.449 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.962e-06/0.1428, allocations: 0 / 0.6674 GB, free: 3.449 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.663e-05/0.1428, allocations: 7.062 kB / 0.6674 GB, free: 3.438 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.1428, allocations: 4 kB / 0.6674 GB, free: 3.434 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/0.1428, allocations: 3.984 kB / 0.6674 GB, free: 3.43 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.824e-06/0.1428, allocations: 0 / 0.6674 GB, free: 3.43 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.333e-05/0.1429, allocations: 149.6 kB / 0.6675 GB, free: 3.234 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.1429, allocations: 0 / 0.6675 GB, free: 3.234 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.999e-06/0.1429, allocations: 0 / 0.6675 GB, free: 3.234 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.143, allocations: 4 kB / 0.6675 GB, free: 3.23 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.015e-06/0.143, allocations: 3.938 kB / 0.6675 GB, free: 3.227 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.143, allocations: 3.938 kB / 0.6675 GB, free: 3.223 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.143, allocations: 0 / 0.6675 GB, free: 3.223 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.032e-05/0.143, allocations: 57.12 kB / 0.6676 GB, free: 3.148 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.76e-05/0.1431, allocations: 85.14 kB / 0.6677 GB, free: 3.047 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.178e-06/0.1431, allocations: 3.938 kB / 0.6677 GB, free: 3.043 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.552e-06/0.1431, allocations: 0 / 0.6677 GB, free: 3.043 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.339e-05/0.1431, allocations: 0 / 0.6677 GB, free: 3.043 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.483e-06/0.1431, allocations: 3.938 kB / 0.6677 GB, free: 3.039 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.136e-05/0.1431, allocations: 75.28 kB / 0.6677 GB, free: 2.965 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.21e-07/0.1432, allocations: 0 / 0.6677 GB, free: 2.965 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001808/0.1433, allocations: 4 kB / 0.6678 GB, free: 2.961 MB / 0.4981 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.192e-05/0.1434, allocations: 108.6 kB / 0.6679 GB, free: 2.844 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 5.533e-05/0.1435, allocations: 7.938 kB / 0.6679 GB, free: 2.836 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.512e-06/0.1435, allocations: 3.938 kB / 0.6679 GB, free: 2.832 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 4.899e-06/0.1435, allocations: 0 / 0.6679 GB, free: 2.832 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001273/0.1436, allocations: 4 kB / 0.6679 GB, free: 2.828 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001685/0.1438, allocations: 110.5 kB / 0.668 GB, free: 2.688 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002032/0.144, allocations: 0.6729 MB / 0.6686 GB, free: 1.988 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.768e-05/0.144, allocations: 7.438 kB / 0.6686 GB, free: 1.98 MB / 0.4981 GB Notification: Performance of SimCode: time 2.3e-07/0.1441, allocations: 8.125 kB / 0.6686 GB, free: 1.973 MB / 0.4981 GB Notification: Performance of Templates: time 0.001333/0.1454, allocations: 323.9 kB / 0.669 GB, free: 1.656 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)