Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Sensors_Examples_MoistAirEnthalpyFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Sensors_Examples_MoistAirEnthalpyFlowRate",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.439/1.439, allocations: 251.9 MB / 266.8 MB, free: 11.04 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001224/0.001224, allocations: 189.3 kB / 326.5 MB, free: 2.242 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.008/2.008, allocations: 205.4 MB / 0.5775 GB, free: 20.61 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009042/0.000904, allocations: 92.03 kB / 0.6821 GB, free: 13.35 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004082/0.0004082, allocations: 8.656 kB / 0.7963 GB, free: 135.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2939/0.2943, allocations: 106.3 MB / 0.9001 GB, free: 64.36 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.529/6.824, allocations: 2.228 GB / 3.128 GB, free: 240.3 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004155/6.824, allocations: 90.98 kB / 3.128 GB, free: 240.3 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 1.598/8.422, allocations: 425.4 MB / 3.544 GB, free: 219 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.324e-06/8.423, allocations: 0 / 3.544 GB, free: 219 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 4.295e-05/8.423, allocations: 17.81 kB / 3.544 GB, free: 219 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 93 * Number of variables: 93 Notification: Performance of Generate backend data structure: time 0.00218/8.425, allocations: 0.9169 MB / 3.544 GB, free: 218.3 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 6.383e-05/8.425, allocations: 11.25 kB / 3.544 GB, free: 218.3 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.649e-05/8.425, allocations: 73.97 kB / 3.545 GB, free: 218.3 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009789/8.426, allocations: 155.1 kB / 3.545 GB, free: 218.2 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001519/8.427, allocations: 0.6989 MB / 3.545 GB, free: 217.8 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.512e-05/8.428, allocations: 32.94 kB / 3.545 GB, free: 217.7 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.387e-05/8.428, allocations: 42.69 kB / 3.545 GB, free: 217.7 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007616/8.428, allocations: 382.5 kB / 3.546 GB, free: 217.5 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.455e-05/8.428, allocations: 3.812 kB / 3.546 GB, free: 217.5 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.548e-05/8.428, allocations: 12 kB / 3.546 GB, free: 217.5 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.389e-05/8.428, allocations: 11.34 kB / 3.546 GB, free: 217.5 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006346/8.429, allocations: 349.4 kB / 3.546 GB, free: 217.3 MB / 0.8855 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.002098/8.431, allocations: 1.403 MB / 3.548 GB, free: 215.9 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005019/8.432, allocations: 304.9 kB / 3.548 GB, free: 215.6 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005167/8.432, allocations: 303.3 kB / 3.548 GB, free: 215.3 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.706e-05/8.432, allocations: 34.83 kB / 3.548 GB, free: 215.3 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=33): time 3.166e-06/8.432, allocations: 0 / 3.548 GB, free: 215.3 MB / 0.8855 GB Notification: Performance of matching and sorting (n=33): time 0.001103/8.433, allocations: 0.5147 MB / 3.549 GB, free: 214.7 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.902e-05/8.433, allocations: 58.44 kB / 3.549 GB, free: 214.7 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000343/8.434, allocations: 336.8 kB / 3.549 GB, free: 214.3 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 3.413e-05/8.434, allocations: 33.7 kB / 3.549 GB, free: 214.3 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001245/8.434, allocations: 204.6 kB / 3.549 GB, free: 214.1 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 9.253e-05/8.434, allocations: 118.2 kB / 3.549 GB, free: 214 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.585e-05/8.434, allocations: 14.89 kB / 3.549 GB, free: 214 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001383/8.434, allocations: 354.3 kB / 3.55 GB, free: 213.6 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002307/8.434, allocations: 127.9 kB / 3.55 GB, free: 213.5 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002932/8.435, allocations: 192 kB / 3.55 GB, free: 213.3 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002576/8.435, allocations: 144 kB / 3.55 GB, free: 213.2 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/8.435, allocations: 0 / 3.55 GB, free: 213.2 MB / 0.8855 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0006044/8.436, allocations: 394.3 kB / 3.551 GB, free: 212.8 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.891e-05/8.436, allocations: 11.98 kB / 3.551 GB, free: 212.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.226e-06/8.436, allocations: 2.906 kB / 3.551 GB, free: 212.8 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.957e-05/8.436, allocations: 0 / 3.551 GB, free: 212.8 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003175/8.436, allocations: 71.91 kB / 3.551 GB, free: 212.7 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.116e-05/8.436, allocations: 3.953 kB / 3.551 GB, free: 212.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003025/8.436, allocations: 53.72 kB / 3.551 GB, free: 212.6 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.877e-05/8.436, allocations: 12 kB / 3.551 GB, free: 212.6 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (37): * Single equations (assignments): 37 * 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.0001831/8.437, allocations: 164.2 kB / 3.551 GB, free: 212.4 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.097e-05/8.437, allocations: 47.42 kB / 3.551 GB, free: 212.4 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000784/8.438, allocations: 445.4 kB / 3.551 GB, free: 212 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.66e-06/8.438, allocations: 4 kB / 3.551 GB, free: 212 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.933e-06/8.438, allocations: 0 / 3.551 GB, free: 212 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.177e-06/8.438, allocations: 7.938 kB / 3.551 GB, free: 212 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001455/8.439, allocations: 1.01 MB / 3.552 GB, free: 210.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.406e-06/8.439, allocations: 4 kB / 3.552 GB, free: 210.9 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003159/8.439, allocations: 67.84 kB / 3.552 GB, free: 210.8 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.051e-06/8.439, allocations: 4 kB / 3.552 GB, free: 210.8 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.423e-05/8.439, allocations: 16 kB / 3.552 GB, free: 210.8 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.305e-06/8.439, allocations: 2.844 kB / 3.552 GB, free: 210.8 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.741e-06/8.439, allocations: 7.938 kB / 3.552 GB, free: 210.8 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001024/8.44, allocations: 0.7786 MB / 3.553 GB, free: 209.9 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001721/8.441, allocations: 152.6 kB / 3.553 GB, free: 209.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.586e-05/8.441, allocations: 11.98 kB / 3.553 GB, free: 209.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002635/8.441, allocations: 27.98 kB / 3.553 GB, free: 209.7 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.455e-05/8.441, allocations: 23.97 kB / 3.553 GB, free: 209.7 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.987e-05/8.441, allocations: 12 kB / 3.553 GB, free: 209.7 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0002242/8.441, allocations: 267.1 kB / 3.554 GB, free: 209.4 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.2e-07/8.441, allocations: 4 kB / 3.554 GB, free: 209.4 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.001268/8.443, allocations: 263.8 kB / 3.554 GB, free: 209.2 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 4 (senH_flow.h_out,senH.h_out,senHLat_flow.h_out,senHSen_flow.h_out) * 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 (33): * Single equations (assignments): 33 * 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.003841/8.446, allocations: 3.243 MB / 3.557 GB, free: 206 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0006234/8.447, allocations: 331.8 kB / 3.557 GB, free: 205.7 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 3.857e-06/8.447, allocations: 0 / 3.557 GB, free: 205.7 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0002807/8.447, allocations: 181.2 kB / 3.558 GB, free: 205.5 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009841/8.448, allocations: 201.3 kB / 3.558 GB, free: 205.3 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003876/8.452, allocations: 2.884 MB / 3.561 GB, free: 202.4 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004019/8.453, allocations: 0.8432 MB / 3.561 GB, free: 201.5 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0004202/8.453, allocations: 95.61 kB / 3.562 GB, free: 201.4 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002134/8.453, allocations: 147.4 kB / 3.562 GB, free: 201.3 MB / 0.8855 GB Notification: Performance of SimCode: time 1.583e-06/8.453, allocations: 0 / 3.562 GB, free: 201.3 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06812/8.521, allocations: 34.9 MB / 3.596 GB, free: 166.7 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00024/8.522, allocations: 230.7 kB / 3.596 GB, free: 166.5 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.606/12.13, allocations: 1.25 kB / 3.596 GB, free: 166.5 MB / 0.8855 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Sensors_Examples_MoistAirEnthalpyFlowRate_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Sensors_Examples_MoistAirEnthalpyFlowRate.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe 2>&1)