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.001418/0.001418, allocations: 106.7 kB / 16.41 MB, free: 6.496 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.00149/0.00149, allocations: 185.5 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.45/1.45, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8599/0.8599, allocations: 135.2 MB / 426.4 MB, free: 4.074 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001944/0.001944, allocations: 68.25 kB / 0.5863 GB, free: 21.38 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1869/0.1888, allocations: 80.93 MB / 0.6654 GB, free: 5.715 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.6244/0.8132, allocations: 168 MB / 0.8294 GB, free: 15.39 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.008269/0.8215, allocations: 6.556 MB / 0.8358 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005399/0.822, allocations: 14.81 kB / 0.8358 GB, free: 10.08 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0006366/0.8226, allocations: 171.6 kB / 0.836 GB, free: 9.934 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.002455/0.8251, allocations: 0.8851 MB / 0.8369 GB, free: 9.266 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001043/0.8261, allocations: 311.9 kB / 0.8372 GB, free: 9.043 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0008917/0.827, allocations: 0.73 MB / 0.8379 GB, free: 8.621 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004124/0.8275, allocations: 236.3 kB / 0.8381 GB, free: 8.473 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001175/0.8286, allocations: 0.5663 MB / 0.8386 GB, free: 8.117 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003749/0.829, allocations: 269 kB / 0.8389 GB, free: 7.965 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.645e-05/0.829, allocations: 22.62 kB / 0.8389 GB, free: 7.965 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006789/0.8297, allocations: 343.7 kB / 0.8393 GB, free: 7.785 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001282/0.8298, allocations: 107.1 kB / 0.8394 GB, free: 7.715 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0002333/0.8301, allocations: 169.6 kB / 0.8395 GB, free: 7.605 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0007106/0.8308, allocations: 484.8 kB / 0.84 GB, free: 7.301 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.8308, allocations: 0 / 0.84 GB, free: 7.301 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.553e-06/0.8308, allocations: 0 / 0.84 GB, free: 7.301 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.644e-06/0.8308, allocations: 0 / 0.84 GB, free: 7.301 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.0009987/0.8318, allocations: 0.6186 MB / 0.8406 GB, free: 6.738 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.803e-05/0.8318, allocations: 10.98 kB / 0.8406 GB, free: 6.738 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003357/0.8322, allocations: 81.95 kB / 0.8407 GB, free: 6.688 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005361/0.8327, allocations: 317.5 kB / 0.841 GB, free: 6.391 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.382e-05/0.8327, allocations: 18.56 kB / 0.841 GB, free: 6.383 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.763e-05/0.8328, allocations: 29.91 kB / 0.841 GB, free: 6.371 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005393/0.8333, allocations: 316 kB / 0.8413 GB, free: 6.152 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.354e-05/0.8333, allocations: 2.969 kB / 0.8413 GB, free: 6.152 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.686e-05/0.8334, allocations: 14.66 kB / 0.8413 GB, free: 6.141 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.097e-06/0.8334, allocations: 5.062 kB / 0.8413 GB, free: 6.141 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000423/0.8338, allocations: 213.5 kB / 0.8415 GB, free: 6.039 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.00191/0.8357, allocations: 1.54 MB / 0.8431 GB, free: 4.578 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002513/0.8359, allocations: 111.4 kB / 0.8432 GB, free: 4.512 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001717/0.8361, allocations: 84.56 kB / 0.8432 GB, free: 4.469 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005855/0.8367, allocations: 302 kB / 0.8435 GB, free: 4.16 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.065e-05/0.8367, allocations: 38.56 kB / 0.8436 GB, free: 4.113 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=13): time 1.483e-06/0.8367, allocations: 0 / 0.8436 GB, free: 4.113 MB / 0.6075 GB Notification: Performance of matching and sorting (n=13): time 0.0007467/0.8375, allocations: 276 kB / 0.8438 GB, free: 3.969 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.4e-05/0.8375, allocations: 51.41 kB / 0.8439 GB, free: 3.906 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003543/0.8379, allocations: 310.2 kB / 0.8442 GB, free: 3.699 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.766e-05/0.8379, allocations: 36.39 kB / 0.8442 GB, free: 3.66 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001994/0.8381, allocations: 183.9 kB / 0.8444 GB, free: 3.492 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.357e-05/0.8382, allocations: 46.98 kB / 0.8444 GB, free: 3.453 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.137e-05/0.8382, allocations: 38.61 kB / 0.8445 GB, free: 3.422 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0002163/0.8384, allocations: 342.3 kB / 0.8448 GB, free: 3.086 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001448/0.8386, allocations: 54.55 kB / 0.8448 GB, free: 3.062 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002001/0.8388, allocations: 117.8 kB / 0.845 GB, free: 2.973 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003282/0.8391, allocations: 180.8 kB / 0.8451 GB, free: 2.852 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.8391, allocations: 0 / 0.8451 GB, free: 2.852 MB / 0.6075 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004239/0.8395, allocations: 216.8 kB / 0.8453 GB, free: 2.73 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.028e-05/0.8396, allocations: 8.516 kB / 0.8453 GB, free: 2.727 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.214e-06/0.8396, allocations: 2.812 kB / 0.8453 GB, free: 2.727 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.497e-05/0.8396, allocations: 2.75 kB / 0.8453 GB, free: 2.727 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001647/0.8398, allocations: 37.39 kB / 0.8454 GB, free: 2.715 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.464e-06/0.8398, allocations: 2.469 kB / 0.8454 GB, free: 2.715 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001775/0.8399, allocations: 26.3 kB / 0.8454 GB, free: 2.699 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.968e-05/0.84, allocations: 8.406 kB / 0.8454 GB, free: 2.695 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.8401, allocations: 152.1 kB / 0.8456 GB, free: 2.555 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.102e-05/0.8402, allocations: 28.38 kB / 0.8456 GB, free: 2.539 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004562/0.8406, allocations: 215.9 kB / 0.8458 GB, free: 2.406 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.977e-06/0.8406, allocations: 2.469 kB / 0.8458 GB, free: 2.406 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.8406, allocations: 0 / 0.8458 GB, free: 2.406 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.8406, allocations: 0 / 0.8458 GB, free: 2.406 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001149/0.8418, allocations: 0.6808 MB / 0.8465 GB, free: 1.832 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.937e-06/0.8418, allocations: 2.719 kB / 0.8465 GB, free: 1.832 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001273/0.8419, allocations: 30.34 kB / 0.8465 GB, free: 1.824 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.047e-06/0.8419, allocations: 6.969 kB / 0.8465 GB, free: 1.82 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.718e-05/0.8419, allocations: 6.312 kB / 0.8465 GB, free: 1.816 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.859e-06/0.842, allocations: 3.891 kB / 0.8465 GB, free: 1.816 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/0.842, allocations: 14.31 kB / 0.8465 GB, free: 1.805 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004704/0.8424, allocations: 336.5 kB / 0.8468 GB, free: 1.527 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001781/0.8426, allocations: 127.8 kB / 0.847 GB, free: 1.398 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.15e-05/0.8426, allocations: 7.094 kB / 0.847 GB, free: 1.395 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001542/0.8428, allocations: 12.8 kB / 0.847 GB, free: 1.387 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.992e-05/0.8428, allocations: 11.42 kB / 0.847 GB, free: 1.383 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.367e-05/0.8429, allocations: 9.375 kB / 0.847 GB, free: 1.379 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0002734/0.8431, allocations: 220.9 kB / 0.8472 GB, free: 1.238 MB / 0.6075 GB Notification: Performance of sort global known variables: time 8.1e-08/0.8431, allocations: 0 / 0.8472 GB, free: 1.238 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0004085/0.8435, allocations: 74.06 kB / 0.8473 GB, free: 1.223 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.0004034/0.8439, allocations: 154.5 kB / 0.8474 GB, free: 1.102 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0004026/0.8444, allocations: 151.5 kB / 0.8476 GB, free: 1.035 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/0.8444, allocations: 0 / 0.8476 GB, free: 1.035 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001793/0.8445, allocations: 84 kB / 0.8477 GB, free: 0.9961 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007897/0.8453, allocations: 154 kB / 0.8478 GB, free: 0.918 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009739/0.8463, allocations: 0.5733 MB / 0.8484 GB, free: 492 kB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006124/0.8469, allocations: 0.7811 MB / 0.8491 GB, free: 15.73 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.093e-05/0.847, allocations: 29.47 kB / 0.8492 GB, free: 15.72 MB / 0.6231 GB Notification: Performance of SimCode: time 4.5e-07/0.847, allocations: 0 / 0.8492 GB, free: 15.72 MB / 0.6231 GB Notification: Performance of Templates: time 0.007773/0.8548, allocations: 4.584 MB / 0.8536 GB, free: 13.37 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)