Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate.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/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/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.Sensors.Examples.EnthalpyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate") translateModel(IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.008621/0.008621, allocations: 172 kB / 15.11 MB, free: 5.969 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8125/0.8125, allocations: 132.3 MB / 148.1 MB, free: 248 kB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.501/1.501, allocations: 223.2 MB / 403.2 MB, free: 6.656 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009453/0.0009453, allocations: 99.5 kB / 485.5 MB, free: 14.14 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003336/0.0003336, allocations: 12 kB / 0.5641 GB, free: 2.117 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3529/0.3533, allocations: 81.58 MB / 0.6438 GB, free: 39.29 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.908/4.261, allocations: 1.83 GB / 2.474 GB, free: 175.8 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002863/4.262, allocations: 91.95 kB / 2.474 GB, free: 175.7 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.9042/5.166, allocations: 300.7 MB / 2.768 GB, free: 143.2 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.214e-06/5.166, allocations: 0 / 2.768 GB, free: 143.2 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 4.146e-05/5.166, allocations: 8 kB / 2.768 GB, free: 143.2 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.001489/5.167, allocations: 0.6931 MB / 2.768 GB, free: 142.5 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.364e-05/5.167, allocations: 12.03 kB / 2.768 GB, free: 142.5 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003922/5.168, allocations: 62.06 kB / 2.768 GB, free: 142.4 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005319/5.168, allocations: 314 kB / 2.769 GB, free: 142 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.594e-05/5.168, allocations: 24.5 kB / 2.769 GB, free: 142 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.193e-05/5.168, allocations: 28 kB / 2.769 GB, free: 142 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005063/5.169, allocations: 311.9 kB / 2.769 GB, free: 141.7 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.563e-05/5.169, allocations: 7.875 kB / 2.769 GB, free: 141.7 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.498e-05/5.169, allocations: 16 kB / 2.769 GB, free: 141.6 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.556e-06/5.169, allocations: 8 kB / 2.769 GB, free: 141.6 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004076/5.169, allocations: 201.6 kB / 2.769 GB, free: 141.4 MB / 0.6823 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001482/5.171, allocations: 1.536 MB / 2.771 GB, free: 139.8 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002268/5.171, allocations: 111.6 kB / 2.771 GB, free: 139.6 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004696/5.172, allocations: 303.2 kB / 2.771 GB, free: 139.3 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.899e-05/5.172, allocations: 38.56 kB / 2.771 GB, free: 139.2 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=13): time 2.044e-06/5.172, allocations: 0 / 2.771 GB, free: 139.2 MB / 0.6823 GB Notification: Performance of matching and sorting (n=13): time 0.0007197/5.172, allocations: 278.5 kB / 2.771 GB, free: 139 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.541e-05/5.172, allocations: 51.41 kB / 2.771 GB, free: 138.9 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002296/5.173, allocations: 271.7 kB / 2.772 GB, free: 138.6 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.251e-05/5.173, allocations: 29.7 kB / 2.772 GB, free: 138.6 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 8.992e-05/5.173, allocations: 184 kB / 2.772 GB, free: 138.4 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 3.109e-05/5.173, allocations: 55.34 kB / 2.772 GB, free: 138.4 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.664e-06/5.173, allocations: 0 / 2.772 GB, free: 138.4 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 6.659e-05/5.173, allocations: 338.8 kB / 2.772 GB, free: 138 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001581/5.173, allocations: 59.95 kB / 2.772 GB, free: 138 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001599/5.173, allocations: 124.6 kB / 2.773 GB, free: 137.8 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001454/5.173, allocations: 75.91 kB / 2.773 GB, free: 137.7 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.368e-06/5.173, allocations: 3.953 kB / 2.773 GB, free: 137.7 MB / 0.6823 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003684/5.174, allocations: 217.3 kB / 2.773 GB, free: 137.5 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.023e-05/5.174, allocations: 12 kB / 2.773 GB, free: 137.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.114e-06/5.174, allocations: 0 / 2.773 GB, free: 137.5 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.001e-05/5.174, allocations: 7.984 kB / 2.773 GB, free: 137.5 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001686/5.174, allocations: 39.91 kB / 2.773 GB, free: 137.5 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.754e-06/5.174, allocations: 0 / 2.773 GB, free: 137.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002302/5.174, allocations: 47.67 kB / 2.773 GB, free: 137.4 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.522e-05/5.174, allocations: 8 kB / 2.773 GB, free: 137.4 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (17): * Single equations (assignments): 17 * 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 0.0001375/5.175, allocations: 145.8 kB / 2.773 GB, free: 137.3 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.857e-05/5.175, allocations: 31.58 kB / 2.773 GB, free: 137.2 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000391/5.175, allocations: 216.3 kB / 2.773 GB, free: 137 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.238e-06/5.175, allocations: 0 / 2.773 GB, free: 137 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.04e-06/5.175, allocations: 0 / 2.773 GB, free: 137 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/5.175, allocations: 0 / 2.773 GB, free: 137 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008437/5.176, allocations: 0.6679 MB / 2.774 GB, free: 136.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/5.176, allocations: 0 / 2.774 GB, free: 136.3 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001269/5.176, allocations: 36.14 kB / 2.774 GB, free: 136.2 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.901e-06/5.176, allocations: 7.984 kB / 2.774 GB, free: 136.2 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.434e-05/5.176, allocations: 8 kB / 2.774 GB, free: 136.2 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.755e-06/5.176, allocations: 0 / 2.774 GB, free: 136.2 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/5.176, allocations: 4 kB / 2.774 GB, free: 136.2 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003739/5.176, allocations: 424.1 kB / 2.774 GB, free: 135.7 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001057/5.177, allocations: 112.8 kB / 2.775 GB, free: 135.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.759e-05/5.177, allocations: 12.05 kB / 2.775 GB, free: 135.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001894/5.177, allocations: 31.89 kB / 2.775 GB, free: 135.5 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.324e-05/5.177, allocations: 23.81 kB / 2.775 GB, free: 135.5 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.979e-06/5.177, allocations: 8 kB / 2.775 GB, free: 135.5 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0001607/5.177, allocations: 219 kB / 2.775 GB, free: 135.3 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.4e-07/5.177, allocations: 0 / 2.775 GB, free: 135.3 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0007539/5.178, allocations: 187.9 kB / 2.775 GB, free: 135.1 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (13): * Single equations (assignments): 13 * 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 0.001566/5.179, allocations: 1.174 MB / 2.776 GB, free: 133.9 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0003819/5.18, allocations: 156 kB / 2.776 GB, free: 133.8 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.876e-06/5.18, allocations: 4.062 kB / 2.776 GB, free: 133.8 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001586/5.18, allocations: 83.83 kB / 2.776 GB, free: 133.7 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006983/5.181, allocations: 144.7 kB / 2.776 GB, free: 133.5 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008188/5.181, allocations: 0.6125 MB / 2.777 GB, free: 132.9 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002126/5.182, allocations: 0.7952 MB / 2.778 GB, free: 132.1 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0002094/5.182, allocations: 54.95 kB / 2.778 GB, free: 132 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.49e-05/5.182, allocations: 23.44 kB / 2.778 GB, free: 132 MB / 0.6823 GB Notification: Performance of SimCode: time 3.3e-07/5.182, allocations: 3.938 kB / 2.778 GB, free: 132 MB / 0.6823 GB Notification: Performance of Templates: time 0.02296/5.205, allocations: 19.34 MB / 2.797 GB, free: 112.7 MB / 0.6823 GB make -j1 -f IDEAS_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate.makefile (rm -f IDEAS_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; mkfifo IDEAS_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe >> ../files/IDEAS_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate.sim & ./IDEAS_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe 2>&1)