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.001513/0.001513, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001679/0.001679, allocations: 192.8 kB / 16.53 MB, free: 6.699 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.313/1.313, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8855/0.8855, allocations: 135.1 MB / 425.5 MB, free: 11.95 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001276/0.001276, allocations: 61.14 kB / 0.5054 GB, free: 5.195 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1265/0.1278, allocations: 80.93 MB / 0.5845 GB, free: 4.426 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.3783/0.5061, allocations: 167.5 MB / 0.7481 GB, free: 2.969 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.007443/0.5136, allocations: 6.538 MB / 0.7544 GB, free: 13.67 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004866/0.5141, allocations: 16.31 kB / 0.7545 GB, free: 13.66 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0005061/0.5147, allocations: 179.2 kB / 0.7546 GB, free: 13.51 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001751/0.5164, allocations: 0.8339 MB / 0.7554 GB, free: 12.88 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007722/0.5172, allocations: 333.9 kB / 0.7558 GB, free: 12.63 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0006543/0.5179, allocations: 0.7194 MB / 0.7565 GB, free: 12.23 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004006/0.5183, allocations: 268.7 kB / 0.7567 GB, free: 12.07 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008053/0.5191, allocations: 0.5496 MB / 0.7573 GB, free: 11.73 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002996/0.5194, allocations: 268 kB / 0.7575 GB, free: 11.58 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 3.688e-05/0.5195, allocations: 24.25 kB / 0.7575 GB, free: 11.58 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005076/0.52, allocations: 335.2 kB / 0.7579 GB, free: 11.3 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001046/0.5201, allocations: 107.7 kB / 0.758 GB, free: 11.2 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001398/0.5202, allocations: 167.1 kB / 0.7581 GB, free: 11.04 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0005001/0.5207, allocations: 470.5 kB / 0.7586 GB, free: 10.57 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.5208, allocations: 0 / 0.7586 GB, free: 10.57 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.162e-06/0.5208, allocations: 0 / 0.7586 GB, free: 10.57 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 9.207e-06/0.5208, allocations: 0 / 0.7586 GB, free: 10.57 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.0007138/0.5215, allocations: 0.6194 MB / 0.7592 GB, free: 9.91 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.348e-05/0.5215, allocations: 8.031 kB / 0.7592 GB, free: 9.902 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.888e-05/0.5216, allocations: 66.48 kB / 0.7592 GB, free: 9.828 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002658/0.5219, allocations: 71.42 kB / 0.7593 GB, free: 9.758 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003108/0.5222, allocations: 301.3 kB / 0.7596 GB, free: 9.422 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.691e-05/0.5222, allocations: 16.56 kB / 0.7596 GB, free: 9.406 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.059e-05/0.5223, allocations: 28 kB / 0.7596 GB, free: 9.379 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004566/0.5227, allocations: 319.7 kB / 0.7599 GB, free: 9.043 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.799e-06/0.5227, allocations: 3.984 kB / 0.7599 GB, free: 9.039 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.15e-05/0.5228, allocations: 12 kB / 0.76 GB, free: 9.027 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.665e-06/0.5228, allocations: 8 kB / 0.76 GB, free: 9.02 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003764/0.5232, allocations: 205.9 kB / 0.7602 GB, free: 8.82 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.001267/0.5244, allocations: 1.534 MB / 0.7617 GB, free: 7.148 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002205/0.5247, allocations: 122.5 kB / 0.7618 GB, free: 7.02 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001602/0.5248, allocations: 93.55 kB / 0.7619 GB, free: 6.926 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000553/0.5254, allocations: 299.2 kB / 0.7621 GB, free: 6.578 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.814e-05/0.5254, allocations: 38.56 kB / 0.7622 GB, free: 6.531 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=13): time 1.243e-06/0.5254, allocations: 0 / 0.7622 GB, free: 6.531 MB / 0.5762 GB Notification: Performance of matching and sorting (n=13): time 0.0006484/0.5261, allocations: 273.1 kB / 0.7624 GB, free: 6.258 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.13e-05/0.5261, allocations: 55.41 kB / 0.7625 GB, free: 6.191 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002613/0.5264, allocations: 312.5 kB / 0.7628 GB, free: 5.879 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.871e-05/0.5264, allocations: 29.7 kB / 0.7628 GB, free: 5.844 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001028/0.5265, allocations: 184 kB / 0.763 GB, free: 5.656 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.275e-05/0.5266, allocations: 39.45 kB / 0.763 GB, free: 5.617 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.75e-05/0.5266, allocations: 41.61 kB / 0.7631 GB, free: 5.57 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001041/0.5267, allocations: 342.8 kB / 0.7634 GB, free: 5.227 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001434/0.5269, allocations: 66.33 kB / 0.7635 GB, free: 5.164 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001682/0.5271, allocations: 109.1 kB / 0.7636 GB, free: 5.039 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002979/0.5274, allocations: 177.4 kB / 0.7637 GB, free: 4.848 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.993e-06/0.5274, allocations: 0 / 0.7637 GB, free: 4.848 MB / 0.5762 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003733/0.5278, allocations: 223.4 kB / 0.764 GB, free: 4.625 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.134e-05/0.5278, allocations: 6.344 kB / 0.764 GB, free: 4.621 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.56e-06/0.5278, allocations: 4 kB / 0.764 GB, free: 4.617 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.041e-05/0.5278, allocations: 0 / 0.764 GB, free: 4.617 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001515/0.528, allocations: 31.98 kB / 0.764 GB, free: 4.586 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.462e-06/0.528, allocations: 3.938 kB / 0.764 GB, free: 4.582 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001491/0.5281, allocations: 35.61 kB / 0.764 GB, free: 4.547 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.25e-05/0.5282, allocations: 8 kB / 0.764 GB, free: 4.539 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.0001222/0.5283, allocations: 163.1 kB / 0.7642 GB, free: 4.371 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.492e-05/0.5283, allocations: 27.62 kB / 0.7642 GB, free: 4.344 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003937/0.5287, allocations: 208.3 kB / 0.7644 GB, free: 4.137 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.5288, allocations: 0 / 0.7644 GB, free: 4.137 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.017e-06/0.5288, allocations: 3.312 kB / 0.7644 GB, free: 4.137 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.988e-06/0.5288, allocations: 3.984 kB / 0.7644 GB, free: 4.133 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008614/0.5296, allocations: 0.6874 MB / 0.7651 GB, free: 3.367 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.5296, allocations: 0 / 0.7651 GB, free: 3.367 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001229/0.5298, allocations: 36.14 kB / 0.7651 GB, free: 3.332 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-06/0.5298, allocations: 0 / 0.7651 GB, free: 3.332 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.923e-05/0.5298, allocations: 11.94 kB / 0.7651 GB, free: 3.32 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.136e-06/0.5298, allocations: 4 kB / 0.7651 GB, free: 3.316 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.5298, allocations: 0 / 0.7651 GB, free: 3.316 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003766/0.5302, allocations: 336.5 kB / 0.7655 GB, free: 2.953 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 8.991e-05/0.5303, allocations: 112.8 kB / 0.7656 GB, free: 2.824 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.534e-05/0.5303, allocations: 7.938 kB / 0.7656 GB, free: 2.816 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001477/0.5305, allocations: 19.98 kB / 0.7656 GB, free: 2.797 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.706e-05/0.5305, allocations: 7.984 kB / 0.7656 GB, free: 2.789 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.077e-05/0.5306, allocations: 8 kB / 0.7656 GB, free: 2.781 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.000178/0.5307, allocations: 223 kB / 0.7658 GB, free: 2.566 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5307, allocations: 0 / 0.7658 GB, free: 2.566 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0003156/0.5311, allocations: 79.84 kB / 0.7659 GB, free: 2.488 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.0007951/0.5319, allocations: 0.9158 MB / 0.7668 GB, free: 1.531 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0003528/0.5322, allocations: 160.8 kB / 0.767 GB, free: 1.375 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.5322, allocations: 3.938 kB / 0.767 GB, free: 1.371 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001622/0.5324, allocations: 95.19 kB / 0.7671 GB, free: 1.281 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007175/0.5331, allocations: 146 kB / 0.7672 GB, free: 1.152 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002815/0.536, allocations: 2.824 MB / 0.7699 GB, free: 14.18 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002843/0.5363, allocations: 0.7795 MB / 0.7707 GB, free: 13.38 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0001642/0.5364, allocations: 59 kB / 0.7708 GB, free: 13.33 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001137/0.5366, allocations: 91.41 kB / 0.7709 GB, free: 13.24 MB / 0.5919 GB Notification: Performance of SimCode: time 2.61e-07/0.5366, allocations: 0 / 0.7709 GB, free: 13.24 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2925/0.8291, allocations: 8.022 MB / 0.7787 GB, free: 5.391 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.245/9.075, allocations: 9.141 kB / 0.7787 GB, free: 5.387 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)