Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.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.EntropyFlowRate,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Sensors_Examples_EntropyFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.EntropyFlowRate,fileNamePrefix="Buildings_8_0_0_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.0.0/package.mo): time 2.617/2.617, allocations: 287.3 MB / 302.3 MB, free: 8.348 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.001512/0.001511, allocations: 178.6 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.163/2.163, allocations: 205.4 MB / 0.6295 GB, free: 10.6 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.001074/0.001074, allocations: 90.78 kB / 0.7428 GB, free: 6.629 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004865/0.0004864, allocations: 16.86 kB / 0.8657 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.224/0.2246, allocations: 115.3 MB / 0.9783 GB, free: 28.32 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.685/6.909, allocations: 2.064 GB / 3.042 GB, free: 196.3 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003095/6.91, allocations: 88.58 kB / 3.042 GB, free: 196.2 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 1.697/8.607, allocations: 304 MB / 3.339 GB, free: 266.6 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.184e-06/8.607, allocations: 0 / 3.339 GB, free: 266.6 MB / 0.948 GB Notification: Performance of Transformations before backend: time 3.689e-05/8.607, allocations: 11.66 kB / 3.339 GB, free: 266.6 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.001924/8.609, allocations: 0.7563 MB / 3.34 GB, free: 266 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.855e-05/8.609, allocations: 11.75 kB / 3.34 GB, free: 266 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.722e-05/8.609, allocations: 61.66 kB / 3.34 GB, free: 265.9 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001581/8.611, allocations: 129.7 kB / 3.34 GB, free: 265.9 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007997/8.612, allocations: 346.7 kB / 3.34 GB, free: 265.5 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001024/8.612, allocations: 49.36 kB / 3.34 GB, free: 265.5 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.736e-05/8.612, allocations: 27.53 kB / 3.34 GB, free: 265.5 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009244/8.613, allocations: 360 kB / 3.341 GB, free: 265.3 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.209e-05/8.613, allocations: 3.953 kB / 3.341 GB, free: 265.3 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.798e-05/8.613, allocations: 14.88 kB / 3.341 GB, free: 265.2 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.124e-05/8.613, allocations: 7.906 kB / 3.341 GB, free: 265.2 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000811/8.614, allocations: 265.4 kB / 3.341 GB, free: 265.1 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.00277/8.617, allocations: 1.468 MB / 3.342 GB, free: 263.8 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00064/8.617, allocations: 192.1 kB / 3.342 GB, free: 263.7 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001294/8.619, allocations: 0.4954 MB / 3.343 GB, free: 263.2 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.763e-05/8.619, allocations: 45.55 kB / 3.343 GB, free: 263.1 MB / 0.948 GB Notification: Performance of pre-optimization done (n=15): time 4.037e-06/8.619, allocations: 0 / 3.343 GB, free: 263.1 MB / 0.948 GB Notification: Performance of matching and sorting (n=15): time 0.001621/8.62, allocations: 350.8 kB / 3.343 GB, free: 262.9 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.372e-05/8.62, allocations: 54.62 kB / 3.343 GB, free: 262.9 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004588/8.621, allocations: 276.7 kB / 3.344 GB, free: 262.7 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 7.343e-05/8.621, allocations: 33.64 kB / 3.344 GB, free: 262.7 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001407/8.621, allocations: 182.8 kB / 3.344 GB, free: 262.5 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 6.485e-05/8.621, allocations: 53.08 kB / 3.344 GB, free: 262.5 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.433e-05/8.621, allocations: 4 kB / 3.344 GB, free: 262.4 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 9.855e-05/8.621, allocations: 343.9 kB / 3.344 GB, free: 262.1 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003475/8.622, allocations: 92.98 kB / 3.344 GB, free: 262.1 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003991/8.622, allocations: 151.8 kB / 3.344 GB, free: 261.9 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003546/8.622, allocations: 103.5 kB / 3.345 GB, free: 261.9 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.42e-06/8.623, allocations: 0 / 3.345 GB, free: 261.9 MB / 0.948 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.001017/8.624, allocations: 277.3 kB / 3.345 GB, free: 261.8 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.588e-05/8.624, allocations: 7.75 kB / 3.345 GB, free: 261.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.06e-05/8.624, allocations: 0 / 3.345 GB, free: 261.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.54e-05/8.624, allocations: 15.61 kB / 3.345 GB, free: 261.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004064/8.624, allocations: 44.42 kB / 3.345 GB, free: 261.7 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.091e-05/8.624, allocations: 3.875 kB / 3.345 GB, free: 261.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004923/8.625, allocations: 46.12 kB / 3.345 GB, free: 261.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.232e-05/8.625, allocations: 10.69 kB / 3.345 GB, free: 261.7 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 () * Number of clocked 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 0.0002795/8.625, allocations: 165.1 kB / 3.345 GB, free: 261.6 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000181/8.625, allocations: 33.8 kB / 3.345 GB, free: 261.5 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00123/8.626, allocations: 308.9 kB / 3.345 GB, free: 261.4 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.444e-06/8.626, allocations: 0 / 3.345 GB, free: 261.4 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.036e-06/8.626, allocations: 3.984 kB / 3.345 GB, free: 261.4 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.821e-06/8.626, allocations: 64 / 3.345 GB, free: 261.4 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002115/8.629, allocations: 0.8112 MB / 3.346 GB, free: 260.7 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.606e-06/8.629, allocations: 3.938 kB / 3.346 GB, free: 260.7 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003466/8.629, allocations: 29.7 kB / 3.346 GB, free: 260.7 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.478e-06/8.629, allocations: 7.188 kB / 3.346 GB, free: 260.7 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.815e-05/8.629, allocations: 13.84 kB / 3.346 GB, free: 260.7 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.064e-06/8.629, allocations: 3.719 kB / 3.346 GB, free: 260.7 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-06/8.629, allocations: 0 / 3.346 GB, free: 260.7 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001009/8.63, allocations: 487.4 kB / 3.347 GB, free: 260.3 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002507/8.63, allocations: 136.2 kB / 3.347 GB, free: 260.1 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.24e-05/8.631, allocations: 11.86 kB / 3.347 GB, free: 260.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004798/8.631, allocations: 23.55 kB / 3.347 GB, free: 260.1 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.402e-05/8.631, allocations: 23.66 kB / 3.347 GB, free: 260.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.343e-05/8.631, allocations: 11.62 kB / 3.347 GB, free: 260.1 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.000335/8.632, allocations: 221.8 kB / 3.347 GB, free: 260 MB / 0.948 GB Notification: Performance of sort global known variables: time 3.81e-07/8.632, allocations: 0 / 3.347 GB, free: 260 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001241/8.633, allocations: 223.8 kB / 3.347 GB, free: 259.9 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 (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.003609/8.636, allocations: 2.639 MB / 3.35 GB, free: 257.9 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0008805/8.637, allocations: 220.1 kB / 3.35 GB, free: 257.8 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 5.28e-06/8.637, allocations: 0 / 3.35 GB, free: 257.8 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0003668/8.638, allocations: 117.1 kB / 3.35 GB, free: 257.8 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001441/8.639, allocations: 158 kB / 3.35 GB, free: 257.7 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002331/8.642, allocations: 1.927 MB / 3.352 GB, free: 255.9 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003121/8.642, allocations: 0.7912 MB / 3.353 GB, free: 255.2 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0005612/8.643, allocations: 84.5 kB / 3.353 GB, free: 255.1 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002422/8.643, allocations: 93.56 kB / 3.353 GB, free: 255.1 MB / 0.948 GB Notification: Performance of SimCode: time 8.92e-07/8.643, allocations: 3.938 kB / 3.353 GB, free: 255.1 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09077/8.734, allocations: 28.05 MB / 3.381 GB, free: 233.7 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003576/8.734, allocations: 217.7 kB / 3.381 GB, free: 233.5 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.857/12.59, allocations: 0 / 3.381 GB, free: 233.5 MB / 0.948 GB (rm -f Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_Sensors_Examples_EntropyFlowRate_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_Sensors_Examples_EntropyFlowRate.fmu > Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe 2>&1)