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.001573/0.001573, allocations: 173.9 kB / 7.648 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.789/0.789, allocations: 133.6 MB / 141.6 MB, free: 2.891 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.433/1.433, allocations: 221.5 MB / 395.4 MB, free: 10.79 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.0008783/0.0008783, allocations: 97.86 kB / 478.2 MB, free: 1.324 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.457e-05/2.46e-05, allocations: 8 kB / 0.5536 GB, free: 8.973 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4837/0.4837, allocations: 82.31 MB / 0.6339 GB, free: 40.75 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.473/5.957, allocations: 1.83 GB / 2.464 GB, free: 166.5 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002818/5.957, allocations: 81.2 kB / 2.464 GB, free: 166.4 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 1.141/7.098, allocations: 296.8 MB / 2.753 GB, free: 150.6 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.234e-06/7.098, allocations: 0 / 2.753 GB, free: 150.6 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 4.607e-05/7.098, allocations: 4 kB / 2.754 GB, free: 150.6 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.001623/7.1, allocations: 0.6496 MB / 2.754 GB, free: 150 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 6.027e-05/7.1, allocations: 12.03 kB / 2.754 GB, free: 149.9 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004822/7.1, allocations: 63.58 kB / 2.754 GB, free: 149.9 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000631/7.101, allocations: 327 kB / 2.755 GB, free: 149.5 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.751e-05/7.101, allocations: 8 kB / 2.755 GB, free: 149.5 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.21e-05/7.101, allocations: 16 kB / 2.755 GB, free: 149.5 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003047/7.101, allocations: 141.1 kB / 2.755 GB, free: 149.4 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003911/7.102, allocations: 258.6 kB / 2.755 GB, free: 149.1 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.635e-05/7.102, allocations: 7.922 kB / 2.755 GB, free: 149.1 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.272e-05/7.102, allocations: 0 / 2.755 GB, free: 149.1 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.067e-05/7.102, allocations: 11.98 kB / 2.755 GB, free: 149.1 MB / 0.6823 GB Warning: The model contains alias variables with conflicting start and/or 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.001259/7.103, allocations: 1.443 MB / 2.756 GB, free: 147.5 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001307/7.103, allocations: 90.55 kB / 2.756 GB, free: 147.4 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.802e-05/7.103, allocations: 68.8 kB / 2.757 GB, free: 147.4 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004542/7.104, allocations: 303.2 kB / 2.757 GB, free: 147 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.137e-05/7.104, allocations: 34.55 kB / 2.757 GB, free: 147 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=13): time 1.293e-06/7.104, allocations: 4 kB / 2.757 GB, free: 147 MB / 0.6823 GB Notification: Performance of matching and sorting (n=13): time 0.0005428/7.104, allocations: 193.6 kB / 2.757 GB, free: 146.8 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.857e-05/7.104, allocations: 57.81 kB / 2.757 GB, free: 146.7 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001408/7.105, allocations: 182.1 kB / 2.757 GB, free: 146.5 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.734e-05/7.105, allocations: 29.7 kB / 2.757 GB, free: 146.5 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 8.628e-05/7.105, allocations: 191.9 kB / 2.757 GB, free: 146.3 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.872e-05/7.105, allocations: 47.39 kB / 2.758 GB, free: 146.2 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.433e-06/7.105, allocations: 4 kB / 2.758 GB, free: 146.2 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 7.057e-05/7.105, allocations: 330.8 kB / 2.758 GB, free: 145.9 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.573e-05/7.105, allocations: 35.98 kB / 2.758 GB, free: 145.9 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.83e-05/7.105, allocations: 106.7 kB / 2.758 GB, free: 145.7 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001609/7.105, allocations: 87.92 kB / 2.758 GB, free: 145.6 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/7.105, allocations: 0 / 2.758 GB, free: 145.6 MB / 0.6823 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002756/7.105, allocations: 193.2 kB / 2.758 GB, free: 145.4 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.599e-05/7.105, allocations: 11.95 kB / 2.758 GB, free: 145.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.341e-06/7.106, allocations: 0 / 2.758 GB, free: 145.4 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.986e-05/7.106, allocations: 4.156 kB / 2.758 GB, free: 145.4 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001902/7.106, allocations: 39.97 kB / 2.758 GB, free: 145.4 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.311e-06/7.106, allocations: 4 kB / 2.758 GB, free: 145.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001719/7.106, allocations: 19.89 kB / 2.758 GB, free: 145.4 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.178e-05/7.106, allocations: 8 kB / 2.758 GB, free: 145.4 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 () * 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 7.219e-05/7.106, allocations: 112.9 kB / 2.758 GB, free: 145.2 MB / 0.6823 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002623/7.106, allocations: 173.3 kB / 2.759 GB, free: 145.1 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.513e-05/7.106, allocations: 23.67 kB / 2.759 GB, free: 145 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003216/7.107, allocations: 196.8 kB / 2.759 GB, free: 144.9 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/7.107, allocations: 0 / 2.759 GB, free: 144.9 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/7.107, allocations: 0 / 2.759 GB, free: 144.9 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.818e-06/7.107, allocations: 0 / 2.759 GB, free: 144.9 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007192/7.107, allocations: 0.6216 MB / 2.759 GB, free: 144.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/7.107, allocations: 0 / 2.759 GB, free: 144.2 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001279/7.108, allocations: 27.98 kB / 2.759 GB, free: 144.1 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.499e-06/7.108, allocations: 4.219 kB / 2.759 GB, free: 144.1 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.321e-05/7.108, allocations: 8 kB / 2.759 GB, free: 144.1 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-06/7.108, allocations: 3.938 kB / 2.759 GB, free: 144.1 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.909e-06/7.108, allocations: 7.938 kB / 2.759 GB, free: 144.1 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003236/7.108, allocations: 405.1 kB / 2.76 GB, free: 143.6 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 6.885e-05/7.108, allocations: 112.8 kB / 2.76 GB, free: 143.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.077e-05/7.108, allocations: 4 kB / 2.76 GB, free: 143.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001642/7.108, allocations: 15.98 kB / 2.76 GB, free: 143.5 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.306e-05/7.108, allocations: 19.88 kB / 2.76 GB, free: 143.5 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.308e-06/7.108, allocations: 12 kB / 2.76 GB, free: 143.5 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 9.019e-05/7.108, allocations: 154 kB / 2.76 GB, free: 143.3 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.4e-07/7.108, allocations: 0 / 2.76 GB, free: 143.3 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0006142/7.109, allocations: 143.8 kB / 2.76 GB, free: 143.2 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 () * 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.002176/7.111, allocations: 2.673 MB / 2.763 GB, free: 140.6 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0002171/7.111, allocations: 107.8 kB / 2.763 GB, free: 140.5 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/7.111, allocations: 0 / 2.763 GB, free: 140.5 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 7.827e-05/7.112, allocations: 59.92 kB / 2.763 GB, free: 140.4 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000512/7.112, allocations: 82.94 kB / 2.763 GB, free: 140.3 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000793/7.113, allocations: 445.5 kB / 2.764 GB, free: 139.8 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002326/7.113, allocations: 0.7828 MB / 2.764 GB, free: 139 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0001528/7.113, allocations: 46.05 kB / 2.764 GB, free: 139 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001093/7.113, allocations: 95.34 kB / 2.764 GB, free: 138.9 MB / 0.6823 GB Notification: Performance of SimCode: time 2.41e-07/7.113, allocations: 3.938 kB / 2.764 GB, free: 138.9 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04718/7.161, allocations: 14.74 MB / 2.779 GB, free: 124.2 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002252/7.161, allocations: 162 kB / 2.779 GB, free: 124 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.233/9.394, allocations: 0 / 2.779 GB, free: 124 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)