Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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-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.Sensors.Examples.EnthalpyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate") translateModel(IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.001054/0.001054, allocations: 181.6 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.8595/0.8595, 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.449/1.449, allocations: 222.9 MB / 404.7 MB, free: 6.055 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.001049/0.00105, allocations: 107.2 kB / 485.9 MB, free: 7.168 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001055/0.001055, allocations: 51.91 kB / 0.5636 GB, free: 69.91 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1638/0.1649, allocations: 80.42 MB / 0.6421 GB, free: 5.418 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.5745/0.7395, allocations: 165.3 MB / 0.8035 GB, free: 11.89 MB / 0.5417 GB Notification: Performance of NFInst.instExpressions: time 0.007918/0.7475, allocations: 6.559 MB / 0.81 GB, free: 5.312 MB / 0.5417 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005877/0.7481, allocations: 11.94 kB / 0.81 GB, free: 5.301 MB / 0.5417 GB Notification: Performance of NFTyping.typeComponents: time 0.0005414/0.7487, allocations: 127.1 kB / 0.8101 GB, free: 5.176 MB / 0.5417 GB Notification: Performance of NFTyping.typeBindings: time 0.002173/0.7509, allocations: 0.7899 MB / 0.8109 GB, free: 4.383 MB / 0.5417 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008993/0.7518, allocations: 299.3 kB / 0.8111 GB, free: 4.094 MB / 0.5417 GB Notification: Performance of NFFlatten.flatten: time 0.001049/0.7528, allocations: 1.01 MB / 0.8121 GB, free: 3.082 MB / 0.5417 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003905/0.7532, allocations: 241.8 kB / 0.8124 GB, free: 2.848 MB / 0.5417 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001089/0.7544, allocations: 0.5137 MB / 0.8129 GB, free: 2.332 MB / 0.5417 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003612/0.7547, allocations: 278.9 kB / 0.8131 GB, free: 2.059 MB / 0.5417 GB Notification: Performance of NFPackage.collectConstants: time 3.72e-05/0.7548, allocations: 20 kB / 0.8131 GB, free: 2.039 MB / 0.5417 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006982/0.7555, allocations: 387 kB / 0.8135 GB, free: 1.66 MB / 0.5417 GB Notification: Performance of NFScalarize.scalarize: time 0.0001173/0.7556, allocations: 107.6 kB / 0.8136 GB, free: 1.555 MB / 0.5417 GB Notification: Performance of NFVerifyModel.verify: time 0.0001564/0.7558, allocations: 151.2 kB / 0.8138 GB, free: 1.406 MB / 0.5417 GB Notification: Performance of NFConvertDAE.convert: time 0.0005668/0.7564, allocations: 482.4 kB / 0.8142 GB, free: 0.9336 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 3.948e-06/0.7564, allocations: 0 / 0.8142 GB, free: 0.9336 MB / 0.5417 GB Notification: Performance of FrontEnd: time 8.61e-07/0.7564, allocations: 0 / 0.8142 GB, free: 0.9336 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 6.101e-06/0.7564, allocations: 0 / 0.8142 GB, free: 0.9336 MB / 0.5417 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.0009073/0.7573, allocations: 0.6272 MB / 0.8148 GB, free: 264 kB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 3.702e-05/0.7574, allocations: 8.031 kB / 0.8148 GB, free: 256 kB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002857/0.7576, allocations: 63.44 kB / 0.8149 GB, free: 192 kB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004076/0.7581, allocations: 305.2 kB / 0.8152 GB, free: 15.85 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.102e-05/0.7581, allocations: 20.56 kB / 0.8152 GB, free: 15.83 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.903e-05/0.7581, allocations: 24 kB / 0.8152 GB, free: 15.8 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005071/0.7587, allocations: 323.6 kB / 0.8155 GB, free: 15.46 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.128e-05/0.7587, allocations: 0 / 0.8155 GB, free: 15.46 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.403e-05/0.7587, allocations: 15.98 kB / 0.8156 GB, free: 15.45 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.78e-05/0.7587, allocations: 8 kB / 0.8156 GB, free: 15.44 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003918/0.7591, allocations: 201.5 kB / 0.8158 GB, free: 15.25 MB / 0.5573 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.001545/0.7607, allocations: 1.53 MB / 0.8173 GB, free: 13.58 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002531/0.7609, allocations: 122.5 kB / 0.8174 GB, free: 13.45 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000172/0.7611, allocations: 93.05 kB / 0.8175 GB, free: 13.36 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006449/0.7618, allocations: 307.2 kB / 0.8178 GB, free: 13 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.377e-05/0.7618, allocations: 39.38 kB / 0.8178 GB, free: 12.95 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=13): time 1.463e-06/0.7618, allocations: 0 / 0.8178 GB, free: 12.95 MB / 0.5573 GB Notification: Performance of matching and sorting (n=13): time 0.000735/0.7626, allocations: 266.2 kB / 0.818 GB, free: 12.69 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.31e-05/0.7626, allocations: 59.41 kB / 0.8181 GB, free: 12.62 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002908/0.7629, allocations: 312.5 kB / 0.8184 GB, free: 12.3 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 2.3e-05/0.763, allocations: 29.7 kB / 0.8184 GB, free: 12.27 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001277/0.7631, allocations: 184.1 kB / 0.8186 GB, free: 12.08 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 3.219e-05/0.7631, allocations: 35.45 kB / 0.8186 GB, free: 12.05 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.595e-05/0.7632, allocations: 45.61 kB / 0.8187 GB, free: 12 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001266/0.7633, allocations: 334.8 kB / 0.819 GB, free: 11.66 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001465/0.7635, allocations: 59.95 kB / 0.8191 GB, free: 11.6 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002018/0.7637, allocations: 118.8 kB / 0.8192 GB, free: 11.47 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003129/0.764, allocations: 178.6 kB / 0.8193 GB, free: 11.28 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.764, allocations: 0 / 0.8193 GB, free: 11.28 MB / 0.5573 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004003/0.7644, allocations: 213.2 kB / 0.8195 GB, free: 11.06 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.416e-05/0.7645, allocations: 8.156 kB / 0.8196 GB, free: 11.05 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.703e-06/0.7645, allocations: 4 kB / 0.8196 GB, free: 11.05 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.48e-05/0.7645, allocations: 3.938 kB / 0.8196 GB, free: 11.05 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001794/0.7647, allocations: 39.92 kB / 0.8196 GB, free: 11.01 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.524e-06/0.7647, allocations: 0 / 0.8196 GB, free: 11.01 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001835/0.7649, allocations: 39.66 kB / 0.8196 GB, free: 10.97 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.762e-05/0.7649, allocations: 8 kB / 0.8196 GB, free: 10.96 MB / 0.5573 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001293/0.7651, allocations: 153.8 kB / 0.8198 GB, free: 10.8 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.932e-05/0.7651, allocations: 31.56 kB / 0.8198 GB, free: 10.77 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004497/0.7656, allocations: 213 kB / 0.82 GB, free: 10.56 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/0.7656, allocations: 0 / 0.82 GB, free: 10.56 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.371e-06/0.7656, allocations: 4 kB / 0.82 GB, free: 10.55 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.7656, allocations: 0 / 0.82 GB, free: 10.55 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009904/0.7666, allocations: 0.6835 MB / 0.8207 GB, free: 9.793 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.7666, allocations: 4.219 kB / 0.8207 GB, free: 9.789 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001272/0.7668, allocations: 31.92 kB / 0.8207 GB, free: 9.758 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.7668, allocations: 0 / 0.8207 GB, free: 9.758 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.575e-05/0.7668, allocations: 7.938 kB / 0.8207 GB, free: 9.75 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.627e-06/0.7668, allocations: 4 kB / 0.8207 GB, free: 9.746 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.7668, allocations: 0 / 0.8207 GB, free: 9.746 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008466/0.7677, allocations: 1.012 MB / 0.8217 GB, free: 8.656 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001153/0.7678, allocations: 120.8 kB / 0.8218 GB, free: 8.52 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.637e-05/0.7678, allocations: 4 kB / 0.8218 GB, free: 8.516 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001709/0.768, allocations: 19.89 kB / 0.8219 GB, free: 8.496 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.029e-05/0.7681, allocations: 7.984 kB / 0.8219 GB, free: 8.488 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.441e-05/0.7681, allocations: 18.69 kB / 0.8219 GB, free: 8.473 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0002009/0.7683, allocations: 231 kB / 0.8221 GB, free: 8.25 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.21e-07/0.7683, allocations: 0 / 0.8221 GB, free: 8.25 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0004583/0.7688, allocations: 71.84 kB / 0.8222 GB, free: 8.18 MB / 0.5573 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003743/0.7691, allocations: 160.4 kB / 0.8223 GB, free: 8.023 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.000397/0.7695, allocations: 155.7 kB / 0.8225 GB, free: 7.871 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.7696, allocations: 0 / 0.8225 GB, free: 7.871 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.000172/0.7697, allocations: 84.64 kB / 0.8226 GB, free: 7.789 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008021/0.7705, allocations: 138 kB / 0.8227 GB, free: 7.66 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009721/0.7715, allocations: 0.7794 MB / 0.8235 GB, free: 6.816 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003289/0.7719, allocations: 0.7836 MB / 0.8242 GB, free: 6.004 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0001801/0.7721, allocations: 55.12 kB / 0.8243 GB, free: 5.949 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.51e-05/0.7721, allocations: 23.44 kB / 0.8243 GB, free: 5.926 MB / 0.5573 GB Notification: Performance of SimCode: time 2.71e-07/0.7721, allocations: 3.938 kB / 0.8243 GB, free: 5.922 MB / 0.5573 GB Notification: Performance of Templates: time 0.008564/0.7807, allocations: 4.973 MB / 0.8292 GB, free: 1.02 MB / 0.5573 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate.sim & ./IDEAS_dev_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe 2>&1)