Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate,fileNamePrefix="Buildings_8_Buildings_Fluid_Sensors_Examples_EnthalpyFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate,fileNamePrefix="Buildings_8_Buildings_Fluid_Sensors_Examples_EnthalpyFlowRate",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.731/1.731, allocations: 292.6 MB / 307.5 MB, free: 5.184 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001234/0.001234, allocations: 193 kB / 377.1 MB, free: 1.512 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.822/1.822, allocations: 205.4 MB / 0.6366 GB, free: 8.621 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009938/0.0009939, allocations: 92.67 kB / 0.7509 GB, free: 63.14 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005338/0.0005338, allocations: 8 kB / 0.8749 GB, free: 11.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.271/0.2716, allocations: 116.3 MB / 0.9884 GB, free: 6.637 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.656/5.927, allocations: 2.063 GB / 3.052 GB, free: 157.5 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002696/5.928, allocations: 89.27 kB / 3.052 GB, free: 157.4 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 1.29/7.218, allocations: 298 MB / 3.343 GB, free: 210.4 MB / 0.948 GB Notification: Performance of FrontEnd: time 4.779e-06/7.218, allocations: 0 / 3.343 GB, free: 210.4 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001215/7.218, allocations: 11.44 kB / 3.343 GB, free: 210.4 MB / 0.948 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.002465/7.221, allocations: 0.6931 MB / 3.343 GB, free: 209.8 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 6.672e-05/7.221, allocations: 15.56 kB / 3.343 GB, free: 209.8 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001519/7.221, allocations: 62.36 kB / 3.343 GB, free: 209.7 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004686/7.221, allocations: 65.06 kB / 3.344 GB, free: 209.7 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007212/7.222, allocations: 313.8 kB / 3.344 GB, free: 209.4 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.367e-05/7.222, allocations: 19.03 kB / 3.344 GB, free: 209.4 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.682e-05/7.222, allocations: 30.19 kB / 3.344 GB, free: 209.4 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006366/7.223, allocations: 311.7 kB / 3.344 GB, free: 209.2 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.913e-05/7.223, allocations: 0 / 3.344 GB, free: 209.2 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.24e-05/7.223, allocations: 11.91 kB / 3.344 GB, free: 209.2 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.254e-05/7.223, allocations: 6.844 kB / 3.344 GB, free: 209.2 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004878/7.224, allocations: 207.9 kB / 3.344 GB, free: 209.2 MB / 0.948 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.001838/7.225, allocations: 1.544 MB / 3.346 GB, free: 207.9 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002527/7.226, allocations: 114.6 kB / 3.346 GB, free: 207.8 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005806/7.226, allocations: 296.6 kB / 3.346 GB, free: 207.5 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.208e-05/7.226, allocations: 38.31 kB / 3.346 GB, free: 207.5 MB / 0.948 GB Notification: Performance of pre-optimization done (n=13): time 2.435e-06/7.226, allocations: 0 / 3.346 GB, free: 207.5 MB / 0.948 GB Notification: Performance of matching and sorting (n=13): time 0.0008409/7.227, allocations: 263.3 kB / 3.347 GB, free: 207.4 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4e-05/7.227, allocations: 58.08 kB / 3.347 GB, free: 207.3 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002985/7.228, allocations: 271.2 kB / 3.347 GB, free: 207.2 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 2.938e-05/7.228, allocations: 25.7 kB / 3.347 GB, free: 207.1 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001437/7.228, allocations: 194.1 kB / 3.347 GB, free: 207 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 3.781e-05/7.228, allocations: 42.78 kB / 3.347 GB, free: 206.9 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.598e-06/7.228, allocations: 4 kB / 3.347 GB, free: 206.9 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001033/7.228, allocations: 341.6 kB / 3.347 GB, free: 206.6 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001399/7.228, allocations: 57.7 kB / 3.348 GB, free: 206.6 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000187/7.228, allocations: 125.2 kB / 3.348 GB, free: 206.5 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00016/7.228, allocations: 76.61 kB / 3.348 GB, free: 206.5 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.689e-06/7.228, allocations: 3.656 kB / 3.348 GB, free: 206.5 MB / 0.948 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004343/7.229, allocations: 224.2 kB / 3.348 GB, free: 206.4 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.165e-05/7.229, allocations: 3.938 kB / 3.348 GB, free: 206.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.797e-06/7.229, allocations: 3.875 kB / 3.348 GB, free: 206.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.975e-05/7.229, allocations: 160 / 3.348 GB, free: 206.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001866/7.229, allocations: 40.25 kB / 3.348 GB, free: 206.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.417e-05/7.229, allocations: 11.61 kB / 3.348 GB, free: 206.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002603/7.229, allocations: 30.33 kB / 3.348 GB, free: 206.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.186e-05/7.23, allocations: 14.69 kB / 3.348 GB, free: 206.4 MB / 0.948 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.0001836/7.23, allocations: 147.3 kB / 3.348 GB, free: 206.2 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.44e-05/7.23, allocations: 34.78 kB / 3.348 GB, free: 206.2 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004988/7.23, allocations: 212 kB / 3.348 GB, free: 206.1 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.013e-06/7.23, allocations: 3.703 kB / 3.348 GB, free: 206.1 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.56e-06/7.23, allocations: 7.812 kB / 3.348 GB, free: 206.1 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.019e-06/7.23, allocations: 0 / 3.348 GB, free: 206.1 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001143/7.231, allocations: 0.6723 MB / 3.349 GB, free: 205.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.25e-06/7.231, allocations: 3.344 kB / 3.349 GB, free: 205.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001369/7.232, allocations: 30.44 kB / 3.349 GB, free: 205.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.687e-06/7.232, allocations: 3.656 kB / 3.349 GB, free: 205.6 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.783e-05/7.232, allocations: 3.719 kB / 3.349 GB, free: 205.6 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.731e-06/7.232, allocations: 7.938 kB / 3.349 GB, free: 205.6 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.845e-06/7.232, allocations: 0 / 3.349 GB, free: 205.6 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005032/7.232, allocations: 423.3 kB / 3.35 GB, free: 205.2 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001453/7.232, allocations: 126.2 kB / 3.35 GB, free: 205.1 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.094e-05/7.232, allocations: 3.438 kB / 3.35 GB, free: 205.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002051/7.233, allocations: 18.72 kB / 3.35 GB, free: 205.1 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.591e-05/7.233, allocations: 19.61 kB / 3.35 GB, free: 205.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.849e-06/7.233, allocations: 3.812 kB / 3.35 GB, free: 205.1 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0002187/7.233, allocations: 223 kB / 3.35 GB, free: 205 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.152e-06/7.233, allocations: 3.938 kB / 3.35 GB, free: 205 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001016/7.234, allocations: 182 kB / 3.35 GB, free: 204.9 MB / 0.948 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.003247/7.237, allocations: 2.531 MB / 3.353 GB, free: 203 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0004668/7.238, allocations: 154.8 kB / 3.353 GB, free: 202.9 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 4.198e-06/7.238, allocations: 320 / 3.353 GB, free: 202.9 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001794/7.238, allocations: 86.83 kB / 3.353 GB, free: 202.9 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000822/7.239, allocations: 137.2 kB / 3.353 GB, free: 202.9 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003187/7.242, allocations: 2.394 MB / 3.355 GB, free: 201.2 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003472/7.242, allocations: 0.7873 MB / 3.356 GB, free: 200.5 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0002797/7.243, allocations: 66.62 kB / 3.356 GB, free: 200.5 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001424/7.243, allocations: 91.48 kB / 3.356 GB, free: 200.4 MB / 0.948 GB Notification: Performance of SimCode: time 6.62e-07/7.243, allocations: 0 / 3.356 GB, free: 200.4 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06212/7.305, allocations: 26.26 MB / 3.382 GB, free: 189.6 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001913/7.305, allocations: 215.8 kB / 3.382 GB, free: 189.3 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.156/10.46, allocations: 0 / 3.382 GB, free: 189.3 MB / 0.948 GB (rm -f Buildings_8_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; mkfifo Buildings_8_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe >> ../files/Buildings_8_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Sensors_Examples_EnthalpyFlowRate_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Sensors_Examples_EnthalpyFlowRate.fmu > Buildings_8_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe 2>&1)