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.919/1.919, allocations: 288.2 MB / 303.2 MB, free: 8.133 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.001126/0.001126, allocations: 175.4 kB / 371.8 MB, free: 10.29 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.69/1.69, allocations: 205.4 MB / 0.6305 GB, free: 10.01 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.001193/0.001193, allocations: 89.16 kB / 0.7439 GB, free: 5.941 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004082/0.0004084, allocations: 12.78 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2367/0.2372, allocations: 115.3 MB / 0.9795 GB, free: 27.61 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.7439/0.9811, allocations: 140.3 MB / 1.117 GB, free: 1.664 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.006503/0.9877, allocations: 5.267 MB / 1.122 GB, free: 1.25 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006103/0.9883, allocations: 9.969 kB / 1.122 GB, free: 1.246 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0007851/0.9891, allocations: 196.1 kB / 1.122 GB, free: 1.207 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.002082/0.9912, allocations: 0.5592 MB / 1.122 GB, free: 1.176 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.001535/0.9928, allocations: 351.7 kB / 1.123 GB, free: 1.164 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.001116/0.9939, allocations: 425.2 kB / 1.123 GB, free: 1.148 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000484/0.9944, allocations: 223.1 kB / 1.123 GB, free: 1.121 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00129/0.9957, allocations: 432.4 kB / 1.124 GB, free: 1.07 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003465/0.9961, allocations: 199.3 kB / 1.124 GB, free: 1.031 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 4.338e-05/0.9961, allocations: 13.22 kB / 1.124 GB, free: 1.031 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008434/0.997, allocations: 200.5 kB / 1.124 GB, free: 1.023 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.000152/0.9971, allocations: 92.44 kB / 1.124 GB, free: 1.012 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0002054/0.9973, allocations: 86.83 kB / 1.124 GB, free: 16.97 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0006257/0.998, allocations: 310.9 kB / 1.125 GB, free: 16.94 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.998, allocations: 0 / 1.125 GB, free: 16.94 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.114e-06/0.998, allocations: 5.25 kB / 1.125 GB, free: 16.94 MB / 0.698 GB Notification: Performance of Transformations before backend: time 9.808e-06/0.998, allocations: 0 / 1.125 GB, free: 16.94 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.001177/0.9992, allocations: 0.5627 MB / 1.125 GB, free: 16.48 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.456e-05/0.9993, allocations: 9.781 kB / 1.125 GB, free: 16.48 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.097e-05/0.9994, allocations: 61.75 kB / 1.125 GB, free: 16.44 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003745/0.9997, allocations: 56.88 kB / 1.125 GB, free: 16.43 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005044/1, allocations: 300.9 kB / 1.126 GB, free: 16.2 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.788e-05/1, allocations: 23.34 kB / 1.126 GB, free: 16.19 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.499e-05/1, allocations: 23.41 kB / 1.126 GB, free: 16.19 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006612/1.001, allocations: 325.1 kB / 1.126 GB, free: 16.09 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.48e-05/1.001, allocations: 2.906 kB / 1.126 GB, free: 16.09 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.09e-05/1.001, allocations: 14.58 kB / 1.126 GB, free: 16.08 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.347e-05/1.001, allocations: 7.281 kB / 1.126 GB, free: 16.08 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000472/1.002, allocations: 210 kB / 1.126 GB, free: 16.07 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.001659/1.003, allocations: 1.541 MB / 1.128 GB, free: 14.91 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002488/1.004, allocations: 129.4 kB / 1.128 GB, free: 14.88 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004497/1.004, allocations: 141.5 kB / 1.128 GB, free: 14.79 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.379e-05/1.004, allocations: 30.56 kB / 1.128 GB, free: 14.75 MB / 0.698 GB Notification: Performance of pre-optimization done (n=13): time 1.523e-06/1.004, allocations: 0 / 1.128 GB, free: 14.75 MB / 0.698 GB Notification: Performance of matching and sorting (n=13): time 0.000752/1.005, allocations: 285.5 kB / 1.128 GB, free: 14.7 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.375e-05/1.005, allocations: 58.19 kB / 1.128 GB, free: 14.63 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003323/1.005, allocations: 310.4 kB / 1.129 GB, free: 14.52 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.201e-05/1.005, allocations: 31.36 kB / 1.129 GB, free: 14.48 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001435/1.005, allocations: 182.8 kB / 1.129 GB, free: 14.37 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 4.332e-05/1.005, allocations: 49.52 kB / 1.129 GB, free: 14.34 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.484e-06/1.005, allocations: 0 / 1.129 GB, free: 14.34 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001547/1.006, allocations: 339.5 kB / 1.129 GB, free: 14.03 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001451/1.006, allocations: 62.55 kB / 1.129 GB, free: 14.03 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000189/1.006, allocations: 116.9 kB / 1.129 GB, free: 13.98 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001616/1.006, allocations: 77.92 kB / 1.129 GB, free: 13.98 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/1.006, allocations: 0 / 1.129 GB, free: 13.98 MB / 0.698 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004126/1.007, allocations: 237.2 kB / 1.13 GB, free: 13.91 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.745e-05/1.007, allocations: 6.125 kB / 1.13 GB, free: 13.91 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.573e-06/1.007, allocations: 2.781 kB / 1.13 GB, free: 13.91 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.544e-05/1.007, allocations: 2.625 kB / 1.13 GB, free: 13.91 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001703/1.007, allocations: 38.69 kB / 1.13 GB, free: 13.91 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.177e-06/1.007, allocations: 2.812 kB / 1.13 GB, free: 13.91 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002065/1.007, allocations: 39.62 kB / 1.13 GB, free: 13.89 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.106e-05/1.007, allocations: 11.75 kB / 1.13 GB, free: 13.89 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.0001558/1.007, allocations: 146.9 kB / 1.13 GB, free: 13.78 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.98e-05/1.007, allocations: 34.45 kB / 1.13 GB, free: 13.76 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004449/1.008, allocations: 221.7 kB / 1.13 GB, free: 13.71 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.348e-06/1.008, allocations: 3 kB / 1.13 GB, free: 13.71 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/1.008, allocations: 0 / 1.13 GB, free: 13.71 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/1.008, allocations: 0 / 1.13 GB, free: 13.71 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001067/1.009, allocations: 0.697 MB / 1.131 GB, free: 13.32 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.637e-06/1.009, allocations: 2.219 kB / 1.131 GB, free: 13.32 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001256/1.009, allocations: 32.02 kB / 1.131 GB, free: 13.32 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.611e-06/1.009, allocations: 3.469 kB / 1.131 GB, free: 13.32 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.482e-05/1.009, allocations: 2.969 kB / 1.131 GB, free: 13.32 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.755e-06/1.009, allocations: 16.61 kB / 1.131 GB, free: 13.31 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.596e-06/1.009, allocations: 1.656 kB / 1.131 GB, free: 13.31 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005082/1.01, allocations: 431.9 kB / 1.131 GB, free: 12.98 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001344/1.01, allocations: 118.8 kB / 1.131 GB, free: 12.87 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.047e-05/1.01, allocations: 9.047 kB / 1.131 GB, free: 12.87 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00017/1.01, allocations: 21.06 kB / 1.131 GB, free: 12.87 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.213e-05/1.01, allocations: 17.05 kB / 1.131 GB, free: 12.86 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.496e-06/1.01, allocations: 4.844 kB / 1.131 GB, free: 12.86 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0002022/1.01, allocations: 221 kB / 1.132 GB, free: 12.79 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.21e-07/1.01, allocations: 0 / 1.132 GB, free: 12.79 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003963/1.011, allocations: 79.03 kB / 1.132 GB, free: 12.77 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.001357/1.012, allocations: 1.486 MB / 1.133 GB, free: 11.44 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0004316/1.012, allocations: 162.8 kB / 1.133 GB, free: 11.43 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 5.521e-06/1.012, allocations: 8.797 kB / 1.133 GB, free: 11.43 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001761/1.013, allocations: 86.81 kB / 1.133 GB, free: 11.42 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007523/1.013, allocations: 137.3 kB / 1.134 GB, free: 11.41 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002916/1.016, allocations: 2.401 MB / 1.136 GB, free: 9.953 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003846/1.017, allocations: 0.7943 MB / 1.137 GB, free: 9.25 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0002467/1.017, allocations: 64.89 kB / 1.137 GB, free: 9.238 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001235/1.017, allocations: 92.14 kB / 1.137 GB, free: 9.23 MB / 0.698 GB Notification: Performance of SimCode: time 8.01e-07/1.017, allocations: 0 / 1.137 GB, free: 9.23 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02355/1.041, allocations: 7.528 MB / 1.144 GB, free: 5.711 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002017/1.041, allocations: 230.2 kB / 1.144 GB, free: 5.469 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.042/3.083, allocations: 0 / 1.144 GB, free: 5.469 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)