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.0012/0.0012, allocations: 108.1 kB / 16.41 MB, free: 6.5 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.001272/0.001272, allocations: 188.1 kB / 17.34 MB, free: 5.762 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.394/1.394, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8402/0.8402, allocations: 135.1 MB / 426.3 MB, free: 4.094 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00127/0.00127, allocations: 65.72 kB / 0.5863 GB, free: 21.72 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1551/0.1564, allocations: 80.92 MB / 0.6653 GB, free: 5.766 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.5541/0.7105, allocations: 167.5 MB / 0.8289 GB, free: 15.77 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.007402/0.718, allocations: 6.539 MB / 0.8353 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005494/0.7186, allocations: 14.03 kB / 0.8353 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0006761/0.7193, allocations: 180 kB / 0.8355 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.002394/0.7217, allocations: 0.8354 MB / 0.8363 GB, free: 9.684 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.00108/0.7228, allocations: 333.8 kB / 0.8366 GB, free: 9.441 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001069/0.7239, allocations: 0.7198 MB / 0.8373 GB, free: 9.027 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005177/0.7244, allocations: 275.1 kB / 0.8376 GB, free: 8.867 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001337/0.7258, allocations: 0.564 MB / 0.8381 GB, free: 8.512 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005469/0.7263, allocations: 266.6 kB / 0.8384 GB, free: 8.363 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 6.027e-05/0.7264, allocations: 22.34 kB / 0.8384 GB, free: 8.363 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007439/0.7272, allocations: 337.9 kB / 0.8387 GB, free: 8.188 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001411/0.7273, allocations: 104.3 kB / 0.8388 GB, free: 8.117 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0002507/0.7276, allocations: 167.6 kB / 0.839 GB, free: 8.012 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0008006/0.7284, allocations: 480.8 kB / 0.8395 GB, free: 7.707 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.588e-06/0.7284, allocations: 0 / 0.8395 GB, free: 7.707 MB / 0.6075 GB Notification: Performance of FrontEnd: time 3.667e-06/0.7284, allocations: 2.75 kB / 0.8395 GB, free: 7.707 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.698e-05/0.7284, allocations: 3.938 kB / 0.8395 GB, free: 7.703 MB / 0.6075 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.001021/0.7295, allocations: 0.6062 MB / 0.84 GB, free: 7.152 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.932e-05/0.7295, allocations: 8.891 kB / 0.8401 GB, free: 7.152 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003755/0.7299, allocations: 71.94 kB / 0.8401 GB, free: 7.113 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005623/0.7305, allocations: 319.9 kB / 0.8404 GB, free: 6.812 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.532e-05/0.7305, allocations: 18.94 kB / 0.8404 GB, free: 6.805 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.879e-05/0.7305, allocations: 30.06 kB / 0.8405 GB, free: 6.793 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005649/0.7311, allocations: 313.8 kB / 0.8408 GB, free: 6.574 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.272e-05/0.7311, allocations: 0 / 0.8408 GB, free: 6.574 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.729e-05/0.7312, allocations: 10.34 kB / 0.8408 GB, free: 6.566 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.197e-05/0.7312, allocations: 7.969 kB / 0.8408 GB, free: 6.566 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004255/0.7316, allocations: 210.9 kB / 0.841 GB, free: 6.465 MB / 0.6075 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.001618/0.7332, allocations: 1.53 MB / 0.8425 GB, free: 5.016 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002675/0.7335, allocations: 125.9 kB / 0.8426 GB, free: 4.938 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001763/0.7337, allocations: 92.83 kB / 0.8427 GB, free: 4.891 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005795/0.7343, allocations: 297.4 kB / 0.843 GB, free: 4.586 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.441e-05/0.7343, allocations: 37.47 kB / 0.843 GB, free: 4.543 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=13): time 1.894e-06/0.7344, allocations: 0 / 0.843 GB, free: 4.543 MB / 0.6075 GB Notification: Performance of matching and sorting (n=13): time 0.0007971/0.7352, allocations: 272 kB / 0.8433 GB, free: 4.398 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.12e-05/0.7352, allocations: 57.72 kB / 0.8433 GB, free: 4.332 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003408/0.7356, allocations: 309.9 kB / 0.8436 GB, free: 4.125 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.799e-05/0.7356, allocations: 33.64 kB / 0.8437 GB, free: 4.086 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001381/0.7357, allocations: 181.7 kB / 0.8438 GB, free: 3.922 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.008e-05/0.7358, allocations: 46.89 kB / 0.8439 GB, free: 3.883 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.769e-05/0.7359, allocations: 34.55 kB / 0.8439 GB, free: 3.855 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001411/0.736, allocations: 341.6 kB / 0.8442 GB, free: 3.52 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001487/0.7362, allocations: 58.48 kB / 0.8443 GB, free: 3.492 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000188/0.7364, allocations: 116.5 kB / 0.8444 GB, free: 3.406 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003282/0.7367, allocations: 175.5 kB / 0.8446 GB, free: 3.285 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.7367, allocations: 0 / 0.8446 GB, free: 3.285 MB / 0.6075 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004308/0.7371, allocations: 221.7 kB / 0.8448 GB, free: 3.16 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.729e-05/0.7372, allocations: 9.406 kB / 0.8448 GB, free: 3.156 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.054e-06/0.7372, allocations: 2.281 kB / 0.8448 GB, free: 3.156 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.901e-05/0.7372, allocations: 2.469 kB / 0.8448 GB, free: 3.156 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001699/0.7374, allocations: 36.92 kB / 0.8448 GB, free: 3.145 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.785e-06/0.7374, allocations: 2.875 kB / 0.8448 GB, free: 3.145 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002152/0.7376, allocations: 31.27 kB / 0.8449 GB, free: 3.125 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.8e-05/0.7377, allocations: 5.125 kB / 0.8449 GB, free: 3.125 MB / 0.6075 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.0001566/0.7378, allocations: 157.7 kB / 0.845 GB, free: 2.98 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.892e-05/0.7379, allocations: 28.47 kB / 0.845 GB, free: 2.965 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004436/0.7383, allocations: 211.2 kB / 0.8452 GB, free: 2.836 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.369e-06/0.7383, allocations: 2.469 kB / 0.8452 GB, free: 2.836 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.7384, allocations: 0 / 0.8452 GB, free: 2.836 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.151e-06/0.7384, allocations: 7.359 kB / 0.8453 GB, free: 2.832 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001025/0.7394, allocations: 0.6832 MB / 0.8459 GB, free: 2.25 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.008e-06/0.7394, allocations: 2.094 kB / 0.8459 GB, free: 2.25 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001392/0.7396, allocations: 30.95 kB / 0.846 GB, free: 2.242 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.779e-06/0.7396, allocations: 2.219 kB / 0.846 GB, free: 2.242 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.657e-05/0.7396, allocations: 6.031 kB / 0.846 GB, free: 2.238 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.66e-06/0.7396, allocations: 7.125 kB / 0.846 GB, free: 2.234 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.7396, allocations: 6.906 kB / 0.846 GB, free: 2.23 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004405/0.7401, allocations: 333.9 kB / 0.8463 GB, free: 1.957 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00012/0.7402, allocations: 116 kB / 0.8464 GB, free: 1.84 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.793e-05/0.7402, allocations: 10.94 kB / 0.8464 GB, free: 1.832 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001589/0.7404, allocations: 8.703 kB / 0.8464 GB, free: 1.828 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.485e-05/0.7405, allocations: 15.83 kB / 0.8464 GB, free: 1.82 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.728e-06/0.7405, allocations: 8.344 kB / 0.8464 GB, free: 1.816 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0002142/0.7407, allocations: 224.5 kB / 0.8467 GB, free: 1.672 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.21e-07/0.7407, allocations: 0 / 0.8467 GB, free: 1.672 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003817/0.7411, allocations: 73.47 kB / 0.8467 GB, free: 1.656 MB / 0.6075 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.0003976/0.7415, allocations: 170.6 kB / 0.8469 GB, free: 1.523 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.000406/0.7419, allocations: 157 kB / 0.847 GB, free: 1.453 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.7419, allocations: 0 / 0.847 GB, free: 1.453 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001669/0.7421, allocations: 81.95 kB / 0.8471 GB, free: 1.418 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008322/0.7429, allocations: 154.3 kB / 0.8473 GB, free: 1.34 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008924/0.7438, allocations: 0.5571 MB / 0.8478 GB, free: 0.9141 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003771/0.7442, allocations: 0.785 MB / 0.8486 GB, free: 172 kB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.498e-05/0.7443, allocations: 25.09 kB / 0.8486 GB, free: 164 kB / 0.6075 GB Notification: Performance of SimCode: time 2e-07/0.7443, allocations: 0 / 0.8486 GB, free: 164 kB / 0.6075 GB Notification: Performance of Templates: time 0.007921/0.7522, allocations: 4.572 MB / 0.8531 GB, free: 13.82 MB / 0.6231 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)