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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001265/0.001264, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001307/0.001307, allocations: 203.1 kB / 16.26 MB, free: 6.625 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.384/1.384, allocations: 222.9 MB / 239.9 MB, free: 4.555 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9476/0.9476, allocations: 135.6 MB / 425.6 MB, free: 11.98 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002346/0.002346, allocations: 68.39 kB / 0.5054 GB, free: 5.215 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1589/0.1613, allocations: 81.02 MB / 0.5845 GB, free: 4.336 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.4533/0.6146, allocations: 165.3 MB / 0.7459 GB, free: 4.422 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.007942/0.6226, allocations: 6.494 MB / 0.7522 GB, free: 15.6 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000523/0.6231, allocations: 8.969 kB / 0.7522 GB, free: 15.6 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0005561/0.6237, allocations: 141.9 kB / 0.7524 GB, free: 15.48 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.002077/0.6258, allocations: 0.7977 MB / 0.7531 GB, free: 14.88 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008539/0.6267, allocations: 297.2 kB / 0.7534 GB, free: 14.68 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0007607/0.6275, allocations: 0.7199 MB / 0.7541 GB, free: 14.27 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003764/0.6278, allocations: 264 kB / 0.7544 GB, free: 14.12 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009764/0.6288, allocations: 0.5372 MB / 0.7549 GB, free: 13.79 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003353/0.6292, allocations: 290.3 kB / 0.7552 GB, free: 13.63 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 3.313e-05/0.6292, allocations: 28 kB / 0.7552 GB, free: 13.62 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006194/0.6298, allocations: 350.7 kB / 0.7555 GB, free: 13.36 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001339/0.63, allocations: 103.7 kB / 0.7556 GB, free: 13.26 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001676/0.6302, allocations: 167.1 kB / 0.7558 GB, free: 13.1 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0006199/0.6308, allocations: 490.5 kB / 0.7563 GB, free: 12.62 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.6308, allocations: 4 kB / 0.7563 GB, free: 12.61 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.753e-06/0.6308, allocations: 0 / 0.7563 GB, free: 12.61 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.492e-06/0.6308, allocations: 0 / 0.7563 GB, free: 12.61 MB / 0.5762 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.000882/0.6317, allocations: 0.6154 MB / 0.7569 GB, free: 11.95 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.683e-05/0.6318, allocations: 16.02 kB / 0.7569 GB, free: 11.94 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003125/0.6321, allocations: 67.36 kB / 0.7569 GB, free: 11.87 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003925/0.6325, allocations: 301.3 kB / 0.7572 GB, free: 11.53 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.355e-05/0.6325, allocations: 20.56 kB / 0.7572 GB, free: 11.51 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.638e-05/0.6326, allocations: 24 kB / 0.7573 GB, free: 11.49 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000545/0.6331, allocations: 323.6 kB / 0.7576 GB, free: 11.15 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.3e-05/0.6331, allocations: 0 / 0.7576 GB, free: 11.15 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.742e-05/0.6332, allocations: 15.94 kB / 0.7576 GB, free: 11.13 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.295e-06/0.6332, allocations: 4 kB / 0.7576 GB, free: 11.13 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004188/0.6336, allocations: 205.5 kB / 0.7578 GB, free: 10.93 MB / 0.5762 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.001571/0.6352, allocations: 1.534 MB / 0.7593 GB, free: 9.258 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002474/0.6355, allocations: 114.5 kB / 0.7594 GB, free: 9.137 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001674/0.6356, allocations: 88.75 kB / 0.7595 GB, free: 9.047 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006378/0.6363, allocations: 307.2 kB / 0.7598 GB, free: 8.691 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.715e-05/0.6363, allocations: 38.81 kB / 0.7598 GB, free: 8.645 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=13): time 1.172e-06/0.6363, allocations: 0 / 0.7598 GB, free: 8.645 MB / 0.5762 GB Notification: Performance of matching and sorting (n=13): time 0.0007223/0.6371, allocations: 281.3 kB / 0.7601 GB, free: 8.367 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.9e-05/0.6371, allocations: 55.41 kB / 0.7601 GB, free: 8.301 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003264/0.6374, allocations: 316.5 kB / 0.7604 GB, free: 7.984 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.599e-05/0.6375, allocations: 25.7 kB / 0.7605 GB, free: 7.953 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001433/0.6376, allocations: 188 kB / 0.7606 GB, free: 7.762 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 4.704e-05/0.6377, allocations: 39.45 kB / 0.7607 GB, free: 7.723 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.7e-05/0.6377, allocations: 41.61 kB / 0.7607 GB, free: 7.676 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001507/0.6379, allocations: 334.8 kB / 0.761 GB, free: 7.34 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000156/0.6381, allocations: 59.95 kB / 0.7611 GB, free: 7.281 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001859/0.6383, allocations: 111.4 kB / 0.7612 GB, free: 7.156 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003326/0.6386, allocations: 185.8 kB / 0.7614 GB, free: 6.957 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.6386, allocations: 1 kB / 0.7614 GB, free: 6.957 MB / 0.5762 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004044/0.639, allocations: 215.4 kB / 0.7616 GB, free: 6.742 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.647e-05/0.6391, allocations: 12.03 kB / 0.7616 GB, free: 6.73 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.768e-06/0.6391, allocations: 0 / 0.7616 GB, free: 6.73 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.312e-05/0.6391, allocations: 4 kB / 0.7616 GB, free: 6.727 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001605/0.6392, allocations: 31.98 kB / 0.7616 GB, free: 6.695 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.085e-05/0.6393, allocations: 7.938 kB / 0.7616 GB, free: 6.688 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001855/0.6395, allocations: 35.66 kB / 0.7617 GB, free: 6.652 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.971e-05/0.6395, allocations: 15.5 kB / 0.7617 GB, free: 6.641 MB / 0.5762 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.0001452/0.6396, allocations: 149.8 kB / 0.7618 GB, free: 6.484 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.603e-05/0.6397, allocations: 31.62 kB / 0.7619 GB, free: 6.453 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004333/0.6401, allocations: 208.3 kB / 0.7621 GB, free: 6.246 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.6402, allocations: 4 kB / 0.7621 GB, free: 6.242 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.6402, allocations: 0 / 0.7621 GB, free: 6.242 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.005e-06/0.6402, allocations: 0 / 0.7621 GB, free: 6.242 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001004/0.6412, allocations: 0.6798 MB / 0.7627 GB, free: 5.484 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.208e-06/0.6412, allocations: 11.97 kB / 0.7627 GB, free: 5.473 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001309/0.6413, allocations: 27.92 kB / 0.7628 GB, free: 5.445 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.342e-06/0.6413, allocations: 4 kB / 0.7628 GB, free: 5.441 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.457e-05/0.6414, allocations: 7.938 kB / 0.7628 GB, free: 5.434 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.853e-06/0.6414, allocations: 0 / 0.7628 GB, free: 5.434 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/0.6414, allocations: 4 kB / 0.7628 GB, free: 5.43 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004367/0.6418, allocations: 333 kB / 0.7631 GB, free: 5.066 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000116/0.6419, allocations: 116.8 kB / 0.7632 GB, free: 4.934 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.947e-05/0.642, allocations: 11.92 kB / 0.7632 GB, free: 4.922 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001702/0.6422, allocations: 19.98 kB / 0.7632 GB, free: 4.902 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.232e-05/0.6422, allocations: 11.98 kB / 0.7633 GB, free: 4.891 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.899e-06/0.6422, allocations: 7.938 kB / 0.7633 GB, free: 4.883 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002179/0.6425, allocations: 223.1 kB / 0.7635 GB, free: 4.668 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.51e-07/0.6425, allocations: 3.938 kB / 0.7635 GB, free: 4.664 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0003503/0.6428, allocations: 79.83 kB / 0.7636 GB, free: 4.586 MB / 0.5762 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.0003506/0.6432, allocations: 143.6 kB / 0.7637 GB, free: 4.449 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0004028/0.6436, allocations: 167.8 kB / 0.7639 GB, free: 4.285 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.6436, allocations: 0 / 0.7639 GB, free: 4.285 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001752/0.6438, allocations: 83.83 kB / 0.7639 GB, free: 4.203 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000762/0.6446, allocations: 168.4 kB / 0.7641 GB, free: 4.062 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008973/0.6455, allocations: 0.6457 MB / 0.7647 GB, free: 3.371 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004114/0.6459, allocations: 0.7872 MB / 0.7655 GB, free: 2.555 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0001851/0.6461, allocations: 58.94 kB / 0.7655 GB, free: 2.496 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.799e-05/0.6461, allocations: 23.44 kB / 0.7656 GB, free: 2.473 MB / 0.5762 GB Notification: Performance of SimCode: time 2.3e-07/0.6461, allocations: 0 / 0.7656 GB, free: 2.473 MB / 0.5762 GB Notification: Performance of Templates: time 0.009667/0.6558, allocations: 5.034 MB / 0.7705 GB, free: 13.54 MB / 0.5919 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)