Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.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.EntropyFlowRate,fileNamePrefix="Buildings_8_Buildings_Fluid_Sensors_Examples_EntropyFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.EntropyFlowRate,fileNamePrefix="Buildings_8_Buildings_Fluid_Sensors_Examples_EntropyFlowRate",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.789/1.789, allocations: 289.7 MB / 302.2 MB, free: 2.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.001101/0.001101, allocations: 183 kB / 371.6 MB, free: 3.398 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.644/1.644, allocations: 205.1 MB / 0.6309 GB, free: 11.75 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.001028/0.001028, allocations: 90.41 kB / 0.745 GB, free: 54.68 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 3.92e-05/3.959e-05, allocations: 4 kB / 0.8663 GB, free: 14.97 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2751/0.2752, allocations: 116.3 MB / 0.9799 GB, free: 10.51 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.835/6.11, allocations: 2.065 GB / 3.045 GB, free: 132.1 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004192/6.11, allocations: 88.69 kB / 3.045 GB, free: 132 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 1.44/7.55, allocations: 303.7 MB / 3.341 GB, free: 201.8 MB / 0.948 GB Notification: Performance of FrontEnd: time 3.697e-06/7.55, allocations: 0 / 3.341 GB, free: 201.8 MB / 0.948 GB Notification: Performance of Transformations before backend: time 4.893e-05/7.55, allocations: 19.69 kB / 3.341 GB, free: 201.8 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: 65 * Number of variables: 65 Notification: Performance of Generate backend data structure: time 0.001979/7.552, allocations: 0.7076 MB / 3.342 GB, free: 201.1 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.128e-05/7.552, allocations: 11.81 kB / 3.342 GB, free: 201.1 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001332/7.553, allocations: 65.78 kB / 3.342 GB, free: 201.1 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001199/7.554, allocations: 129.5 kB / 3.342 GB, free: 201 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007059/7.554, allocations: 336.9 kB / 3.342 GB, free: 200.7 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.297e-05/7.555, allocations: 49.5 kB / 3.342 GB, free: 200.7 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.681e-05/7.555, allocations: 26.5 kB / 3.343 GB, free: 200.7 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006072/7.555, allocations: 340.4 kB / 3.343 GB, free: 200.4 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.412e-05/7.555, allocations: 3.938 kB / 3.343 GB, free: 200.4 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.467e-05/7.555, allocations: 11.81 kB / 3.343 GB, free: 200.4 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.105e-05/7.555, allocations: 7.312 kB / 3.343 GB, free: 200.4 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003882/7.556, allocations: 224.5 kB / 3.343 GB, free: 200.3 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.00179/7.558, allocations: 1.473 MB / 3.345 GB, free: 199 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000305/7.558, allocations: 169.3 kB / 3.345 GB, free: 198.9 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001383/7.558, allocations: 96.31 kB / 3.345 GB, free: 198.8 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008211/7.559, allocations: 0.4982 MB / 3.345 GB, free: 198.3 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.766e-05/7.559, allocations: 42.06 kB / 3.345 GB, free: 198.3 MB / 0.948 GB Notification: Performance of pre-optimization done (n=15): time 1.774e-06/7.559, allocations: 3.938 kB / 3.345 GB, free: 198.3 MB / 0.948 GB Notification: Performance of matching and sorting (n=15): time 0.0006612/7.56, allocations: 235.2 kB / 3.346 GB, free: 198.2 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.827e-05/7.56, allocations: 55.41 kB / 3.346 GB, free: 198.1 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002904/7.56, allocations: 275.2 kB / 3.346 GB, free: 197.9 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 3.177e-05/7.56, allocations: 27.17 kB / 3.346 GB, free: 197.9 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.000115/7.56, allocations: 191.2 kB / 3.346 GB, free: 197.7 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 4.507e-05/7.56, allocations: 49 kB / 3.346 GB, free: 197.7 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.085e-05/7.56, allocations: 0 / 3.346 GB, free: 197.7 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 9.121e-05/7.56, allocations: 343.5 kB / 3.346 GB, free: 197.3 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001068/7.56, allocations: 68.28 kB / 3.346 GB, free: 197.3 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001536/7.561, allocations: 146.3 kB / 3.347 GB, free: 197.2 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001308/7.561, allocations: 79.17 kB / 3.347 GB, free: 197.1 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/7.561, allocations: 0 / 3.347 GB, free: 197.1 MB / 0.948 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004288/7.561, allocations: 250.4 kB / 3.347 GB, free: 197 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.921e-05/7.561, allocations: 6.156 kB / 3.347 GB, free: 197 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.805e-06/7.561, allocations: 0 / 3.347 GB, free: 197 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.884e-05/7.561, allocations: 3.719 kB / 3.347 GB, free: 197 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002228/7.561, allocations: 46.62 kB / 3.347 GB, free: 197 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.239e-05/7.561, allocations: 11.86 kB / 3.347 GB, free: 197 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000262/7.562, allocations: 38.89 kB / 3.347 GB, free: 197 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.214e-05/7.562, allocations: 19.67 kB / 3.347 GB, free: 197 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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 8.484e-05/7.562, allocations: 107.5 kB / 3.347 GB, free: 196.9 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000104/7.562, allocations: 30.09 kB / 3.347 GB, free: 196.8 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005452/7.562, allocations: 279.6 kB / 3.347 GB, free: 196.7 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.549e-06/7.563, allocations: 3.984 kB / 3.347 GB, free: 196.7 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.451e-06/7.563, allocations: 2.812 kB / 3.347 GB, free: 196.7 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.95e-06/7.563, allocations: 7.953 kB / 3.347 GB, free: 196.7 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001123/7.564, allocations: 0.7612 MB / 3.348 GB, free: 196 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.807e-06/7.564, allocations: 8.016 kB / 3.348 GB, free: 196 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001803/7.564, allocations: 41.52 kB / 3.348 GB, free: 196 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.462e-06/7.564, allocations: 3.719 kB / 3.348 GB, free: 196 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.146e-05/7.564, allocations: 7.25 kB / 3.348 GB, free: 196 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.14e-06/7.564, allocations: 3.688 kB / 3.348 GB, free: 196 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.628e-06/7.564, allocations: 7.922 kB / 3.348 GB, free: 196 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004614/7.564, allocations: 456.9 kB / 3.349 GB, free: 195.6 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000148/7.565, allocations: 131.2 kB / 3.349 GB, free: 195.5 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.368e-05/7.565, allocations: 7.844 kB / 3.349 GB, free: 195.5 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002741/7.565, allocations: 34.69 kB / 3.349 GB, free: 195.4 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.305e-05/7.565, allocations: 10.64 kB / 3.349 GB, free: 195.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.545e-05/7.565, allocations: 15.45 kB / 3.349 GB, free: 195.4 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0002004/7.565, allocations: 217.4 kB / 3.349 GB, free: 195.3 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.51e-07/7.565, allocations: 3.594 kB / 3.349 GB, free: 195.3 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.000991/7.566, allocations: 228.5 kB / 3.349 GB, free: 195.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 (16): * Single equations (assignments): 16 * 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.003081/7.569, allocations: 2.618 MB / 3.352 GB, free: 193.1 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0003607/7.57, allocations: 176 kB / 3.352 GB, free: 193 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/7.57, allocations: 0 / 3.352 GB, free: 193 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001442/7.57, allocations: 100.5 kB / 3.352 GB, free: 192.9 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008133/7.571, allocations: 160.1 kB / 3.352 GB, free: 192.9 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001246/7.572, allocations: 0.5187 MB / 3.353 GB, free: 192.5 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002784/7.572, allocations: 0.7843 MB / 3.354 GB, free: 191.8 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0003222/7.573, allocations: 86.02 kB / 3.354 GB, free: 191.7 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001505/7.573, allocations: 101.5 kB / 3.354 GB, free: 191.6 MB / 0.948 GB Notification: Performance of SimCode: time 4.11e-07/7.573, allocations: 0 / 3.354 GB, free: 191.6 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0625/7.635, allocations: 31.48 MB / 3.384 GB, free: 166.5 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001891/7.635, allocations: 190.9 kB / 3.385 GB, free: 166.3 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.269/10.9, allocations: 0 / 3.385 GB, free: 166.3 MB / 0.948 GB (rm -f Buildings_8_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; mkfifo Buildings_8_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe >> ../files/Buildings_8_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Sensors_Examples_EntropyFlowRate_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Sensors_Examples_EntropyFlowRate.fmu > Buildings_8_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe 2>&1)