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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.007276/0.007276, allocations: 171.8 kB / 15.12 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8024/0.8024, allocations: 135.2 MB / 151.1 MB, free: 13.8 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.628/1.628, allocations: 223.1 MB / 406.8 MB, free: 3.23 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000991/0.000991, allocations: 97.97 kB / 489.9 MB, free: 10.88 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004264/0.0004263, allocations: 12 kB / 0.5692 GB, free: 14.05 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4709/0.4713, allocations: 82.31 MB / 0.6495 GB, free: 36.09 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.538/5.01, allocations: 1.83 GB / 2.48 GB, free: 147.3 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003015/5.01, allocations: 96.45 kB / 2.48 GB, free: 147.2 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 1.002/6.012, allocations: 300.7 MB / 2.774 GB, free: 112.5 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.895e-06/6.012, allocations: 4 kB / 2.774 GB, free: 112.5 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 4.319e-05/6.012, allocations: 12 kB / 2.774 GB, free: 112.5 MB / 0.6823 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.001645/6.014, allocations: 0.6934 MB / 2.774 GB, free: 111.8 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.043e-05/6.014, allocations: 8.031 kB / 2.774 GB, free: 111.8 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001251/6.014, allocations: 58.55 kB / 2.774 GB, free: 111.7 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003906/6.014, allocations: 63.5 kB / 2.774 GB, free: 111.6 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005693/6.015, allocations: 323.8 kB / 2.775 GB, free: 111.3 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.405e-05/6.015, allocations: 20.56 kB / 2.775 GB, free: 111.2 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.122e-05/6.015, allocations: 27.95 kB / 2.775 GB, free: 111.2 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005197/6.016, allocations: 319.6 kB / 2.775 GB, free: 110.9 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.352e-05/6.016, allocations: 0 / 2.775 GB, free: 110.9 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.61e-05/6.016, allocations: 12 kB / 2.775 GB, free: 110.9 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.09e-05/6.016, allocations: 4 kB / 2.775 GB, free: 110.9 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003935/6.016, allocations: 217.4 kB / 2.775 GB, free: 110.7 MB / 0.6823 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.001474/6.018, allocations: 1.524 MB / 2.777 GB, free: 109 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002205/6.018, allocations: 114.5 kB / 2.777 GB, free: 108.9 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004555/6.018, allocations: 299.3 kB / 2.777 GB, free: 108.5 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.12e-05/6.018, allocations: 30.56 kB / 2.777 GB, free: 108.5 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=13): time 1.323e-06/6.018, allocations: 4 kB / 2.777 GB, free: 108.5 MB / 0.6823 GB Notification: Performance of matching and sorting (n=13): time 0.000731/6.019, allocations: 276.2 kB / 2.778 GB, free: 108.2 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.122e-05/6.019, allocations: 59.34 kB / 2.778 GB, free: 108.1 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002372/6.019, allocations: 271.7 kB / 2.778 GB, free: 107.9 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.476e-05/6.019, allocations: 33.7 kB / 2.778 GB, free: 107.8 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 9.368e-05/6.019, allocations: 180.1 kB / 2.778 GB, free: 107.7 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 3.136e-05/6.02, allocations: 47.28 kB / 2.778 GB, free: 107.6 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.027e-06/6.02, allocations: 8 kB / 2.778 GB, free: 107.6 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 7.452e-05/6.02, allocations: 338.8 kB / 2.778 GB, free: 107.3 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001355/6.02, allocations: 63.95 kB / 2.778 GB, free: 107.2 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001628/6.02, allocations: 120.1 kB / 2.779 GB, free: 107.1 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001485/6.02, allocations: 72.75 kB / 2.779 GB, free: 107 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/6.02, allocations: 3.938 kB / 2.779 GB, free: 107 MB / 0.6823 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003847/6.021, allocations: 221.2 kB / 2.779 GB, free: 106.8 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.7e-05/6.021, allocations: 4 kB / 2.779 GB, free: 106.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.635e-06/6.021, allocations: 8 kB / 2.779 GB, free: 106.8 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.518e-05/6.021, allocations: 0 / 2.779 GB, free: 106.8 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001748/6.021, allocations: 36.14 kB / 2.779 GB, free: 106.7 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.907e-06/6.021, allocations: 7.984 kB / 2.779 GB, free: 106.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002437/6.021, allocations: 35.73 kB / 2.779 GB, free: 106.7 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.734e-05/6.021, allocations: 8 kB / 2.779 GB, free: 106.7 MB / 0.6823 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001546/6.021, allocations: 157.7 kB / 2.779 GB, free: 106.5 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.297e-05/6.021, allocations: 31.62 kB / 2.779 GB, free: 106.5 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004268/6.022, allocations: 208.3 kB / 2.779 GB, free: 106.3 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.25e-06/6.022, allocations: 7.984 kB / 2.779 GB, free: 106.2 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.651e-06/6.022, allocations: 3.938 kB / 2.779 GB, free: 106.2 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/6.022, allocations: 0 / 2.779 GB, free: 106.2 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008816/6.023, allocations: 0.668 MB / 2.78 GB, free: 105.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.689e-06/6.023, allocations: 4 kB / 2.78 GB, free: 105.5 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001288/6.023, allocations: 27.98 kB / 2.78 GB, free: 105.5 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.599e-06/6.023, allocations: 0 / 2.78 GB, free: 105.5 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.559e-05/6.023, allocations: 8 kB / 2.78 GB, free: 105.5 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.03e-06/6.023, allocations: 7.938 kB / 2.78 GB, free: 105.5 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/6.023, allocations: 8.203 kB / 2.78 GB, free: 105.4 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004189/6.023, allocations: 421 kB / 2.78 GB, free: 105 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000123/6.023, allocations: 120.8 kB / 2.781 GB, free: 104.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.703e-05/6.023, allocations: 4 kB / 2.781 GB, free: 104.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001954/6.024, allocations: 35.77 kB / 2.781 GB, free: 104.8 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.427e-05/6.024, allocations: 11.98 kB / 2.781 GB, free: 104.8 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.06e-05/6.024, allocations: 16 kB / 2.781 GB, free: 104.8 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.000181/6.024, allocations: 219.1 kB / 2.781 GB, free: 104.5 MB / 0.6823 GB Notification: Performance of sort global known variables: time 2.31e-07/6.024, allocations: 0 / 2.781 GB, free: 104.5 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0008773/6.025, allocations: 175.9 kB / 2.781 GB, free: 104.4 MB / 0.6823 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002721/6.028, allocations: 2.517 MB / 2.783 GB, free: 101.8 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0003894/6.028, allocations: 157.2 kB / 2.784 GB, free: 101.6 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.796e-06/6.028, allocations: 3.938 kB / 2.784 GB, free: 101.6 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001588/6.028, allocations: 92.33 kB / 2.784 GB, free: 101.5 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007398/6.029, allocations: 137.3 kB / 2.784 GB, free: 101.4 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002573/6.031, allocations: 2.4 MB / 2.786 GB, free: 98.88 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002364/6.032, allocations: 0.7875 MB / 2.787 GB, free: 98.07 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0002293/6.032, allocations: 54.95 kB / 2.787 GB, free: 98.02 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001242/6.032, allocations: 95.39 kB / 2.787 GB, free: 97.92 MB / 0.6823 GB Notification: Performance of SimCode: time 7.01e-07/6.032, allocations: 0 / 2.787 GB, free: 97.92 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04714/6.079, allocations: 26.28 MB / 2.813 GB, free: 71.8 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001537/6.079, allocations: 201.6 kB / 2.813 GB, free: 71.56 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.72/8.8, allocations: 0 / 2.813 GB, free: 71.56 MB / 0.6823 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/linux/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)