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: "" <> buildModelFMU(IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Sensors_Examples_EnthalpyFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Sensors_Examples_EnthalpyFlowRate",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000714/0.000714, allocations: 91.69 kB / 15.36 MB, free: 0.7383 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.004013/0.004013, allocations: 171.8 kB / 16.26 MB, free: 6.613 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.333/1.333, allocations: 223.3 MB / 240.3 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9576/0.9576, allocations: 135.3 MB / 426.7 MB, free: 14.26 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003195/0.0003196, allocations: 9.125 kB / 0.5077 GB, free: 4.695 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1396/0.1399, allocations: 82.32 MB / 0.5881 GB, free: 2.555 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.4043/0.5443, allocations: 163.1 MB / 0.7474 GB, free: 5.496 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.006952/0.5512, allocations: 6.47 MB / 0.7537 GB, free: 0.7812 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004023/0.5517, allocations: 10.19 kB / 0.7537 GB, free: 0.7773 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0004721/0.5522, allocations: 133.4 kB / 0.7538 GB, free: 0.6641 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.00183/0.554, allocations: 0.7849 MB / 0.7546 GB, free: 80 kB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008121/0.5548, allocations: 304.4 kB / 0.7549 GB, free: 15.86 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0008514/0.5557, allocations: 1.005 MB / 0.7559 GB, free: 15.32 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003319/0.556, allocations: 231.2 kB / 0.7561 GB, free: 15.19 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009295/0.557, allocations: 0.505 MB / 0.7566 GB, free: 14.89 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000311/0.5573, allocations: 274.7 kB / 0.7568 GB, free: 14.74 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 2.954e-05/0.5573, allocations: 15.53 kB / 0.7569 GB, free: 14.74 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005844/0.5579, allocations: 392.8 kB / 0.7572 GB, free: 14.52 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 9.77e-05/0.558, allocations: 93.45 kB / 0.7573 GB, free: 14.46 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001426/0.5582, allocations: 183.7 kB / 0.7575 GB, free: 14.33 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0004796/0.5587, allocations: 469.9 kB / 0.7579 GB, free: 14.04 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 2.344e-06/0.5587, allocations: 0 / 0.7579 GB, free: 14.04 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.132e-06/0.5587, allocations: 3.031 kB / 0.7579 GB, free: 14.04 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.47e-06/0.5587, allocations: 0 / 0.7579 GB, free: 14.04 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.0006991/0.5594, allocations: 0.5674 MB / 0.7585 GB, free: 13.51 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.677e-05/0.5594, allocations: 8.469 kB / 0.7585 GB, free: 13.51 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.909e-05/0.5595, allocations: 59.86 kB / 0.7586 GB, free: 13.45 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002757/0.5598, allocations: 73.56 kB / 0.7586 GB, free: 13.41 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003455/0.5601, allocations: 306.8 kB / 0.7589 GB, free: 13.12 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.867e-05/0.5602, allocations: 21.28 kB / 0.7589 GB, free: 13.11 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.262e-05/0.5602, allocations: 24.84 kB / 0.759 GB, free: 13.1 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004852/0.5607, allocations: 323.2 kB / 0.7593 GB, free: 12.88 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.857e-06/0.5607, allocations: 3.938 kB / 0.7593 GB, free: 12.88 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.227e-05/0.5607, allocations: 10.94 kB / 0.7593 GB, free: 12.87 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.747e-06/0.5608, allocations: 10.25 kB / 0.7593 GB, free: 12.87 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003843/0.5611, allocations: 213.1 kB / 0.7595 GB, free: 12.78 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.001325/0.5625, allocations: 1.54 MB / 0.761 GB, free: 11.17 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002295/0.5627, allocations: 118.5 kB / 0.7611 GB, free: 11.05 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001752/0.5629, allocations: 96.8 kB / 0.7612 GB, free: 10.95 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000564/0.5635, allocations: 327.2 kB / 0.7615 GB, free: 10.57 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.367e-05/0.5635, allocations: 30.56 kB / 0.7616 GB, free: 10.54 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=13): time 1.383e-06/0.5635, allocations: 0 / 0.7616 GB, free: 10.54 MB / 0.5762 GB Notification: Performance of matching and sorting (n=13): time 0.0007127/0.5642, allocations: 285.2 kB / 0.7618 GB, free: 10.25 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.168e-05/0.5643, allocations: 59.41 kB / 0.7619 GB, free: 10.18 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002752/0.5646, allocations: 308.5 kB / 0.7622 GB, free: 9.875 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.469e-05/0.5646, allocations: 29.7 kB / 0.7622 GB, free: 9.84 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001122/0.5647, allocations: 188 kB / 0.7624 GB, free: 9.652 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.557e-05/0.5647, allocations: 39.45 kB / 0.7624 GB, free: 9.613 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.164e-05/0.5648, allocations: 17.72 kB / 0.7624 GB, free: 9.59 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001156/0.5649, allocations: 342.8 kB / 0.7628 GB, free: 9.246 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000151/0.5651, allocations: 67.95 kB / 0.7628 GB, free: 9.18 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001848/0.5653, allocations: 120.9 kB / 0.7629 GB, free: 9.043 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003219/0.5656, allocations: 177.6 kB / 0.7631 GB, free: 8.852 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.5656, allocations: 4 kB / 0.7631 GB, free: 8.848 MB / 0.5762 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004033/0.566, allocations: 233.8 kB / 0.7633 GB, free: 8.613 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.473e-05/0.566, allocations: 6.031 kB / 0.7634 GB, free: 8.609 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.329e-06/0.566, allocations: 4.156 kB / 0.7634 GB, free: 8.605 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.192e-05/0.5661, allocations: 4 kB / 0.7634 GB, free: 8.602 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001617/0.5662, allocations: 35.92 kB / 0.7634 GB, free: 8.566 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.923e-06/0.5662, allocations: 4 kB / 0.7634 GB, free: 8.562 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000185/0.5664, allocations: 43.64 kB / 0.7634 GB, free: 8.52 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.44e-05/0.5665, allocations: 8 kB / 0.7634 GB, free: 8.512 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.0001292/0.5666, allocations: 153.8 kB / 0.7636 GB, free: 8.352 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.502e-05/0.5666, allocations: 27.66 kB / 0.7636 GB, free: 8.324 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004333/0.5671, allocations: 216.6 kB / 0.7638 GB, free: 8.102 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.438e-06/0.5671, allocations: 8.812 kB / 0.7638 GB, free: 8.094 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.5671, allocations: 0 / 0.7638 GB, free: 8.094 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.746e-06/0.5671, allocations: 3.938 kB / 0.7638 GB, free: 8.09 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009296/0.5681, allocations: 0.696 MB / 0.7645 GB, free: 7.316 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.5681, allocations: 0 / 0.7645 GB, free: 7.316 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001398/0.5682, allocations: 31.97 kB / 0.7645 GB, free: 7.285 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.802e-06/0.5682, allocations: 12.14 kB / 0.7646 GB, free: 7.273 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.341e-05/0.5682, allocations: 12 kB / 0.7646 GB, free: 7.262 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.336e-06/0.5683, allocations: 3.984 kB / 0.7646 GB, free: 7.258 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.396e-06/0.5683, allocations: 6 kB / 0.7646 GB, free: 7.254 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004044/0.5687, allocations: 344.7 kB / 0.7649 GB, free: 6.883 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001005/0.5688, allocations: 124.7 kB / 0.765 GB, free: 6.742 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.359e-05/0.5688, allocations: 7.938 kB / 0.765 GB, free: 6.734 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001787/0.569, allocations: 19.98 kB / 0.7651 GB, free: 6.715 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.232e-05/0.5691, allocations: 15.92 kB / 0.7651 GB, free: 6.699 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.648e-06/0.5691, allocations: 4 kB / 0.7651 GB, free: 6.695 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001885/0.5693, allocations: 227 kB / 0.7653 GB, free: 6.48 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.7e-07/0.5693, allocations: 4 kB / 0.7653 GB, free: 6.477 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0003401/0.5696, allocations: 67.84 kB / 0.7654 GB, free: 6.41 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.0008772/0.5705, allocations: 0.9338 MB / 0.7663 GB, free: 5.438 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.00037/0.5709, allocations: 163.8 kB / 0.7664 GB, free: 5.277 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.5709, allocations: 4 kB / 0.7664 GB, free: 5.273 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001774/0.5711, allocations: 88.56 kB / 0.7665 GB, free: 5.188 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008549/0.5719, allocations: 147.7 kB / 0.7667 GB, free: 5.047 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003143/0.5751, allocations: 2.941 MB / 0.7695 GB, free: 1.961 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003037/0.5754, allocations: 0.7836 MB / 0.7703 GB, free: 1.152 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0001836/0.5756, allocations: 56.06 kB / 0.7703 GB, free: 1.102 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001247/0.5757, allocations: 91.41 kB / 0.7704 GB, free: 1.012 MB / 0.5762 GB Notification: Performance of SimCode: time 3.71e-07/0.5757, allocations: 0 / 0.7704 GB, free: 1.012 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3088/0.8845, allocations: 7.532 MB / 0.7778 GB, free: 9.688 MB / 0.5919 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002636/0.8848, allocations: 236.3 kB / 0.778 GB, free: 9.43 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.851/2.736, allocations: 0 / 0.778 GB, free: 9.43 MB / 0.5919 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Sensors_Examples_EnthalpyFlowRate_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Sensors_Examples_EnthalpyFlowRate.fmu > IDEAS_dev_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe 2>&1)