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.682/1.682, allocations: 288.4 MB / 303.6 MB, free: 8.125 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.001012/0.001012, allocations: 176.4 kB / 372.3 MB, free: 10.11 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.518/1.518, allocations: 205.4 MB / 0.631 GB, free: 9.898 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.0008179/0.0008179, allocations: 102.3 kB / 0.7444 GB, free: 5.801 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004151/0.0004151, allocations: 16.7 kB / 0.8676 GB, free: 141.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1911/0.1915, allocations: 115.3 MB / 0.9802 GB, free: 27.24 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.5562/0.7477, allocations: 152.2 MB / 1.129 GB, free: 1.625 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.005424/0.7532, allocations: 6.074 MB / 1.135 GB, free: 0.543 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002978/0.7535, allocations: 9.812 kB / 1.135 GB, free: 0.5391 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0004461/0.754, allocations: 117.5 kB / 1.135 GB, free: 0.4922 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.001579/0.7556, allocations: 0.7407 MB / 1.136 GB, free: 204 kB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007226/0.7563, allocations: 264.3 kB / 1.136 GB, free: 160 kB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.000858/0.7572, allocations: 0.8635 MB / 1.137 GB, free: 24 kB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004377/0.7576, allocations: 220.9 kB / 1.137 GB, free: 16 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001051/0.7587, allocations: 0.4974 MB / 1.137 GB, free: 15.85 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003737/0.7591, allocations: 267.4 kB / 1.138 GB, free: 15.78 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 4.052e-05/0.7591, allocations: 13.91 kB / 1.138 GB, free: 15.78 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007128/0.7598, allocations: 385.9 kB / 1.138 GB, free: 15.7 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0001168/0.76, allocations: 96.12 kB / 1.138 GB, free: 15.69 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0001732/0.7601, allocations: 167.3 kB / 1.138 GB, free: 15.61 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.000421/0.7606, allocations: 330.1 kB / 1.139 GB, free: 15.57 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 6.311e-06/0.7606, allocations: 1.969 kB / 1.139 GB, free: 15.57 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.533e-06/0.7606, allocations: 1.156 kB / 1.139 GB, free: 15.57 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.882e-06/0.7606, allocations: 0 / 1.139 GB, free: 15.57 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.000842/0.7615, allocations: 0.5642 MB / 1.139 GB, free: 15.1 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.778e-05/0.7615, allocations: 10.44 kB / 1.139 GB, free: 15.1 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.911e-05/0.7616, allocations: 59.91 kB / 1.139 GB, free: 15.06 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003039/0.7619, allocations: 63.45 kB / 1.139 GB, free: 15.04 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003725/0.7623, allocations: 300.9 kB / 1.14 GB, free: 14.8 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.408e-05/0.7623, allocations: 21.12 kB / 1.14 GB, free: 14.8 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.494e-05/0.7624, allocations: 29.52 kB / 1.14 GB, free: 14.79 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005108/0.7629, allocations: 318.9 kB / 1.14 GB, free: 14.7 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.253e-05/0.7629, allocations: 4.906 kB / 1.14 GB, free: 14.7 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.616e-05/0.7629, allocations: 21.84 kB / 1.14 GB, free: 14.69 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.937e-06/0.7629, allocations: 5.719 kB / 1.14 GB, free: 14.69 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003947/0.7633, allocations: 209.2 kB / 1.14 GB, free: 14.68 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.001387/0.7647, allocations: 1.549 MB / 1.142 GB, free: 13.5 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002347/0.765, allocations: 130.1 kB / 1.142 GB, free: 13.46 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001858/0.7652, allocations: 93.69 kB / 1.142 GB, free: 13.46 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005732/0.7658, allocations: 315.2 kB / 1.142 GB, free: 13.17 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.292e-05/0.7658, allocations: 35.56 kB / 1.142 GB, free: 13.13 MB / 0.698 GB Notification: Performance of pre-optimization done (n=13): time 1.162e-06/0.7658, allocations: 1 kB / 1.142 GB, free: 13.13 MB / 0.698 GB Notification: Performance of matching and sorting (n=13): time 0.0007112/0.7665, allocations: 285.7 kB / 1.142 GB, free: 13.08 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.984e-05/0.7666, allocations: 52.47 kB / 1.143 GB, free: 13.02 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002961/0.7669, allocations: 310.7 kB / 1.143 GB, free: 12.9 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.499e-05/0.7669, allocations: 30.02 kB / 1.143 GB, free: 12.87 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001318/0.767, allocations: 182.3 kB / 1.143 GB, free: 12.76 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.509e-05/0.7671, allocations: 46.95 kB / 1.143 GB, free: 12.73 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.983e-06/0.7671, allocations: 0 / 1.143 GB, free: 12.73 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.000121/0.7672, allocations: 343.3 kB / 1.143 GB, free: 12.41 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001592/0.7674, allocations: 61.42 kB / 1.143 GB, free: 12.4 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001959/0.7676, allocations: 114.6 kB / 1.144 GB, free: 12.34 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003372/0.7679, allocations: 193.5 kB / 1.144 GB, free: 12.25 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.976e-06/0.768, allocations: 1.156 kB / 1.144 GB, free: 12.25 MB / 0.698 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.000457/0.7684, allocations: 232.1 kB / 1.144 GB, free: 12.16 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.504e-05/0.7684, allocations: 5.938 kB / 1.144 GB, free: 12.16 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.612e-06/0.7685, allocations: 2.281 kB / 1.144 GB, free: 12.16 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.543e-05/0.7685, allocations: 2.438 kB / 1.144 GB, free: 12.16 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001728/0.7687, allocations: 36.12 kB / 1.144 GB, free: 12.16 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.967e-06/0.7687, allocations: 5.5 kB / 1.144 GB, free: 12.15 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002003/0.7689, allocations: 39.58 kB / 1.144 GB, free: 12.13 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.903e-05/0.7689, allocations: 9.25 kB / 1.144 GB, free: 12.13 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.0001287/0.7691, allocations: 148 kB / 1.144 GB, free: 12.01 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.917e-05/0.7691, allocations: 29.09 kB / 1.144 GB, free: 12 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004455/0.7696, allocations: 226 kB / 1.144 GB, free: 11.91 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.506e-06/0.7696, allocations: 2.312 kB / 1.144 GB, free: 11.91 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.7696, allocations: 0 / 1.144 GB, free: 11.91 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.916e-06/0.7696, allocations: 0 / 1.144 GB, free: 11.91 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001004/0.7706, allocations: 0.692 MB / 1.145 GB, free: 11.43 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.417e-06/0.7706, allocations: 2.5 kB / 1.145 GB, free: 11.43 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000141/0.7708, allocations: 41.53 kB / 1.145 GB, free: 11.42 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.909e-06/0.7708, allocations: 4.109 kB / 1.145 GB, free: 11.42 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.122e-05/0.7708, allocations: 10.75 kB / 1.145 GB, free: 11.41 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.339e-06/0.7708, allocations: 2.125 kB / 1.145 GB, free: 11.41 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.277e-06/0.7708, allocations: 2.438 kB / 1.145 GB, free: 11.41 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004829/0.7713, allocations: 344.8 kB / 1.146 GB, free: 11.18 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001128/0.7714, allocations: 122.3 kB / 1.146 GB, free: 11.06 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.025e-05/0.7715, allocations: 9.5 kB / 1.146 GB, free: 11.06 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001793/0.7717, allocations: 20.36 kB / 1.146 GB, free: 11.05 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.989e-05/0.7718, allocations: 16.3 kB / 1.146 GB, free: 11.04 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.603e-05/0.7718, allocations: 9.375 kB / 1.146 GB, free: 11.04 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0002805/0.7721, allocations: 222.5 kB / 1.146 GB, free: 10.93 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.31e-07/0.7721, allocations: 3.938 kB / 1.146 GB, free: 10.93 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003682/0.7724, allocations: 73.22 kB / 1.146 GB, free: 10.92 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.0009484/0.7734, allocations: 0.9284 MB / 1.147 GB, free: 10.14 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0004165/0.7738, allocations: 163.3 kB / 1.147 GB, free: 10.1 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.7738, allocations: 0 / 1.147 GB, free: 10.1 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001863/0.774, allocations: 92.88 kB / 1.147 GB, free: 10.08 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008481/0.7749, allocations: 144.5 kB / 1.147 GB, free: 10.04 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002294/0.7772, allocations: 1.684 MB / 1.149 GB, free: 9.113 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000341/0.7776, allocations: 0.784 MB / 1.15 GB, free: 8.375 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0002018/0.7778, allocations: 60.67 kB / 1.15 GB, free: 8.352 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000114/0.7779, allocations: 89.59 kB / 1.15 GB, free: 8.336 MB / 0.698 GB Notification: Performance of SimCode: time 4.51e-07/0.7779, allocations: 0 / 1.15 GB, free: 8.336 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4748/1.253, allocations: 7.62 MB / 1.157 GB, free: 4.68 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003357/1.253, allocations: 235.1 kB / 1.157 GB, free: 4.438 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.574/3.827, allocations: 0 / 1.157 GB, free: 4.438 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)