Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_MoistAirEnthalpyFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_MoistAirEnthalpyFlowRate",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.6976/0.6976, allocations: 141.7 MB / 154.3 MB, free: 15.48 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009323/0.0009323, allocations: 184.6 kB / 187.3 MB, free: 11.88 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.244/1.244, allocations: 221.3 MB / 441.4 MB, free: 4.602 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.0008629/0.0008629, allocations: 91 kB / 0.5124 GB, free: 24.2 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001687/0.001687, allocations: 268.7 kB / 0.5939 GB, free: 7.965 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 2.932e-05/2.935e-05, allocations: 4 kB / 0.6835 GB, free: 12.15 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3607/0.3608, allocations: 82.77 MB / 0.7644 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.489/3.85, allocations: 1.873 GB / 2.638 GB, free: 174.7 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002074/3.85, allocations: 91.94 kB / 2.638 GB, free: 174.6 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.053/4.903, allocations: 442.5 MB / 3.07 GB, free: 2.477 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.182e-06/4.903, allocations: 7.938 kB / 3.07 GB, free: 2.469 MB / 0.698 GB Notification: Performance of Transformations before backend: time 3.15e-05/4.903, allocations: 12 kB / 3.07 GB, free: 2.457 MB / 0.698 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.00127/4.904, allocations: 0.8448 MB / 3.071 GB, free: 1.562 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.934e-05/4.904, allocations: 8.25 kB / 3.071 GB, free: 1.555 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.217e-05/4.904, allocations: 74.53 kB / 3.071 GB, free: 1.473 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008288/4.905, allocations: 160.8 kB / 3.071 GB, free: 1.316 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001168/4.906, allocations: 0.6834 MB / 3.072 GB, free: 0.5938 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.84e-05/4.906, allocations: 28.78 kB / 3.072 GB, free: 0.5625 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.482e-05/4.906, allocations: 40 kB / 3.072 GB, free: 0.5234 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005042/4.907, allocations: 423.2 kB / 3.072 GB, free: 88 kB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.29e-05/4.907, allocations: 0 / 3.072 GB, free: 88 kB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.927e-05/4.907, allocations: 16 kB / 3.072 GB, free: 72 kB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.964e-06/4.907, allocations: 8 kB / 3.072 GB, free: 64 kB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3622/5.269, allocations: 276.8 kB / 3.072 GB, free: 145.4 MB / 0.698 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.002307/5.272, allocations: 1.99 MB / 3.074 GB, free: 144.1 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003223/5.272, allocations: 205.3 kB / 3.074 GB, free: 144.1 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001766/5.272, allocations: 122.6 kB / 3.075 GB, free: 144.1 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004967/5.273, allocations: 307.6 kB / 3.075 GB, free: 143.8 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.842e-05/5.273, allocations: 38.62 kB / 3.075 GB, free: 143.8 MB / 0.698 GB Notification: Performance of pre-optimization done (n=24): time 2.385e-06/5.273, allocations: 0 / 3.075 GB, free: 143.8 MB / 0.698 GB Notification: Performance of matching and sorting (n=24): time 0.0006924/5.273, allocations: 288.2 kB / 3.075 GB, free: 143.7 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.626e-05/5.273, allocations: 57.75 kB / 3.075 GB, free: 143.6 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004028/5.274, allocations: 346.2 kB / 3.076 GB, free: 143.5 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.425e-05/5.274, allocations: 33.3 kB / 3.076 GB, free: 143.5 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001267/5.274, allocations: 230.8 kB / 3.076 GB, free: 143.4 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 5.75e-05/5.274, allocations: 80.62 kB / 3.076 GB, free: 143.3 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.29e-05/5.274, allocations: 3.688 kB / 3.076 GB, free: 143.3 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 8.001e-05/5.274, allocations: 352.5 kB / 3.076 GB, free: 143 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001585/5.274, allocations: 88.98 kB / 3.076 GB, free: 143 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002099/5.275, allocations: 188.4 kB / 3.076 GB, free: 142.9 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001886/5.275, allocations: 114.7 kB / 3.077 GB, free: 142.9 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/5.275, allocations: 0.7812 kB / 3.077 GB, free: 142.9 MB / 0.698 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004831/5.275, allocations: 318.9 kB / 3.077 GB, free: 142.9 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.811e-05/5.275, allocations: 8.688 kB / 3.077 GB, free: 142.9 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.063e-06/5.275, allocations: 2.656 kB / 3.077 GB, free: 142.9 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.216e-05/5.275, allocations: 4.281 kB / 3.077 GB, free: 142.9 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002868/5.276, allocations: 61.5 kB / 3.077 GB, free: 142.9 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.148e-05/5.276, allocations: 5.203 kB / 3.077 GB, free: 142.9 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003231/5.276, allocations: 53.94 kB / 3.077 GB, free: 142.9 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.515e-05/5.276, allocations: 19.12 kB / 3.077 GB, free: 142.9 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (31): * Single equations (assignments): 31 * 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.544e-05/5.276, allocations: 128.1 kB / 3.077 GB, free: 142.8 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.175e-05/5.276, allocations: 38.69 kB / 3.077 GB, free: 142.7 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005911/5.277, allocations: 326.1 kB / 3.077 GB, free: 142.7 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.7e-06/5.277, allocations: 2.969 kB / 3.077 GB, free: 142.7 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/5.277, allocations: 1.125 kB / 3.077 GB, free: 142.7 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.44e-06/5.277, allocations: 1.219 kB / 3.078 GB, free: 142.7 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001292/5.278, allocations: 0.8828 MB / 3.078 GB, free: 142.3 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.398e-06/5.278, allocations: 2.219 kB / 3.078 GB, free: 142.3 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002558/5.278, allocations: 45.86 kB / 3.078 GB, free: 142.3 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.033e-06/5.278, allocations: 5.719 kB / 3.078 GB, free: 142.3 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.46e-05/5.278, allocations: 11 kB / 3.078 GB, free: 142.3 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.931e-06/5.278, allocations: 3.953 kB / 3.078 GB, free: 142.3 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.388e-06/5.278, allocations: 5 kB / 3.078 GB, free: 142.3 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000796/5.279, allocations: 0.6321 MB / 3.079 GB, free: 142 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001611/5.279, allocations: 139.4 kB / 3.079 GB, free: 141.9 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.174e-05/5.279, allocations: 9.984 kB / 3.079 GB, free: 141.9 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002659/5.28, allocations: 32.42 kB / 3.079 GB, free: 141.9 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.276e-05/5.28, allocations: 25.39 kB / 3.079 GB, free: 141.9 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.127e-05/5.28, allocations: 10.72 kB / 3.079 GB, free: 141.9 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0003402/5.28, allocations: 278.6 kB / 3.08 GB, free: 141.8 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.2e-07/5.28, allocations: 0 / 3.08 GB, free: 141.8 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001045/5.281, allocations: 254.1 kB / 3.08 GB, free: 141.8 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 1 (senH.h_out) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 24 * 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.002782/5.284, allocations: 3.08 MB / 3.083 GB, free: 140.1 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0003827/5.284, allocations: 239.4 kB / 3.083 GB, free: 140.1 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/5.284, allocations: 0 / 3.083 GB, free: 140.1 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.00017/5.285, allocations: 125.5 kB / 3.083 GB, free: 140.1 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009346/5.286, allocations: 211.4 kB / 3.083 GB, free: 140.1 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001174/5.287, allocations: 0.7135 MB / 3.084 GB, free: 139.9 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002704/5.287, allocations: 0.8371 MB / 3.085 GB, free: 139.2 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0003023/5.287, allocations: 86.5 kB / 3.085 GB, free: 139.1 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001795/5.288, allocations: 136.9 kB / 3.085 GB, free: 139.1 MB / 0.698 GB Notification: Performance of SimCode: time 6.61e-07/5.288, allocations: 0.6875 kB / 3.085 GB, free: 139.1 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05101/5.339, allocations: 38.57 MB / 3.123 GB, free: 138.8 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001469/5.339, allocations: 215.8 kB / 3.123 GB, free: 138.5 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.029/8.368, allocations: 0 / 3.123 GB, free: 138.5 MB / 0.698 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_MoistAirEnthalpyFlowRate_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_MoistAirEnthalpyFlowRate.fmu > BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe 2>&1)