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.8479/0.8479, allocations: 143.4 MB / 158.3 MB, free: 5.777 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001312/0.001312, allocations: 177.1 kB / 191.5 MB, free: 5.766 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.508/1.508, allocations: 223.1 MB / 447.7 MB, free: 4.848 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.0009942/0.0009944, allocations: 92.31 kB / 0.5188 GB, free: 1.195 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001809/0.001809, allocations: 277 kB / 0.6005 GB, free: 48.75 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004672/0.0004673, allocations: 15.28 kB / 0.6929 GB, free: 59.49 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1783/0.1788, allocations: 82.8 MB / 0.7738 GB, free: 13.75 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.046/5.225, allocations: 1.873 GB / 2.647 GB, free: 154.9 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003369/5.225, allocations: 94.92 kB / 2.647 GB, free: 154.8 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.345/6.57, allocations: 442.9 MB / 3.08 GB, free: 13.62 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.113e-06/6.57, allocations: 0 / 3.08 GB, free: 13.62 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.894e-05/6.571, allocations: 12 kB / 3.08 GB, free: 13.61 MB / 0.7136 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.002113/6.573, allocations: 0.9088 MB / 3.081 GB, free: 12.66 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.962e-05/6.573, allocations: 8.031 kB / 3.081 GB, free: 12.65 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.911e-05/6.573, allocations: 78.52 kB / 3.081 GB, free: 12.56 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000973/6.574, allocations: 160.5 kB / 3.081 GB, free: 12.41 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001631/6.575, allocations: 0.6945 MB / 3.081 GB, free: 11.67 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.631e-05/6.576, allocations: 29 kB / 3.082 GB, free: 11.64 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.573e-05/6.576, allocations: 40 kB / 3.082 GB, free: 11.6 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007369/6.576, allocations: 438.4 kB / 3.082 GB, free: 11.14 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.705e-05/6.576, allocations: 3.984 kB / 3.082 GB, free: 11.14 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.973e-05/6.576, allocations: 16 kB / 3.082 GB, free: 11.12 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.343e-05/6.576, allocations: 8 kB / 3.082 GB, free: 11.12 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005516/6.577, allocations: 327.7 kB / 3.082 GB, free: 10.8 MB / 0.7136 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.001967/6.579, allocations: 1.996 MB / 3.084 GB, free: 8.625 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003997/6.579, allocations: 226.5 kB / 3.084 GB, free: 8.395 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005252/6.58, allocations: 307.2 kB / 3.085 GB, free: 8.039 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.301e-05/6.58, allocations: 35.53 kB / 3.085 GB, free: 7.996 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=24): time 2.425e-06/6.58, allocations: 0 / 3.085 GB, free: 7.996 MB / 0.7136 GB Notification: Performance of matching and sorting (n=24): time 0.0009321/6.581, allocations: 436.7 kB / 3.085 GB, free: 7.566 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.016e-05/6.581, allocations: 59.39 kB / 3.085 GB, free: 7.496 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003227/6.581, allocations: 349.1 kB / 3.086 GB, free: 7.152 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.8e-05/6.581, allocations: 29.7 kB / 3.086 GB, free: 7.117 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001274/6.581, allocations: 228.2 kB / 3.086 GB, free: 6.887 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 5.916e-05/6.582, allocations: 90.73 kB / 3.086 GB, free: 6.797 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.319e-05/6.582, allocations: 8 kB / 3.086 GB, free: 6.789 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001248/6.582, allocations: 354.8 kB / 3.086 GB, free: 6.434 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001939/6.582, allocations: 103.9 kB / 3.086 GB, free: 6.332 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000261/6.582, allocations: 202.1 kB / 3.087 GB, free: 6.098 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002323/6.582, allocations: 141.2 kB / 3.087 GB, free: 5.961 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/6.582, allocations: 0 / 3.087 GB, free: 5.961 MB / 0.7136 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005494/6.583, allocations: 359.4 kB / 3.087 GB, free: 5.605 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.194e-05/6.583, allocations: 4 kB / 3.087 GB, free: 5.602 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.528e-06/6.583, allocations: 4 kB / 3.087 GB, free: 5.598 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.352e-05/6.583, allocations: 4 kB / 3.087 GB, free: 5.594 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002845/6.583, allocations: 55.91 kB / 3.087 GB, free: 5.539 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.299e-05/6.583, allocations: 4 kB / 3.087 GB, free: 5.535 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003158/6.584, allocations: 59.75 kB / 3.087 GB, free: 5.477 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.81e-05/6.584, allocations: 16 kB / 3.087 GB, free: 5.461 MB / 0.7136 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 () * Number of clocked 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 0.0001965/6.584, allocations: 169.7 kB / 3.087 GB, free: 5.285 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.958e-05/6.584, allocations: 39.53 kB / 3.087 GB, free: 5.246 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006424/6.585, allocations: 349.1 kB / 3.088 GB, free: 4.898 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.382e-06/6.585, allocations: 4 kB / 3.088 GB, free: 4.895 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.324e-06/6.585, allocations: 0 / 3.088 GB, free: 4.895 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.492e-06/6.585, allocations: 3.984 kB / 3.088 GB, free: 4.891 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001201/6.586, allocations: 0.9149 MB / 3.089 GB, free: 3.898 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.258e-06/6.586, allocations: 4 kB / 3.089 GB, free: 3.895 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002374/6.586, allocations: 55.92 kB / 3.089 GB, free: 3.84 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.121e-06/6.586, allocations: 3.984 kB / 3.089 GB, free: 3.836 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.195e-05/6.586, allocations: 4 kB / 3.089 GB, free: 3.832 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.899e-06/6.586, allocations: 8.172 kB / 3.089 GB, free: 3.824 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/6.586, allocations: 8 kB / 3.089 GB, free: 3.816 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007879/6.587, allocations: 0.6888 MB / 3.089 GB, free: 3.047 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000138/6.587, allocations: 148.5 kB / 3.09 GB, free: 2.883 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.179e-05/6.587, allocations: 8 kB / 3.09 GB, free: 2.875 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002756/6.587, allocations: 32.03 kB / 3.09 GB, free: 2.844 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.143e-05/6.588, allocations: 23.92 kB / 3.09 GB, free: 2.82 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.445e-05/6.588, allocations: 4 kB / 3.09 GB, free: 2.816 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0002303/6.588, allocations: 279.1 kB / 3.09 GB, free: 2.543 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.3e-07/6.588, allocations: 0 / 3.09 GB, free: 2.543 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0009948/6.589, allocations: 259.7 kB / 3.09 GB, free: 2.289 MB / 0.7136 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 () * Number of clocked 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.4473/7.036, allocations: 3.13 MB / 3.093 GB, free: 149.9 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0008499/7.037, allocations: 276.2 kB / 3.093 GB, free: 149.9 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 6.782e-06/7.037, allocations: 0 / 3.093 GB, free: 149.9 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0002534/7.037, allocations: 148.2 kB / 3.094 GB, free: 149.9 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001129/7.038, allocations: 209 kB / 3.094 GB, free: 149.9 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00384/7.042, allocations: 3.461 MB / 3.097 GB, free: 148 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000323/7.043, allocations: 0.8373 MB / 3.098 GB, free: 147.3 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0003761/7.043, allocations: 101 kB / 3.098 GB, free: 147.3 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001907/7.043, allocations: 137 kB / 3.098 GB, free: 147.3 MB / 0.7136 GB Notification: Performance of SimCode: time 5.21e-07/7.043, allocations: 0 / 3.098 GB, free: 147.3 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08274/7.126, allocations: 34.46 MB / 3.132 GB, free: 147 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001929/7.126, allocations: 237.6 kB / 3.132 GB, free: 146.8 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.415/10.54, allocations: 0 / 3.132 GB, free: 146.8 MB / 0.7136 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)