Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Sensors_Examples_EnthalpyFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate,fileNamePrefix="Buildings_8_0_0_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.0/package.mo): time 1.582/1.582, allocations: 287.4 MB / 302.6 MB, free: 8.293 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.0009745/0.0009746, allocations: 178.3 kB / 371.1 MB, free: 10.84 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.409/1.409, allocations: 205.4 MB / 0.6298 GB, free: 10.57 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.000829/0.0008292, allocations: 88.55 kB / 0.7431 GB, free: 6.555 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004666/0.0004667, allocations: 16.44 kB / 0.8662 GB, free: 140.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2254/0.2259, allocations: 115.3 MB / 0.9787 GB, free: 28.1 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.6752/0.9012, allocations: 152.2 MB / 1.127 GB, free: 0.918 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.007654/0.9089, allocations: 6.076 MB / 1.133 GB, free: 220 kB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005847/0.9096, allocations: 9.062 kB / 1.133 GB, free: 216 kB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0006142/0.9102, allocations: 118.5 kB / 1.133 GB, free: 168 kB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.002064/0.9123, allocations: 0.5968 MB / 1.134 GB, free: 15.91 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008448/0.9131, allocations: 268 kB / 1.134 GB, free: 15.86 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0008638/0.914, allocations: 0.8565 MB / 1.135 GB, free: 15.73 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003206/0.9143, allocations: 229.6 kB / 1.135 GB, free: 15.7 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001027/0.9154, allocations: 458.6 kB / 1.136 GB, free: 15.57 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003837/0.9158, allocations: 263.6 kB / 1.136 GB, free: 15.5 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 4.056e-05/0.9158, allocations: 14.16 kB / 1.136 GB, free: 15.5 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005066/0.9163, allocations: 203.5 kB / 1.136 GB, free: 15.46 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 9.818e-05/0.9164, allocations: 96.22 kB / 1.136 GB, free: 15.45 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 6.85e-05/0.9165, allocations: 82.7 kB / 1.136 GB, free: 15.41 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0003474/0.9169, allocations: 319.4 kB / 1.137 GB, free: 15.36 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.9169, allocations: 0 / 1.137 GB, free: 15.36 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.016e-06/0.9169, allocations: 4 kB / 1.137 GB, free: 15.36 MB / 0.698 GB Notification: Performance of Transformations before backend: time 5.72e-06/0.9169, allocations: 1.75 kB / 1.137 GB, free: 15.36 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.0007557/0.9177, allocations: 0.5533 MB / 1.137 GB, free: 14.9 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.182e-05/0.9177, allocations: 9.875 kB / 1.137 GB, free: 14.9 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.996e-05/0.9178, allocations: 69.22 kB / 1.137 GB, free: 14.86 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000259/0.918, allocations: 60.14 kB / 1.137 GB, free: 14.84 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003676/0.9184, allocations: 314.8 kB / 1.138 GB, free: 14.59 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.252e-05/0.9185, allocations: 20.22 kB / 1.138 GB, free: 14.59 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.271e-05/0.9185, allocations: 24.41 kB / 1.138 GB, free: 14.59 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004565/0.919, allocations: 320.6 kB / 1.138 GB, free: 14.49 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.109e-05/0.919, allocations: 0 / 1.138 GB, free: 14.49 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.038e-05/0.919, allocations: 10.34 kB / 1.138 GB, free: 14.49 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.044e-05/0.919, allocations: 9.594 kB / 1.138 GB, free: 14.49 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003598/0.9194, allocations: 217.7 kB / 1.138 GB, free: 14.48 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.001377/0.9208, allocations: 1.536 MB / 1.14 GB, free: 13.3 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002233/0.921, allocations: 124 kB / 1.14 GB, free: 13.28 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001565/0.9212, allocations: 99.34 kB / 1.14 GB, free: 13.27 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005571/0.9217, allocations: 322.3 kB / 1.14 GB, free: 12.98 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.236e-05/0.9218, allocations: 30.56 kB / 1.14 GB, free: 12.94 MB / 0.698 GB Notification: Performance of pre-optimization done (n=13): time 1.744e-06/0.9218, allocations: 1.859 kB / 1.14 GB, free: 12.94 MB / 0.698 GB Notification: Performance of matching and sorting (n=13): time 0.000635/0.9224, allocations: 289.4 kB / 1.141 GB, free: 12.89 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.458e-05/0.9225, allocations: 51.41 kB / 1.141 GB, free: 12.82 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002761/0.9227, allocations: 310.5 kB / 1.141 GB, free: 12.71 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.26e-05/0.9228, allocations: 31.23 kB / 1.141 GB, free: 12.68 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001111/0.9229, allocations: 181.3 kB / 1.141 GB, free: 12.57 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.419e-05/0.9229, allocations: 48.78 kB / 1.141 GB, free: 12.54 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.404e-06/0.923, allocations: 7.375 kB / 1.141 GB, free: 12.53 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001272/0.9231, allocations: 338.2 kB / 1.141 GB, free: 12.22 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001348/0.9232, allocations: 61.28 kB / 1.142 GB, free: 12.22 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001636/0.9234, allocations: 123.1 kB / 1.142 GB, free: 12.17 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000311/0.9237, allocations: 186.3 kB / 1.142 GB, free: 12.11 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.9237, allocations: 0 / 1.142 GB, free: 12.11 MB / 0.698 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003912/0.9241, allocations: 228.3 kB / 1.142 GB, free: 12.05 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.62e-05/0.9242, allocations: 7.438 kB / 1.142 GB, free: 12.05 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.9242, allocations: 0 / 1.142 GB, free: 12.05 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.367e-05/0.9242, allocations: 3 kB / 1.142 GB, free: 12.05 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001631/0.9243, allocations: 41.41 kB / 1.142 GB, free: 12.05 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.214e-06/0.9244, allocations: 2.031 kB / 1.142 GB, free: 12.05 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001833/0.9246, allocations: 36.38 kB / 1.142 GB, free: 12.03 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.91e-05/0.9246, allocations: 11.69 kB / 1.142 GB, free: 12.03 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.0001417/0.9247, allocations: 155.7 kB / 1.142 GB, free: 11.91 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.021e-05/0.9248, allocations: 32.73 kB / 1.142 GB, free: 11.89 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004164/0.9252, allocations: 217.1 kB / 1.143 GB, free: 11.84 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.058e-06/0.9252, allocations: 3.672 kB / 1.143 GB, free: 11.84 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/0.9252, allocations: 3.125 kB / 1.143 GB, free: 11.84 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.956e-06/0.9253, allocations: 1.188 kB / 1.143 GB, free: 11.84 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009403/0.9262, allocations: 0.6954 MB / 1.143 GB, free: 11.46 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.827e-06/0.9262, allocations: 2 kB / 1.143 GB, free: 11.46 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000126/0.9263, allocations: 28.84 kB / 1.143 GB, free: 11.46 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.873e-06/0.9264, allocations: 4.609 kB / 1.143 GB, free: 11.46 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.022e-05/0.9264, allocations: 10.28 kB / 1.143 GB, free: 11.45 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.789e-06/0.9264, allocations: 3.062 kB / 1.143 GB, free: 11.45 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.611e-06/0.9264, allocations: 6.438 kB / 1.143 GB, free: 11.45 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004797/0.9269, allocations: 338 kB / 1.144 GB, free: 11.25 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001064/0.927, allocations: 118.9 kB / 1.144 GB, free: 11.14 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.044e-05/0.9271, allocations: 12.31 kB / 1.144 GB, free: 11.13 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001654/0.9272, allocations: 18.64 kB / 1.144 GB, free: 11.13 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.065e-05/0.9273, allocations: 19.83 kB / 1.144 GB, free: 11.12 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.084e-05/0.9273, allocations: 5.344 kB / 1.144 GB, free: 11.12 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0002544/0.9276, allocations: 221.4 kB / 1.144 GB, free: 11.05 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.31e-07/0.9276, allocations: 0 / 1.144 GB, free: 11.05 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003876/0.928, allocations: 77.19 kB / 1.144 GB, free: 11.04 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.001063/0.929, allocations: 0.9408 MB / 1.145 GB, free: 10.27 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.000388/0.9294, allocations: 162.3 kB / 1.145 GB, free: 10.26 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.436e-06/0.9294, allocations: 320 / 1.145 GB, free: 10.26 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001797/0.9296, allocations: 94.86 kB / 1.145 GB, free: 10.25 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008533/0.9305, allocations: 142.3 kB / 1.145 GB, free: 10.24 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002541/0.933, allocations: 1.673 MB / 1.147 GB, free: 9.52 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003561/0.9334, allocations: 0.7816 MB / 1.148 GB, free: 8.82 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0002349/0.9337, allocations: 62.56 kB / 1.148 GB, free: 8.812 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001213/0.9338, allocations: 86.48 kB / 1.148 GB, free: 8.805 MB / 0.698 GB Notification: Performance of SimCode: time 7.31e-07/0.9338, allocations: 0 / 1.148 GB, free: 8.805 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1646/1.098, allocations: 7.552 MB / 1.155 GB, free: 5.383 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002155/1.099, allocations: 224.6 kB / 1.155 GB, free: 5.145 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.893/2.992, allocations: 0 / 1.155 GB, free: 5.145 MB / 0.698 GB (rm -f Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_Sensors_Examples_EnthalpyFlowRate_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_Sensors_Examples_EnthalpyFlowRate.fmu > Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe 2>&1)