Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Sensors_Examples_EnthalpyFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate,fileNamePrefix="Buildings_maint_8_0_x_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.0.1-maint.8.0.x/package.mo): time 1.691/1.691, allocations: 288.4 MB / 303.3 MB, free: 8.129 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.001723/0.001723, allocations: 176.5 kB / 372 MB, free: 10.28 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.723/1.723, allocations: 205.4 MB / 0.6307 GB, free: 9.98 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009967/0.0009968, allocations: 82.44 kB / 0.744 GB, free: 5.914 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000415/0.0004152, allocations: 13.22 kB / 0.867 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2363/0.2368, allocations: 115.3 MB / 0.9796 GB, free: 27.58 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.7554/0.9922, allocations: 152.2 MB / 1.128 GB, free: 1.504 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.007037/0.9993, allocations: 6.082 MB / 1.134 GB, free: 0.5781 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006091/1, allocations: 12.75 kB / 1.134 GB, free: 0.5703 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0005456/1.001, allocations: 117 kB / 1.134 GB, free: 0.5273 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.001822/1.002, allocations: 0.5897 MB / 1.135 GB, free: 280 kB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008482/1.003, allocations: 267 kB / 1.135 GB, free: 232 kB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.0007566/1.004, allocations: 0.8575 MB / 1.136 GB, free: 96 kB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003551/1.004, allocations: 208.4 kB / 1.136 GB, free: 64 kB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001055/1.005, allocations: 466.1 kB / 1.137 GB, free: 15.93 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003516/1.006, allocations: 260.6 kB / 1.137 GB, free: 15.87 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 3.889e-05/1.006, allocations: 13.84 kB / 1.137 GB, free: 15.87 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005406/1.006, allocations: 201.1 kB / 1.137 GB, free: 15.84 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0001122/1.007, allocations: 97.52 kB / 1.137 GB, free: 15.82 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 8.234e-05/1.007, allocations: 83.3 kB / 1.137 GB, free: 15.78 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.000418/1.007, allocations: 313.6 kB / 1.138 GB, free: 15.73 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 8.756e-06/1.007, allocations: 3 kB / 1.138 GB, free: 15.73 MB / 0.698 GB Notification: Performance of FrontEnd: time 6.232e-06/1.007, allocations: 2.656 kB / 1.138 GB, free: 15.73 MB / 0.698 GB Notification: Performance of Transformations before backend: time 8.536e-06/1.007, allocations: 3.938 kB / 1.138 GB, free: 15.73 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: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.0008774/1.008, allocations: 0.5604 MB / 1.138 GB, free: 15.27 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.538e-05/1.008, allocations: 13.33 kB / 1.138 GB, free: 15.27 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.799e-05/1.008, allocations: 60.73 kB / 1.138 GB, free: 15.23 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003652/1.008, allocations: 56.03 kB / 1.138 GB, free: 15.21 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004131/1.009, allocations: 298.8 kB / 1.139 GB, free: 14.98 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.317e-05/1.009, allocations: 18.09 kB / 1.139 GB, free: 14.98 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.747e-05/1.009, allocations: 29.31 kB / 1.139 GB, free: 14.98 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005415/1.01, allocations: 319.2 kB / 1.139 GB, free: 14.88 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.162e-05/1.01, allocations: 5.094 kB / 1.139 GB, free: 14.88 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.73e-05/1.01, allocations: 15.27 kB / 1.139 GB, free: 14.87 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.476e-06/1.01, allocations: 6.375 kB / 1.139 GB, free: 14.87 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004041/1.01, allocations: 209.8 kB / 1.139 GB, free: 14.86 MB / 0.698 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.001585/1.012, allocations: 1.539 MB / 1.141 GB, free: 13.69 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002589/1.012, allocations: 141 kB / 1.141 GB, free: 13.65 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001713/1.012, allocations: 92.95 kB / 1.141 GB, free: 13.64 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006805/1.013, allocations: 318.3 kB / 1.141 GB, free: 13.36 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.144e-05/1.013, allocations: 34.5 kB / 1.141 GB, free: 13.31 MB / 0.698 GB Notification: Performance of pre-optimization done (n=13): time 1.784e-06/1.013, allocations: 0 / 1.141 GB, free: 13.31 MB / 0.698 GB Notification: Performance of matching and sorting (n=13): time 0.0007707/1.014, allocations: 283.9 kB / 1.141 GB, free: 13.26 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.048e-05/1.014, allocations: 57.22 kB / 1.141 GB, free: 13.2 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003528/1.014, allocations: 313.8 kB / 1.142 GB, free: 13.08 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.478e-05/1.014, allocations: 26.86 kB / 1.142 GB, free: 13.05 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001522/1.014, allocations: 183.3 kB / 1.142 GB, free: 12.94 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 4.578e-05/1.014, allocations: 43.48 kB / 1.142 GB, free: 12.91 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.416e-06/1.014, allocations: 7.875 kB / 1.142 GB, free: 12.91 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001497/1.014, allocations: 341 kB / 1.142 GB, free: 12.59 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001594/1.015, allocations: 66.33 kB / 1.142 GB, free: 12.59 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001976/1.015, allocations: 114.1 kB / 1.143 GB, free: 12.54 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001645/1.015, allocations: 75.06 kB / 1.143 GB, free: 12.54 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/1.015, allocations: 0 / 1.143 GB, free: 12.54 MB / 0.698 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004515/1.015, allocations: 235.4 kB / 1.143 GB, free: 12.48 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.635e-05/1.015, allocations: 6.312 kB / 1.143 GB, free: 12.48 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.586e-06/1.015, allocations: 0 / 1.143 GB, free: 12.48 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.892e-05/1.015, allocations: 2.531 kB / 1.143 GB, free: 12.48 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001968/1.016, allocations: 39.03 kB / 1.143 GB, free: 12.47 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.001e-05/1.016, allocations: 5.688 kB / 1.143 GB, free: 12.47 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002168/1.016, allocations: 39.17 kB / 1.143 GB, free: 12.46 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.823e-05/1.016, allocations: 13.22 kB / 1.143 GB, free: 12.46 MB / 0.698 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.0001492/1.016, allocations: 145.3 kB / 1.143 GB, free: 12.34 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.706e-05/1.016, allocations: 35.27 kB / 1.143 GB, free: 12.32 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004638/1.017, allocations: 221 kB / 1.143 GB, free: 12.23 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.649e-06/1.017, allocations: 3.375 kB / 1.143 GB, free: 12.23 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/1.017, allocations: 0 / 1.143 GB, free: 12.23 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.038e-06/1.017, allocations: 0 / 1.143 GB, free: 12.23 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001018/1.018, allocations: 0.6974 MB / 1.144 GB, free: 11.75 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.809e-06/1.018, allocations: 7.594 kB / 1.144 GB, free: 11.75 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001275/1.018, allocations: 25.23 kB / 1.144 GB, free: 11.74 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.831e-06/1.018, allocations: 3.359 kB / 1.144 GB, free: 11.74 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.516e-05/1.018, allocations: 10.2 kB / 1.144 GB, free: 11.74 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.286e-06/1.018, allocations: 3.156 kB / 1.144 GB, free: 11.74 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.22e-06/1.018, allocations: 6.5 kB / 1.144 GB, free: 11.73 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004545/1.018, allocations: 347.1 kB / 1.144 GB, free: 11.5 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000109/1.018, allocations: 117.9 kB / 1.145 GB, free: 11.39 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.869e-05/1.019, allocations: 7.266 kB / 1.145 GB, free: 11.38 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000177/1.019, allocations: 19.42 kB / 1.145 GB, free: 11.38 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.431e-05/1.019, allocations: 27.16 kB / 1.145 GB, free: 11.36 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.407e-06/1.019, allocations: 3.375 kB / 1.145 GB, free: 11.36 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001954/1.019, allocations: 217.9 kB / 1.145 GB, free: 11.26 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.3e-07/1.019, allocations: 3.938 kB / 1.145 GB, free: 11.26 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003696/1.019, allocations: 80.23 kB / 1.145 GB, free: 11.24 MB / 0.698 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.00103/1.02, allocations: 0.9194 MB / 1.146 GB, free: 10.46 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0004008/1.021, allocations: 168 kB / 1.146 GB, free: 10.43 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/1.021, allocations: 0 / 1.146 GB, free: 10.43 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001824/1.021, allocations: 92.3 kB / 1.146 GB, free: 10.41 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008501/1.022, allocations: 143.4 kB / 1.146 GB, free: 10.36 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002932/1.025, allocations: 1.67 MB / 1.148 GB, free: 9.453 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004303/1.025, allocations: 0.7809 MB / 1.149 GB, free: 8.715 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0002904/1.026, allocations: 56.91 kB / 1.149 GB, free: 8.695 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001461/1.026, allocations: 91.12 kB / 1.149 GB, free: 8.68 MB / 0.698 GB Notification: Performance of SimCode: time 8.72e-07/1.026, allocations: 3.938 kB / 1.149 GB, free: 8.676 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02324/1.049, allocations: 7.539 MB / 1.156 GB, free: 5.059 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002126/1.049, allocations: 240.5 kB / 1.156 GB, free: 4.812 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.332/3.381, allocations: 7.656 kB / 1.156 GB, free: 4.809 MB / 0.698 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_Sensors_Examples_EnthalpyFlowRate_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_Sensors_Examples_EnthalpyFlowRate.fmu > Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe 2>&1)