Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example8.conf.json 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/IDEAS 3.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) Running command: translateModel(IDEAS.Fluid.Examples.Performance.Example8,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example8") translateModel(IDEAS.Fluid.Examples.Performance.Example8,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example8") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00176/0.00176, allocations: 183.4 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7982/0.7982, allocations: 133.4 MB / 150.1 MB, free: 11.14 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.411/1.411, allocations: 222.9 MB / 404.7 MB, free: 6.02 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009932/0.0009931, allocations: 107.3 kB / 485.9 MB, free: 7.164 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001001/0.001001, allocations: 59.91 kB / 0.5636 GB, free: 69.91 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1458/0.1468, allocations: 80.42 MB / 0.6421 GB, free: 5.426 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.Example8): time 0.001802/0.1486, allocations: 0.58 MB / 0.6427 GB, free: 4.836 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001183/0.1488, allocations: 19.91 kB / 0.6427 GB, free: 4.816 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.223e-05/0.1488, allocations: 0 / 0.6427 GB, free: 4.816 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 1.391e-05/0.1488, allocations: 0 / 0.6427 GB, free: 4.816 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001273/0.149, allocations: 4 kB / 0.6427 GB, free: 4.812 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 2.836e-06/0.149, allocations: 0 / 0.6427 GB, free: 4.812 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 4.201e-05/0.149, allocations: 4 kB / 0.6427 GB, free: 4.809 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.016e-05/0.1491, allocations: 7.984 kB / 0.6427 GB, free: 4.801 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.514e-05/0.1491, allocations: 3.938 kB / 0.6427 GB, free: 4.797 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.713e-05/0.1491, allocations: 7.938 kB / 0.6427 GB, free: 4.789 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.051e-05/0.1491, allocations: 0 / 0.6427 GB, free: 4.789 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.54e-06/0.1492, allocations: 0 / 0.6427 GB, free: 4.789 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 1.213e-05/0.1492, allocations: 3.984 kB / 0.6427 GB, free: 4.785 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 1.479e-05/0.1492, allocations: 0 / 0.6427 GB, free: 4.785 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 3.514e-05/0.1492, allocations: 0 / 0.6427 GB, free: 4.785 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.477e-06/0.1492, allocations: 0 / 0.6427 GB, free: 4.785 MB / 442.7 MB Notification: Performance of FrontEnd: time 9.52e-07/0.1492, allocations: 0 / 0.6427 GB, free: 4.785 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.307e-06/0.1493, allocations: 0 / 0.6427 GB, free: 4.785 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0002763/0.1495, allocations: 322 kB / 0.6431 GB, free: 4.426 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.734e-05/0.1496, allocations: 12.03 kB / 0.6431 GB, free: 4.414 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.947e-05/0.1496, allocations: 0.9375 kB / 0.6431 GB, free: 4.414 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.522e-05/0.1497, allocations: 160.4 kB / 0.6432 GB, free: 4.219 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.027e-05/0.1497, allocations: 384 / 0.6432 GB, free: 4.219 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.544e-06/0.1497, allocations: 384 / 0.6432 GB, free: 4.219 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001055/0.1499, allocations: 55.47 kB / 0.6433 GB, free: 4.152 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.358e-06/0.1499, allocations: 4 kB / 0.6433 GB, free: 4.148 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.148e-05/0.1499, allocations: 7.922 kB / 0.6433 GB, free: 4.141 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.341e-05/0.1499, allocations: 4 kB / 0.6433 GB, free: 4.137 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.248e-05/0.1499, allocations: 0 / 0.6433 GB, free: 4.137 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001455/0.1501, allocations: 158.5 kB / 0.6434 GB, free: 3.93 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.584e-05/0.1501, allocations: 37.22 kB / 0.6435 GB, free: 3.875 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.501e-05/0.1502, allocations: 21.7 kB / 0.6435 GB, free: 3.848 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.342e-05/0.1502, allocations: 3.938 kB / 0.6435 GB, free: 3.844 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.722e-05/0.1502, allocations: 42.56 kB / 0.6435 GB, free: 3.793 MB / 442.7 MB Notification: Performance of pre-optimization done (n=2): time 9.92e-07/0.1503, allocations: 0 / 0.6435 GB, free: 3.793 MB / 442.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001406/0.1504, allocations: 37.64 kB / 0.6436 GB, free: 3.75 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.115e-05/0.1505, allocations: 81.34 kB / 0.6437 GB, free: 3.652 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.311e-05/0.1505, allocations: 93.86 kB / 0.6437 GB, free: 3.551 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.559e-05/0.1505, allocations: 33.7 kB / 0.6438 GB, free: 3.512 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.1e-05/0.1506, allocations: 80.14 kB / 0.6438 GB, free: 3.43 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.071e-05/0.1506, allocations: 3.906 kB / 0.6439 GB, free: 3.426 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.93e-05/0.1506, allocations: 9.719 kB / 0.6439 GB, free: 3.41 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001019/0.1507, allocations: 314.8 kB / 0.6442 GB, free: 3.094 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.017e-05/0.1507, allocations: 3.938 kB / 0.6442 GB, free: 3.09 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.064e-05/0.1508, allocations: 25.7 kB / 0.6442 GB, free: 3.059 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.235e-05/0.1508, allocations: 13.72 kB / 0.6442 GB, free: 3.039 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.1508, allocations: 0 / 0.6442 GB, free: 3.039 MB / 442.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 6.31e-05/0.1509, allocations: 41.64 kB / 0.6442 GB, free: 2.992 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.664e-05/0.1509, allocations: 11.94 kB / 0.6443 GB, free: 2.98 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.1509, allocations: 0 / 0.6443 GB, free: 2.98 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.184e-05/0.1509, allocations: 0 / 0.6443 GB, free: 2.98 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.165e-05/0.151, allocations: 12.11 kB / 0.6443 GB, free: 2.969 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.95e-06/0.151, allocations: 0 / 0.6443 GB, free: 2.969 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.603e-05/0.151, allocations: 288 / 0.6443 GB, free: 2.969 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.471e-06/0.1511, allocations: 0 / 0.6443 GB, free: 2.969 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (2): * Single equations (assignments): 2 * 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 7.102e-05/0.1511, allocations: 113.8 kB / 0.6444 GB, free: 2.848 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.008e-05/0.1511, allocations: 3.938 kB / 0.6444 GB, free: 2.844 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001089/0.1513, allocations: 48.75 kB / 0.6444 GB, free: 2.793 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/0.1513, allocations: 8.062 kB / 0.6444 GB, free: 2.785 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.1513, allocations: 0 / 0.6444 GB, free: 2.785 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.005e-06/0.1513, allocations: 0 / 0.6444 GB, free: 2.785 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001369/0.1514, allocations: 149.7 kB / 0.6446 GB, free: 2.59 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-06/0.1514, allocations: 7.938 kB / 0.6446 GB, free: 2.582 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.609e-05/0.1515, allocations: 0 / 0.6446 GB, free: 2.582 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.073e-06/0.1515, allocations: 11.88 kB / 0.6446 GB, free: 2.57 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.053e-06/0.1515, allocations: 4 kB / 0.6446 GB, free: 2.566 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.1515, allocations: 0 / 0.6446 GB, free: 2.566 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.1515, allocations: 0 / 0.6446 GB, free: 2.566 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003139/0.1518, allocations: 0.6209 MB / 0.6452 GB, free: 1.883 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.971e-05/0.1519, allocations: 77.11 kB / 0.6453 GB, free: 1.789 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.058e-05/0.1519, allocations: 0 / 0.6453 GB, free: 1.789 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.526e-05/0.1519, allocations: 0 / 0.6453 GB, free: 1.789 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.3e-05/0.1519, allocations: 4 kB / 0.6453 GB, free: 1.785 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.565e-06/0.1519, allocations: 4.031 kB / 0.6453 GB, free: 1.781 MB / 442.7 MB Notification: Performance of sorting global known variables: time 3.768e-05/0.152, allocations: 79.22 kB / 0.6454 GB, free: 1.703 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.152, allocations: 0 / 0.6454 GB, free: 1.703 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.000281/0.1523, allocations: 3.938 kB / 0.6454 GB, free: 1.699 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (2): * Single equations (assignments): 2 * 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 9.268e-05/0.1524, allocations: 95.25 kB / 0.6455 GB, free: 1.598 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 7.561e-05/0.1524, allocations: 19.92 kB / 0.6455 GB, free: 1.578 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 5.129e-06/0.1525, allocations: 0 / 0.6455 GB, free: 1.578 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 9.808e-06/0.1525, allocations: 8.125 kB / 0.6455 GB, free: 1.57 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001296/0.1526, allocations: 0 / 0.6455 GB, free: 1.57 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002675/0.1529, allocations: 198.2 kB / 0.6457 GB, free: 1.332 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002356/0.1531, allocations: 0.6692 MB / 0.6463 GB, free: 0.6367 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 2.567e-05/0.1532, allocations: 0 / 0.6463 GB, free: 0.6367 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.132e-05/0.1532, allocations: 11.44 kB / 0.6463 GB, free: 0.625 MB / 442.7 MB Notification: Performance of SimCode: time 4.21e-07/0.1532, allocations: 8.062 kB / 0.6463 GB, free: 0.6172 MB / 442.7 MB Notification: Performance of Templates: time 0.001767/0.155, allocations: 177 kB / 0.6465 GB, free: 456 kB / 442.7 MB make -j1 -f IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example8.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example8.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example8.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example8.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example8.sim & ./IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example8 -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example8.pipe 2>&1)