Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.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.MoistAirEnthalpyFlowRate,fileNamePrefix="Buildings_8_Buildings_Fluid_Sensors_Examples_MoistAirEnthalpyFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate,fileNamePrefix="Buildings_8_Buildings_Fluid_Sensors_Examples_MoistAirEnthalpyFlowRate",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.738/1.738, allocations: 289.9 MB / 297.4 MB, free: 6.371 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.001011/0.001011, allocations: 176.8 kB / 366.7 MB, free: 1.664 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.633/1.633, allocations: 205.2 MB / 0.626 GB, free: 7.199 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.0009939/0.0009942, allocations: 85.86 kB / 0.74 GB, free: 39.57 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.952e-05/2.942e-05, allocations: 4 kB / 0.8598 GB, free: 12.98 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6625/0.6626, allocations: 116.3 MB / 0.9733 GB, free: 76.25 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.48/6.143, allocations: 2.109 GB / 3.082 GB, free: 349.7 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003009/6.143, allocations: 88.94 kB / 3.082 GB, free: 349.7 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 1.628/7.772, allocations: 433.4 MB / 3.506 GB, free: 233.1 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.175e-06/7.772, allocations: 0 / 3.506 GB, free: 233.1 MB / 0.948 GB Notification: Performance of Transformations before backend: time 3.755e-05/7.772, allocations: 13.16 kB / 3.506 GB, free: 233.1 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: 93 * Number of variables: 93 Notification: Performance of Generate backend data structure: time 0.001848/7.774, allocations: 0.8467 MB / 3.506 GB, free: 232.7 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.761e-05/7.774, allocations: 9.094 kB / 3.506 GB, free: 232.7 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001009/7.775, allocations: 156.2 kB / 3.507 GB, free: 232.7 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001442/7.776, allocations: 0.6803 MB / 3.507 GB, free: 232.4 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.836e-05/7.776, allocations: 12.34 kB / 3.507 GB, free: 232.4 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.015e-05/7.776, allocations: 24.16 kB / 3.507 GB, free: 232.4 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004914/7.777, allocations: 252.2 kB / 3.508 GB, free: 232.4 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005849/7.777, allocations: 360 kB / 3.508 GB, free: 232.4 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.641e-05/7.777, allocations: 2.25 kB / 3.508 GB, free: 232.4 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.166e-05/7.778, allocations: 1.531 kB / 3.508 GB, free: 232.4 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.578e-05/7.778, allocations: 13.61 kB / 3.508 GB, free: 232.3 MB / 0.948 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.00172/7.779, allocations: 1.886 MB / 3.51 GB, free: 231.1 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002508/7.78, allocations: 198.2 kB / 3.51 GB, free: 231.1 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001542/7.78, allocations: 116 kB / 3.51 GB, free: 231 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004848/7.78, allocations: 308.6 kB / 3.51 GB, free: 230.8 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.834e-05/7.78, allocations: 39.41 kB / 3.51 GB, free: 230.7 MB / 0.948 GB Notification: Performance of pre-optimization done (n=24): time 1.914e-06/7.78, allocations: 0 / 3.51 GB, free: 230.7 MB / 0.948 GB Notification: Performance of matching and sorting (n=24): time 0.0009642/7.781, allocations: 375.8 kB / 3.511 GB, free: 230.7 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.575e-05/7.781, allocations: 54.03 kB / 3.511 GB, free: 230.6 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002329/7.781, allocations: 228.6 kB / 3.511 GB, free: 230.5 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 2.335e-05/7.782, allocations: 26.8 kB / 3.511 GB, free: 230.5 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001382/7.782, allocations: 240.1 kB / 3.511 GB, free: 230.3 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 6.634e-05/7.782, allocations: 84.61 kB / 3.511 GB, free: 230.3 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.259e-05/7.782, allocations: 0 / 3.511 GB, free: 230.3 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.817e-05/7.782, allocations: 345.9 kB / 3.512 GB, free: 230 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001367/7.782, allocations: 87.41 kB / 3.512 GB, free: 230 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001951/7.782, allocations: 167.3 kB / 3.512 GB, free: 229.9 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004659/7.783, allocations: 212.2 kB / 3.512 GB, free: 229.9 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.397e-06/7.783, allocations: 1.438 kB / 3.512 GB, free: 229.9 MB / 0.948 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0007253/7.783, allocations: 383.7 kB / 3.512 GB, free: 229.8 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.338e-05/7.783, allocations: 7.75 kB / 3.512 GB, free: 229.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.777e-06/7.783, allocations: 5.094 kB / 3.512 GB, free: 229.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.864e-05/7.783, allocations: 3.188 kB / 3.512 GB, free: 229.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002983/7.784, allocations: 61.69 kB / 3.513 GB, free: 229.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.05e-05/7.784, allocations: 5 kB / 3.513 GB, free: 229.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000267/7.784, allocations: 42 kB / 3.513 GB, free: 229.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.601e-05/7.784, allocations: 17.53 kB / 3.513 GB, free: 229.8 MB / 0.948 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 8.727e-05/7.784, allocations: 110.3 kB / 3.513 GB, free: 229.7 MB / 0.948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.000724/7.785, allocations: 351.3 kB / 3.513 GB, free: 229.7 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.831e-05/7.785, allocations: 37.25 kB / 3.513 GB, free: 229.7 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008052/7.786, allocations: 386.7 kB / 3.513 GB, free: 229.6 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.884e-06/7.786, allocations: 9.359 kB / 3.513 GB, free: 229.6 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/7.786, allocations: 4.391 kB / 3.513 GB, free: 229.6 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.4e-06/7.786, allocations: 3.656 kB / 3.513 GB, free: 229.6 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001391/7.787, allocations: 0.9038 MB / 3.514 GB, free: 229.3 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.956e-06/7.787, allocations: 1.938 kB / 3.514 GB, free: 229.3 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002557/7.788, allocations: 53.16 kB / 3.514 GB, free: 229.3 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.634e-06/7.788, allocations: 3.812 kB / 3.514 GB, free: 229.3 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.346e-05/7.788, allocations: 7.219 kB / 3.514 GB, free: 229.3 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.977e-06/7.788, allocations: 5.156 kB / 3.514 GB, free: 229.3 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.072e-06/7.788, allocations: 4.594 kB / 3.514 GB, free: 229.3 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000976/7.789, allocations: 0.7047 MB / 3.515 GB, free: 229 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001173/7.789, allocations: 133.9 kB / 3.515 GB, free: 228.9 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.988e-05/7.789, allocations: 2.812 kB / 3.515 GB, free: 228.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002357/7.789, allocations: 34.84 kB / 3.515 GB, free: 228.9 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.619e-05/7.789, allocations: 23.72 kB / 3.515 GB, free: 228.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.984e-05/7.789, allocations: 7.25 kB / 3.515 GB, free: 228.8 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.000171/7.789, allocations: 186.6 kB / 3.515 GB, free: 228.8 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.3e-07/7.789, allocations: 1.125 kB / 3.515 GB, free: 228.8 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.000848/7.79, allocations: 213.4 kB / 3.516 GB, free: 228.8 MB / 0.948 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.003813/7.794, allocations: 3.336 MB / 3.519 GB, free: 227.1 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0004225/7.794, allocations: 223.2 kB / 3.519 GB, free: 227.1 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/7.794, allocations: 0 / 3.519 GB, free: 227.1 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001914/7.795, allocations: 120.8 kB / 3.519 GB, free: 227.1 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00068/7.795, allocations: 114 kB / 3.519 GB, free: 227.1 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001428/7.797, allocations: 0.6718 MB / 3.52 GB, free: 226.8 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003323/7.797, allocations: 0.84 MB / 3.521 GB, free: 226.1 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0002679/7.797, allocations: 74.19 kB / 3.521 GB, free: 226.1 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001842/7.798, allocations: 140.1 kB / 3.521 GB, free: 226.1 MB / 0.948 GB Notification: Performance of SimCode: time 2.6e-07/7.798, allocations: 3.625 kB / 3.521 GB, free: 226.1 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05248/7.85, allocations: 19.7 MB / 3.54 GB, free: 225.8 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001878/7.85, allocations: 178.7 kB / 3.54 GB, free: 225.6 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.897/10.75, allocations: 0 / 3.54 GB, free: 225.6 MB / 0.948 GB (rm -f Buildings_8_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe ; mkfifo Buildings_8_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe >> ../files/Buildings_8_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Sensors_Examples_MoistAirEnthalpyFlowRate_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Sensors_Examples_MoistAirEnthalpyFlowRate.fmu > Buildings_8_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe 2>&1)