Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example5.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.Fluid.Examples.Performance.Example5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example5") translateModel(IDEAS.Fluid.Examples.Performance.Example5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008622/0.000862, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.0008498/0.0008499, allocations: 177.3 kB / 15.95 MB, free: 216 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.229/1.229, allocations: 223.2 MB / 239.9 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8392/0.8392, allocations: 135.2 MB / 426.2 MB, free: 14.29 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002681/0.0002681, allocations: 8 kB / 0.5068 GB, free: 5.266 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1418/0.1421, allocations: 82.31 MB / 0.5872 GB, free: 3.129 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.Example5): time 0.0005332/0.1427, allocations: 242.9 kB / 0.5874 GB, free: 2.887 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001357/0.1428, allocations: 39.89 kB / 0.5875 GB, free: 2.848 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.377e-05/0.1429, allocations: 0 / 0.5875 GB, free: 2.848 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.435e-05/0.1429, allocations: 3.938 kB / 0.5875 GB, free: 2.844 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 8.236e-05/0.143, allocations: 4 kB / 0.5875 GB, free: 2.84 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 5.051e-05/0.1431, allocations: 7.938 kB / 0.5875 GB, free: 2.832 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 3.558e-05/0.1431, allocations: 4 kB / 0.5875 GB, free: 2.828 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.762e-05/0.1431, allocations: 3.984 kB / 0.5875 GB, free: 2.824 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.17e-05/0.1432, allocations: 11.98 kB / 0.5875 GB, free: 2.812 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.034e-05/0.1432, allocations: 7.938 kB / 0.5875 GB, free: 2.805 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.419e-05/0.1433, allocations: 0 / 0.5875 GB, free: 2.805 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.574e-06/0.1433, allocations: 0 / 0.5875 GB, free: 2.805 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.432e-05/0.1433, allocations: 7.984 kB / 0.5875 GB, free: 2.797 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.232e-05/0.1433, allocations: 25.7 kB / 0.5875 GB, free: 2.766 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 2.584e-05/0.1434, allocations: 0 / 0.5875 GB, free: 2.766 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.653e-06/0.1434, allocations: 4 kB / 0.5875 GB, free: 2.762 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.022e-06/0.1434, allocations: 4 kB / 0.5875 GB, free: 2.758 MB / 494.1 MB Notification: Performance of Transformations before backend: time 2.715e-06/0.1434, allocations: 0 / 0.5875 GB, free: 2.758 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.0003356/0.1437, allocations: 331.3 kB / 0.5879 GB, free: 2.387 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.813e-05/0.1438, allocations: 8.031 kB / 0.5879 GB, free: 2.379 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.465e-05/0.1438, allocations: 0 / 0.5879 GB, free: 2.379 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001502/0.144, allocations: 175.3 kB / 0.588 GB, free: 2.168 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.225e-06/0.144, allocations: 0 / 0.588 GB, free: 2.168 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.336e-05/0.144, allocations: 3.984 kB / 0.588 GB, free: 2.164 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.529e-05/0.1441, allocations: 45.62 kB / 0.5881 GB, free: 2.113 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.68e-06/0.1441, allocations: 0 / 0.5881 GB, free: 2.113 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.703e-06/0.1441, allocations: 0 / 0.5881 GB, free: 2.113 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.517e-06/0.1441, allocations: 0 / 0.5881 GB, free: 2.113 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.636e-05/0.1441, allocations: 7.984 kB / 0.5881 GB, free: 2.105 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001296/0.1442, allocations: 153.7 kB / 0.5882 GB, free: 1.906 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.751e-05/0.1443, allocations: 22.62 kB / 0.5883 GB, free: 1.875 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.089e-05/0.1443, allocations: 3.938 kB / 0.5883 GB, free: 1.871 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.9e-05/0.1443, allocations: 38.5 kB / 0.5883 GB, free: 1.824 MB / 494.1 MB Notification: Performance of pre-optimization done (n=1): time 8.32e-07/0.1443, allocations: 0 / 0.5883 GB, free: 1.824 MB / 494.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001118/0.1445, allocations: 41.59 kB / 0.5883 GB, free: 1.777 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.845e-05/0.1445, allocations: 51.41 kB / 0.5884 GB, free: 1.715 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.359e-05/0.1446, allocations: 113.8 kB / 0.5885 GB, free: 1.594 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.039e-05/0.1446, allocations: 29.64 kB / 0.5885 GB, free: 1.559 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.067e-05/0.1446, allocations: 84.14 kB / 0.5886 GB, free: 1.473 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.085e-05/0.1446, allocations: 3.938 kB / 0.5886 GB, free: 1.469 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.124e-06/0.1447, allocations: 8.125 kB / 0.5886 GB, free: 1.461 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.986e-05/0.1447, allocations: 318.8 kB / 0.5889 GB, free: 1.141 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.262e-05/0.1448, allocations: 4 kB / 0.5889 GB, free: 1.137 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.85e-05/0.1448, allocations: 13.72 kB / 0.5889 GB, free: 1.117 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.861e-05/0.1448, allocations: 11.92 kB / 0.5889 GB, free: 1.105 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.372e-06/0.1448, allocations: 0 / 0.5889 GB, free: 1.105 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 6.376e-05/0.1449, allocations: 53.7 kB / 0.589 GB, free: 1.047 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.889e-06/0.1449, allocations: 4 kB / 0.589 GB, free: 1.043 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.366e-06/0.1449, allocations: 0 / 0.589 GB, free: 1.043 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.877e-06/0.1449, allocations: 0 / 0.589 GB, free: 1.043 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.431e-05/0.145, allocations: 4 kB / 0.589 GB, free: 1.039 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.362e-06/0.145, allocations: 7.922 kB / 0.589 GB, free: 1.031 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.438e-05/0.145, allocations: 7.906 kB / 0.589 GB, free: 1.023 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.451e-06/0.145, allocations: 0 / 0.589 GB, free: 1.023 MB / 494.1 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.705e-05/0.1451, allocations: 113.8 kB / 0.5891 GB, free: 0.9023 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.035e-06/0.1451, allocations: 8.016 kB / 0.5891 GB, free: 0.8945 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.389e-05/0.1452, allocations: 44.81 kB / 0.5892 GB, free: 0.8438 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.896e-06/0.1452, allocations: 4 kB / 0.5892 GB, free: 0.8398 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.336e-06/0.1452, allocations: 0 / 0.5892 GB, free: 0.8398 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.124e-06/0.1452, allocations: 0 / 0.5892 GB, free: 0.8398 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.513e-05/0.1453, allocations: 153.7 kB / 0.5893 GB, free: 0.6406 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.41e-07/0.1454, allocations: 0 / 0.5893 GB, free: 0.6406 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.187e-05/0.1454, allocations: 7.984 kB / 0.5893 GB, free: 0.6328 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.427e-06/0.1454, allocations: 3.953 kB / 0.5893 GB, free: 0.6289 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.683e-06/0.1454, allocations: 0 / 0.5893 GB, free: 0.6289 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.031e-06/0.1454, allocations: 7.969 kB / 0.5893 GB, free: 0.6211 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.1454, allocations: 0 / 0.5893 GB, free: 0.6211 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.908e-05/0.1455, allocations: 77.11 kB / 0.5894 GB, free: 0.5273 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.751e-05/0.1456, allocations: 81.02 kB / 0.5895 GB, free: 440 kB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.158e-05/0.1456, allocations: 3.953 kB / 0.5895 GB, free: 436 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.063e-05/0.1456, allocations: 4.031 kB / 0.5895 GB, free: 432 kB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.169e-05/0.1456, allocations: 4 kB / 0.5895 GB, free: 428 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.266e-06/0.1457, allocations: 4.094 kB / 0.5895 GB, free: 424 kB / 494.1 MB Notification: Performance of sorting global known variables: time 3.833e-05/0.1457, allocations: 95.39 kB / 0.5896 GB, free: 328 kB / 494.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1457, allocations: 0 / 0.5896 GB, free: 328 kB / 494.1 MB Notification: Performance of remove unused functions: time 0.0001639/0.1459, allocations: 4 kB / 0.5896 GB, free: 324 kB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (c) * 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 (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 8.315e-05/0.146, allocations: 95.25 kB / 0.5897 GB, free: 216 kB / 494.1 MB Notification: Performance of simCode: created initialization part: time 5.82e-05/0.146, allocations: 15.92 kB / 0.5897 GB, free: 200 kB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.146, allocations: 0 / 0.5897 GB, free: 200 kB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 1.233e-05/0.1461, allocations: 8.125 kB / 0.5897 GB, free: 192 kB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.207e-05/0.1461, allocations: 4 kB / 0.5897 GB, free: 188 kB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001982/0.1463, allocations: 112.7 kB / 0.5898 GB, free: 48 kB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002324/0.1466, allocations: 0.6848 MB / 0.5905 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.267e-05/0.1466, allocations: 0 / 0.5905 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.88e-05/0.1466, allocations: 7.438 kB / 0.5905 GB, free: 15.33 MB / 0.4981 GB Notification: Performance of SimCode: time 2.41e-07/0.1466, allocations: 0 / 0.5905 GB, free: 15.33 MB / 0.4981 GB Notification: Performance of Templates: time 0.001685/0.1483, allocations: 296.5 kB / 0.5908 GB, free: 15.04 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example5.makefile Environment - environmentSimulation: (rm -f IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example5.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example5.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example5.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example5.sim & ./IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example5 -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example5.pipe 2>&1) Environment - environmentSimulation: