Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS_Fluid_Sensors_Examples_EnthalpyFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate,fileNamePrefix="IDEAS_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.0009842/0.0009841, 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.000999/0.000999, allocations: 197.9 kB / 16.26 MB, free: 6.621 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.239/1.239, allocations: 222.9 MB / 239.9 MB, free: 4.508 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7051/0.7051, allocations: 132.2 MB / 422.3 MB, free: 1.902 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001126/0.001126, allocations: 63.75 kB / 0.5014 GB, free: 4.066 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3595/0.3606, allocations: 80.2 MB / 0.5797 GB, free: 4.527 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.1625/0.5231, allocations: 165.3 MB / 0.7411 GB, free: 11.8 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.006387/0.5296, allocations: 6.491 MB / 0.7474 GB, free: 5.289 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003932/0.53, allocations: 11.94 kB / 0.7474 GB, free: 5.277 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.000478/0.5305, allocations: 139.1 kB / 0.7476 GB, free: 5.141 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001738/0.5323, allocations: 0.786 MB / 0.7483 GB, free: 4.352 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007536/0.533, allocations: 294.3 kB / 0.7486 GB, free: 4.066 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0006523/0.5337, allocations: 0.7212 MB / 0.7493 GB, free: 3.34 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000347/0.534, allocations: 266.6 kB / 0.7496 GB, free: 3.082 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008988/0.535, allocations: 0.5487 MB / 0.7501 GB, free: 2.531 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003043/0.5353, allocations: 279 kB / 0.7504 GB, free: 2.258 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 3.464e-05/0.5353, allocations: 24 kB / 0.7504 GB, free: 2.234 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000515/0.5358, allocations: 359 kB / 0.7507 GB, free: 1.883 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001002/0.536, allocations: 107.7 kB / 0.7508 GB, free: 1.777 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001311/0.5361, allocations: 159.2 kB / 0.751 GB, free: 1.621 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0005096/0.5366, allocations: 498.4 kB / 0.7515 GB, free: 1.133 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.487e-06/0.5366, allocations: 0 / 0.7515 GB, free: 1.133 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.152e-06/0.5366, allocations: 0 / 0.7515 GB, free: 1.133 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.292e-06/0.5366, allocations: 0 / 0.7515 GB, free: 1.133 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.0007232/0.5374, allocations: 0.6171 MB / 0.7521 GB, free: 480 kB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.469e-05/0.5374, allocations: 12.03 kB / 0.7521 GB, free: 468 kB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.751e-05/0.5375, allocations: 66.47 kB / 0.7521 GB, free: 392 kB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002783/0.5378, allocations: 67.42 kB / 0.7522 GB, free: 324 kB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003316/0.5381, allocations: 309.3 kB / 0.7525 GB, free: 15.98 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.874e-05/0.5381, allocations: 16.56 kB / 0.7525 GB, free: 15.96 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.378e-05/0.5382, allocations: 28 kB / 0.7525 GB, free: 15.93 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004832/0.5387, allocations: 319.6 kB / 0.7528 GB, free: 15.6 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.043e-05/0.5387, allocations: 3.938 kB / 0.7529 GB, free: 15.59 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.44e-05/0.5387, allocations: 12 kB / 0.7529 GB, free: 15.58 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.768e-06/0.5387, allocations: 11.94 kB / 0.7529 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003837/0.5391, allocations: 209.5 kB / 0.7531 GB, free: 15.36 MB / 0.5919 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.001281/0.5404, allocations: 1.53 MB / 0.7546 GB, free: 13.7 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002262/0.5406, allocations: 114.5 kB / 0.7547 GB, free: 13.57 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001681/0.5408, allocations: 95.67 kB / 0.7548 GB, free: 13.48 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006079/0.5414, allocations: 303.2 kB / 0.7551 GB, free: 13.13 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.363e-05/0.5415, allocations: 30.56 kB / 0.7551 GB, free: 13.09 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=13): time 1.633e-06/0.5415, allocations: 0 / 0.7551 GB, free: 13.09 MB / 0.5919 GB Notification: Performance of matching and sorting (n=13): time 0.0006621/0.5421, allocations: 281.4 kB / 0.7554 GB, free: 12.81 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.579e-05/0.5422, allocations: 55.41 kB / 0.7554 GB, free: 12.74 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002628/0.5425, allocations: 308.5 kB / 0.7557 GB, free: 12.43 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 1.932e-05/0.5425, allocations: 25.7 kB / 0.7557 GB, free: 12.4 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001114/0.5426, allocations: 180.1 kB / 0.7559 GB, free: 12.22 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 3.581e-05/0.5426, allocations: 51.38 kB / 0.7559 GB, free: 12.17 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.653e-05/0.5427, allocations: 41.61 kB / 0.756 GB, free: 12.12 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001065/0.5428, allocations: 342.8 kB / 0.7563 GB, free: 11.78 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000139/0.543, allocations: 59.95 kB / 0.7564 GB, free: 11.72 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000172/0.5432, allocations: 111.3 kB / 0.7565 GB, free: 11.59 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000288/0.5435, allocations: 177 kB / 0.7566 GB, free: 11.4 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.5435, allocations: 0 / 0.7566 GB, free: 11.4 MB / 0.5919 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003919/0.5439, allocations: 221.1 kB / 0.7569 GB, free: 11.18 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.307e-05/0.5439, allocations: 4 kB / 0.7569 GB, free: 11.18 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.378e-06/0.5439, allocations: 0 / 0.7569 GB, free: 11.18 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.184e-05/0.5439, allocations: 4 kB / 0.7569 GB, free: 11.17 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001631/0.5441, allocations: 31.98 kB / 0.7569 GB, free: 11.14 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.014e-06/0.5441, allocations: 3.938 kB / 0.7569 GB, free: 11.14 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001822/0.5443, allocations: 47.88 kB / 0.7569 GB, free: 11.09 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.382e-05/0.5443, allocations: 4 kB / 0.7569 GB, free: 11.09 MB / 0.5919 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.0001249/0.5445, allocations: 151.3 kB / 0.7571 GB, free: 10.93 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.665e-05/0.5445, allocations: 31.62 kB / 0.7571 GB, free: 10.9 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003976/0.5449, allocations: 212.3 kB / 0.7573 GB, free: 10.68 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.435e-06/0.5449, allocations: 4 kB / 0.7573 GB, free: 10.68 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.176e-06/0.5449, allocations: 0 / 0.7573 GB, free: 10.68 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.5449, allocations: 0 / 0.7573 GB, free: 10.68 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008864/0.5458, allocations: 0.6757 MB / 0.758 GB, free: 9.926 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.5458, allocations: 0 / 0.758 GB, free: 9.926 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001249/0.546, allocations: 35.92 kB / 0.758 GB, free: 9.891 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.897e-06/0.546, allocations: 3.938 kB / 0.758 GB, free: 9.887 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.344e-05/0.546, allocations: 7.938 kB / 0.758 GB, free: 9.879 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.689e-06/0.546, allocations: 7.984 kB / 0.758 GB, free: 9.871 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.546, allocations: 0 / 0.758 GB, free: 9.871 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003805/0.5464, allocations: 341.2 kB / 0.7584 GB, free: 9.5 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 9.155e-05/0.5465, allocations: 116.7 kB / 0.7585 GB, free: 9.367 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.904e-05/0.5465, allocations: 8 kB / 0.7585 GB, free: 9.359 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001879/0.5467, allocations: 23.83 kB / 0.7585 GB, free: 9.336 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.564e-05/0.5468, allocations: 11.98 kB / 0.7585 GB, free: 9.324 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.988e-06/0.5468, allocations: 8 kB / 0.7585 GB, free: 9.316 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0001829/0.547, allocations: 227 kB / 0.7587 GB, free: 9.098 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.1e-07/0.547, allocations: 0 / 0.7587 GB, free: 9.098 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003366/0.5473, allocations: 71.91 kB / 0.7588 GB, free: 9.027 MB / 0.5919 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.000912/0.5483, allocations: 0.9301 MB / 0.7597 GB, free: 8.062 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0003612/0.5486, allocations: 160 kB / 0.7599 GB, free: 7.906 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.5486, allocations: 0 / 0.7599 GB, free: 7.906 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001658/0.5488, allocations: 83.88 kB / 0.76 GB, free: 7.824 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007614/0.5496, allocations: 150 kB / 0.7601 GB, free: 7.688 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002974/0.5526, allocations: 2.899 MB / 0.7629 GB, free: 4.641 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002862/0.5529, allocations: 0.7794 MB / 0.7637 GB, free: 3.832 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0001924/0.5531, allocations: 66.92 kB / 0.7638 GB, free: 3.77 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001149/0.5532, allocations: 91.41 kB / 0.7638 GB, free: 3.68 MB / 0.5919 GB Notification: Performance of SimCode: time 2.41e-07/0.5532, allocations: 0 / 0.7638 GB, free: 3.68 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01722/0.5704, allocations: 7.876 MB / 0.7715 GB, free: 12.04 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002029/0.5707, allocations: 225.4 kB / 0.7717 GB, free: 11.79 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.791/2.362, allocations: 0 / 0.7717 GB, free: 11.79 MB / 0.6075 GB (rm -f IDEAS_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; mkfifo IDEAS_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe >> ../files/IDEAS_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Sensors_Examples_EnthalpyFlowRate_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Sensors_Examples_EnthalpyFlowRate.fmu > IDEAS_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe 2>&1)