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 2.568/2.568, allocations: 287.3 MB / 302.3 MB, free: 8.203 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.002167/0.002167, allocations: 174.8 kB / 370.8 MB, free: 10.86 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.211/2.211, allocations: 205.4 MB / 0.6295 GB, free: 10.62 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.001183/0.001183, allocations: 94.09 kB / 0.7428 GB, free: 6.629 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006602/0.0006602, allocations: 12.12 kB / 0.8657 GB, free: 140 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2144/0.2151, allocations: 115.3 MB / 0.9783 GB, free: 28.31 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.768/6.983, allocations: 2.062 GB / 3.04 GB, free: 197.4 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003385/6.983, allocations: 97.42 kB / 3.04 GB, free: 197.3 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 1.634/8.617, allocations: 298 MB / 3.331 GB, free: 270.3 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.923e-06/8.617, allocations: 0 / 3.331 GB, free: 270.3 MB / 0.948 GB Notification: Performance of Transformations before backend: time 3.742e-05/8.617, allocations: 10.08 kB / 3.331 GB, free: 270.3 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.001543/8.619, allocations: 0.7 MB / 3.332 GB, free: 269.8 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.633e-05/8.619, allocations: 7.594 kB / 3.332 GB, free: 269.8 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.42e-05/8.619, allocations: 61.78 kB / 3.332 GB, free: 269.7 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003969/8.619, allocations: 64.88 kB / 3.332 GB, free: 269.7 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005898/8.62, allocations: 312.6 kB / 3.333 GB, free: 269.5 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.763e-05/8.62, allocations: 22.53 kB / 3.333 GB, free: 269.4 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.309e-05/8.62, allocations: 32.72 kB / 3.333 GB, free: 269.4 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007076/8.621, allocations: 318 kB / 3.333 GB, free: 269.3 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.732e-05/8.621, allocations: 0 / 3.333 GB, free: 269.3 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.524e-05/8.621, allocations: 18.95 kB / 3.333 GB, free: 269.2 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.004e-05/8.621, allocations: 6.219 kB / 3.333 GB, free: 269.2 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006333/8.621, allocations: 194.8 kB / 3.333 GB, free: 269.2 MB / 0.948 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.001786/8.623, allocations: 1.527 MB / 3.335 GB, free: 267.9 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003458/8.623, allocations: 119 kB / 3.335 GB, free: 267.8 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006985/8.624, allocations: 305.2 kB / 3.335 GB, free: 267.5 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.36e-05/8.624, allocations: 34.41 kB / 3.335 GB, free: 267.5 MB / 0.948 GB Notification: Performance of pre-optimization done (n=13): time 2.635e-06/8.624, allocations: 0 / 3.335 GB, free: 267.5 MB / 0.948 GB Notification: Performance of matching and sorting (n=13): time 0.001107/8.625, allocations: 272 kB / 3.335 GB, free: 267.4 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.257e-05/8.625, allocations: 55.28 kB / 3.335 GB, free: 267.3 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003692/8.626, allocations: 275.2 kB / 3.336 GB, free: 267.2 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 2.735e-05/8.626, allocations: 29.61 kB / 3.336 GB, free: 267.2 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001402/8.626, allocations: 190.8 kB / 3.336 GB, free: 267 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 4.247e-05/8.626, allocations: 38.39 kB / 3.336 GB, free: 267 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.57e-05/8.626, allocations: 4 kB / 3.336 GB, free: 267 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.492e-05/8.626, allocations: 336.3 kB / 3.336 GB, free: 266.6 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002341/8.626, allocations: 63.3 kB / 3.336 GB, free: 266.6 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003009/8.627, allocations: 127.1 kB / 3.336 GB, free: 266.5 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002631/8.627, allocations: 75.55 kB / 3.336 GB, free: 266.5 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.406e-06/8.627, allocations: 0 / 3.336 GB, free: 266.5 MB / 0.948 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0006234/8.628, allocations: 216.8 kB / 3.337 GB, free: 266.4 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.045e-05/8.628, allocations: 13.14 kB / 3.337 GB, free: 266.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.633e-06/8.628, allocations: 0 / 3.337 GB, free: 266.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.775e-05/8.628, allocations: 3.75 kB / 3.337 GB, free: 266.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002918/8.628, allocations: 41.55 kB / 3.337 GB, free: 266.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.276e-06/8.628, allocations: 0 / 3.337 GB, free: 266.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003503/8.628, allocations: 44.47 kB / 3.337 GB, free: 266.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.023e-05/8.628, allocations: 14.03 kB / 3.337 GB, free: 266.3 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 () * 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.000184/8.629, allocations: 147.8 kB / 3.337 GB, free: 266.2 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.043e-05/8.629, allocations: 26.62 kB / 3.337 GB, free: 266.2 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006488/8.629, allocations: 214.2 kB / 3.337 GB, free: 266.1 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.208e-06/8.629, allocations: 0 / 3.337 GB, free: 266.1 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.671e-06/8.629, allocations: 3.969 kB / 3.337 GB, free: 266.1 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/8.629, allocations: 0 / 3.337 GB, free: 266.1 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001333/8.631, allocations: 0.6766 MB / 3.338 GB, free: 265.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.24e-06/8.631, allocations: 3.938 kB / 3.338 GB, free: 265.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002344/8.631, allocations: 30.48 kB / 3.338 GB, free: 265.5 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.533e-06/8.631, allocations: 3.969 kB / 3.338 GB, free: 265.5 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.768e-05/8.631, allocations: 3.375 kB / 3.338 GB, free: 265.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.348e-06/8.631, allocations: 3.656 kB / 3.338 GB, free: 265.5 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.278e-06/8.631, allocations: 3.938 kB / 3.338 GB, free: 265.5 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006264/8.632, allocations: 427.5 kB / 3.338 GB, free: 265.1 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001275/8.632, allocations: 111.7 kB / 3.338 GB, free: 265 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.73e-05/8.632, allocations: 7.875 kB / 3.338 GB, free: 265 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003042/8.632, allocations: 19.42 kB / 3.338 GB, free: 264.9 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.484e-05/8.632, allocations: 26.47 kB / 3.338 GB, free: 264.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.543e-05/8.632, allocations: 7.406 kB / 3.338 GB, free: 264.9 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0002642/8.633, allocations: 221.1 kB / 3.339 GB, free: 264.8 MB / 0.948 GB Notification: Performance of sort global known variables: time 3.8e-07/8.633, allocations: 0 / 3.339 GB, free: 264.8 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0009042/8.634, allocations: 189.1 kB / 3.339 GB, free: 264.7 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 () * 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.002847/8.636, allocations: 2.52 MB / 3.341 GB, free: 262.8 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0006395/8.637, allocations: 164.3 kB / 3.341 GB, free: 262.7 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 4.809e-06/8.637, allocations: 0 / 3.341 GB, free: 262.7 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.000279/8.637, allocations: 83.77 kB / 3.342 GB, free: 262.7 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001231/8.639, allocations: 143 kB / 3.342 GB, free: 262.6 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003252/8.642, allocations: 2.395 MB / 3.344 GB, free: 260.8 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003115/8.642, allocations: 0.7896 MB / 3.345 GB, free: 260 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.000346/8.643, allocations: 53.52 kB / 3.345 GB, free: 260 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000171/8.643, allocations: 87.34 kB / 3.345 GB, free: 259.9 MB / 0.948 GB Notification: Performance of SimCode: time 8.92e-07/8.643, allocations: 0 / 3.345 GB, free: 259.9 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06249/8.705, allocations: 26.27 MB / 3.371 GB, free: 243.4 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002636/8.706, allocations: 213.8 kB / 3.371 GB, free: 243.1 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.803/12.51, allocations: 0 / 3.371 GB, free: 243.1 MB / 0.948 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)