Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.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.EnthalpyFlowRate,fileNamePrefix="Buildings_8_Buildings_Fluid_Sensors_Examples_EnthalpyFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.911/1.911, allocations: 289.7 MB / 302.2 MB, free: 2.102 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.001116/0.001116, allocations: 179.2 kB / 371.6 MB, free: 3.438 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.586/1.586, allocations: 205.1 MB / 0.6309 GB, free: 11.73 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.0008759/0.000876, allocations: 86.94 kB / 0.745 GB, free: 54.52 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 3.686e-05/3.688e-05, allocations: 4 kB / 0.8663 GB, free: 14.95 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2568/0.2568, allocations: 116.3 MB / 0.9799 GB, free: 10.49 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.455/6.712, allocations: 2.063 GB / 3.043 GB, free: 179.7 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003324/6.713, allocations: 91.94 kB / 3.043 GB, free: 179.6 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 1.387/8.1, allocations: 297.7 MB / 3.334 GB, free: 212.5 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.475e-06/8.1, allocations: 0 / 3.334 GB, free: 212.5 MB / 0.948 GB Notification: Performance of Transformations before backend: time 4.576e-05/8.1, allocations: 10.88 kB / 3.334 GB, free: 212.5 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: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.001747/8.101, allocations: 0.6494 MB / 3.334 GB, free: 212 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 7.621e-05/8.102, allocations: 12.78 kB / 3.334 GB, free: 212 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.851e-05/8.102, allocations: 63.61 kB / 3.335 GB, free: 211.9 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003959/8.102, allocations: 57.88 kB / 3.335 GB, free: 211.9 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006428/8.103, allocations: 324.4 kB / 3.335 GB, free: 211.7 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.403e-05/8.103, allocations: 20.59 kB / 3.335 GB, free: 211.6 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.235e-05/8.103, allocations: 25.81 kB / 3.335 GB, free: 211.6 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006188/8.103, allocations: 296.7 kB / 3.335 GB, free: 211.5 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.718e-05/8.103, allocations: 1.594 kB / 3.335 GB, free: 211.5 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3e-05/8.104, allocations: 9.375 kB / 3.335 GB, free: 211.5 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.886e-05/8.104, allocations: 8.453 kB / 3.335 GB, free: 211.5 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003755/8.104, allocations: 164.4 kB / 3.335 GB, free: 211.4 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.00166/8.106, allocations: 1.53 MB / 3.337 GB, free: 210.1 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001936/8.106, allocations: 100.3 kB / 3.337 GB, free: 210 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001243/8.106, allocations: 69.44 kB / 3.337 GB, free: 210 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005295/8.106, allocations: 307 kB / 3.337 GB, free: 209.7 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.186e-05/8.107, allocations: 31.56 kB / 3.337 GB, free: 209.7 MB / 0.948 GB Notification: Performance of pre-optimization done (n=13): time 1.352e-06/8.107, allocations: 0 / 3.337 GB, free: 209.7 MB / 0.948 GB Notification: Performance of matching and sorting (n=13): time 0.0005027/8.107, allocations: 173.3 kB / 3.338 GB, free: 209.6 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.489e-05/8.107, allocations: 53.47 kB / 3.338 GB, free: 209.5 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003499/8.107, allocations: 275.2 kB / 3.338 GB, free: 209.4 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 2.2e-05/8.107, allocations: 33.55 kB / 3.338 GB, free: 209.4 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001263/8.108, allocations: 184.2 kB / 3.338 GB, free: 209.2 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 3.507e-05/8.108, allocations: 44.64 kB / 3.338 GB, free: 209.2 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.205e-06/8.108, allocations: 5.406 kB / 3.338 GB, free: 209.2 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001005/8.108, allocations: 337.4 kB / 3.338 GB, free: 208.8 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.791e-05/8.108, allocations: 39.78 kB / 3.338 GB, free: 208.8 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001529/8.108, allocations: 106 kB / 3.339 GB, free: 208.7 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001229/8.108, allocations: 60.88 kB / 3.339 GB, free: 208.7 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/8.108, allocations: 0 / 3.339 GB, free: 208.7 MB / 0.948 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003702/8.109, allocations: 187.8 kB / 3.339 GB, free: 208.6 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.826e-05/8.109, allocations: 6.062 kB / 3.339 GB, free: 208.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.095e-06/8.109, allocations: 4.906 kB / 3.339 GB, free: 208.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.97e-05/8.109, allocations: 3 kB / 3.339 GB, free: 208.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002063/8.109, allocations: 34.06 kB / 3.339 GB, free: 208.6 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.309e-05/8.109, allocations: 7.125 kB / 3.339 GB, free: 208.6 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002309/8.109, allocations: 44.55 kB / 3.339 GB, free: 208.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.791e-05/8.109, allocations: 7.125 kB / 3.339 GB, free: 208.6 MB / 0.948 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 () * 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 9.903e-05/8.109, allocations: 108.1 kB / 3.339 GB, free: 208.5 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.874e-05/8.109, allocations: 33.45 kB / 3.339 GB, free: 208.5 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003947/8.11, allocations: 183.6 kB / 3.339 GB, free: 208.4 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.478e-06/8.11, allocations: 1.094 kB / 3.339 GB, free: 208.4 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.11e-06/8.11, allocations: 1.156 kB / 3.339 GB, free: 208.4 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.45e-06/8.11, allocations: 7.938 kB / 3.339 GB, free: 208.4 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008873/8.111, allocations: 0.6275 MB / 3.34 GB, free: 207.9 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.097e-06/8.111, allocations: 5.469 kB / 3.34 GB, free: 207.9 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001512/8.111, allocations: 39.33 kB / 3.34 GB, free: 207.9 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.543e-06/8.111, allocations: 2.312 kB / 3.34 GB, free: 207.9 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.712e-05/8.111, allocations: 3.562 kB / 3.34 GB, free: 207.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.619e-06/8.111, allocations: 2.844 kB / 3.34 GB, free: 207.9 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.118e-06/8.111, allocations: 1.594 kB / 3.34 GB, free: 207.9 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000353/8.111, allocations: 395.7 kB / 3.34 GB, free: 207.5 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001114/8.111, allocations: 114.2 kB / 3.34 GB, free: 207.4 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.052e-05/8.111, allocations: 14.78 kB / 3.34 GB, free: 207.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001875/8.112, allocations: 20.05 kB / 3.34 GB, free: 207.4 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.777e-05/8.112, allocations: 18.56 kB / 3.34 GB, free: 207.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.344e-05/8.112, allocations: 5.344 kB / 3.34 GB, free: 207.4 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.000227/8.112, allocations: 221.6 kB / 3.341 GB, free: 207.3 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.3e-07/8.112, allocations: 0 / 3.341 GB, free: 207.3 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.000945/8.113, allocations: 181.6 kB / 3.341 GB, free: 207.2 MB / 0.948 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 () * 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.002897/8.116, allocations: 2.493 MB / 3.343 GB, free: 205.4 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0003144/8.116, allocations: 125.1 kB / 3.343 GB, free: 205.4 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.125e-06/8.116, allocations: 0 / 3.343 GB, free: 205.4 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001576/8.116, allocations: 70.48 kB / 3.343 GB, free: 205.3 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008566/8.117, allocations: 138.3 kB / 3.344 GB, free: 205.3 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001213/8.118, allocations: 461.5 kB / 3.344 GB, free: 205 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004708/8.119, allocations: 0.7924 MB / 3.345 GB, free: 204.3 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0002374/8.119, allocations: 53.14 kB / 3.345 GB, free: 204.3 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001431/8.119, allocations: 90.22 kB / 3.345 GB, free: 204.2 MB / 0.948 GB Notification: Performance of SimCode: time 2.51e-07/8.119, allocations: 0 / 3.345 GB, free: 204.2 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0608/8.18, allocations: 29.57 MB / 3.374 GB, free: 199 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002179/8.18, allocations: 194.3 kB / 3.374 GB, free: 198.8 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.064/11.24, allocations: 0 / 3.374 GB, free: 198.8 MB / 0.948 GB (rm -f Buildings_8_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; mkfifo Buildings_8_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe >> ../files/Buildings_8_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Sensors_Examples_EnthalpyFlowRate_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Sensors_Examples_EnthalpyFlowRate.fmu > Buildings_8_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe 2>&1)