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.671/1.671, allocations: 289.9 MB / 297.4 MB, free: 6.312 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.001079/0.001079, allocations: 164.9 kB / 366.7 MB, free: 1.648 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.674/1.674, allocations: 205.3 MB / 0.626 GB, free: 7.145 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.0008995/0.0008995, allocations: 94.22 kB / 0.74 GB, free: 39.55 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.499e-05/2.503e-05, allocations: 8 kB / 0.8598 GB, free: 12.95 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7094/0.7095, allocations: 116.3 MB / 0.9733 GB, free: 76 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.292/6.002, allocations: 2.064 GB / 3.037 GB, free: 65.61 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003617/6.002, allocations: 84.47 kB / 3.037 GB, free: 65.53 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 1.231/7.233, allocations: 300 MB / 3.33 GB, free: 147.4 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.493e-06/7.233, allocations: 0 / 3.33 GB, free: 147.4 MB / 0.948 GB Notification: Performance of Transformations before backend: time 3.107e-05/7.233, allocations: 4 kB / 3.33 GB, free: 147.4 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.001321/7.234, allocations: 0.7129 MB / 3.331 GB, free: 146.6 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.319e-05/7.234, allocations: 8.031 kB / 3.331 GB, free: 146.6 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001047/7.235, allocations: 123.5 kB / 3.331 GB, free: 146.5 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004538/7.236, allocations: 342.5 kB / 3.332 GB, free: 146.1 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.298e-05/7.236, allocations: 50.16 kB / 3.332 GB, free: 146 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.883e-05/7.236, allocations: 16 kB / 3.332 GB, free: 146 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003273/7.236, allocations: 205.1 kB / 3.332 GB, free: 145.8 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003977/7.237, allocations: 293.1 kB / 3.332 GB, free: 145.5 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.186e-05/7.237, allocations: 3.938 kB / 3.332 GB, free: 145.5 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.97e-05/7.237, allocations: 0 / 3.332 GB, free: 145.5 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.905e-06/7.237, allocations: 12 kB / 3.332 GB, free: 145.5 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.001286/7.238, allocations: 1.383 MB / 3.333 GB, free: 144 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002274/7.238, allocations: 166.5 kB / 3.334 GB, free: 143.8 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001029/7.238, allocations: 92.8 kB / 3.334 GB, free: 143.7 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007235/7.239, allocations: 0.4936 MB / 3.334 GB, free: 143.1 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.215e-05/7.239, allocations: 38.55 kB / 3.334 GB, free: 143.1 MB / 0.948 GB Notification: Performance of pre-optimization done (n=15): time 1.292e-06/7.239, allocations: 4 kB / 3.334 GB, free: 143.1 MB / 0.948 GB Notification: Performance of matching and sorting (n=15): time 0.0008351/7.24, allocations: 261.5 kB / 3.334 GB, free: 142.8 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.104e-05/7.24, allocations: 59.34 kB / 3.335 GB, free: 142.8 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001603/7.24, allocations: 190.1 kB / 3.335 GB, free: 142.6 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 2.377e-05/7.24, allocations: 25.7 kB / 3.335 GB, free: 142.5 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 7.934e-05/7.24, allocations: 196 kB / 3.335 GB, free: 142.3 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 3.305e-05/7.24, allocations: 51.2 kB / 3.335 GB, free: 142.3 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.161e-05/7.24, allocations: 4 kB / 3.335 GB, free: 142.3 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 6.891e-05/7.24, allocations: 338.8 kB / 3.335 GB, free: 142 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.619e-05/7.241, allocations: 63.97 kB / 3.335 GB, free: 141.9 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001134/7.241, allocations: 131.6 kB / 3.335 GB, free: 141.7 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003831/7.241, allocations: 125.9 kB / 3.336 GB, free: 141.6 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/7.241, allocations: 4 kB / 3.336 GB, free: 141.6 MB / 0.948 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005929/7.242, allocations: 269.1 kB / 3.336 GB, free: 141.3 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.881e-05/7.242, allocations: 9.094 kB / 3.336 GB, free: 141.3 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.793e-06/7.242, allocations: 4.188 kB / 3.336 GB, free: 141.3 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.815e-05/7.242, allocations: 4.062 kB / 3.336 GB, free: 141.3 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002217/7.242, allocations: 51.91 kB / 3.336 GB, free: 141.3 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.484e-06/7.242, allocations: 11.89 kB / 3.336 GB, free: 141.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002129/7.242, allocations: 23.89 kB / 3.336 GB, free: 141.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.103e-05/7.242, allocations: 19.97 kB / 3.336 GB, free: 141.2 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 7.814e-05/7.242, allocations: 112.9 kB / 3.336 GB, free: 141.1 MB / 0.948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0005586/7.243, allocations: 237.3 kB / 3.336 GB, free: 140.9 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.856e-05/7.243, allocations: 19.81 kB / 3.336 GB, free: 140.8 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005704/7.244, allocations: 284.8 kB / 3.337 GB, free: 140.6 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.21e-06/7.244, allocations: 7.953 kB / 3.337 GB, free: 140.5 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/7.244, allocations: 0 / 3.337 GB, free: 140.5 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/7.244, allocations: 3.984 kB / 3.337 GB, free: 140.5 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001628/7.245, allocations: 1.219 MB / 3.338 GB, free: 139.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/7.245, allocations: 0 / 3.338 GB, free: 139.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000175/7.245, allocations: 39.97 kB / 3.338 GB, free: 139.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.441e-06/7.245, allocations: 4.344 kB / 3.338 GB, free: 139.1 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.709e-05/7.245, allocations: 8 kB / 3.338 GB, free: 139.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.47e-06/7.245, allocations: 11.92 kB / 3.338 GB, free: 139.1 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.399e-06/7.245, allocations: 4 kB / 3.338 GB, free: 139.1 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005114/7.246, allocations: 0.5237 MB / 3.338 GB, free: 138.5 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 9.6e-05/7.246, allocations: 128.8 kB / 3.339 GB, free: 138.3 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.524e-05/7.246, allocations: 4 kB / 3.339 GB, free: 138.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002551/7.246, allocations: 28.03 kB / 3.339 GB, free: 138.3 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.968e-05/7.246, allocations: 23.88 kB / 3.339 GB, free: 138.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.529e-05/7.247, allocations: 23.98 kB / 3.339 GB, free: 138.2 MB / 0.948 GB Notification: Performance of sorting global known variables: time 9.191e-05/7.247, allocations: 150 kB / 3.339 GB, free: 138.1 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.51e-07/7.247, allocations: 0 / 3.339 GB, free: 138.1 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0007477/7.247, allocations: 203.6 kB / 3.339 GB, free: 137.9 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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.002663/7.25, allocations: 3.098 MB / 3.342 GB, free: 134.7 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0003041/7.25, allocations: 167.8 kB / 3.342 GB, free: 134.5 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 6.082e-06/7.25, allocations: 4 kB / 3.342 GB, free: 134.5 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001202/7.251, allocations: 99.77 kB / 3.342 GB, free: 134.4 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005886/7.251, allocations: 109.6 kB / 3.342 GB, free: 134.3 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009415/7.252, allocations: 0.4994 MB / 3.343 GB, free: 133.7 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002504/7.252, allocations: 0.7951 MB / 3.344 GB, free: 132.9 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0002392/7.253, allocations: 70.11 kB / 3.344 GB, free: 132.9 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001325/7.253, allocations: 95.39 kB / 3.344 GB, free: 132.8 MB / 0.948 GB Notification: Performance of SimCode: time 2.6e-07/7.253, allocations: 0 / 3.344 GB, free: 132.8 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03665/7.289, allocations: 16.58 MB / 3.36 GB, free: 116.3 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001624/7.29, allocations: 174 kB / 3.36 GB, free: 116.1 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.546/9.835, allocations: 0 / 3.36 GB, free: 116.1 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)