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.775/1.775, allocations: 292.6 MB / 307.5 MB, free: 5.184 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.00162/0.00162, allocations: 191.9 kB / 377.1 MB, free: 1.508 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.968/1.968, allocations: 205.4 MB / 0.6366 GB, free: 8.602 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.000956/0.0009558, allocations: 84.88 kB / 0.7509 GB, free: 63.06 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004173/0.0004171, allocations: 8 kB / 0.8748 GB, free: 11.11 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3083/0.3087, allocations: 116.3 MB / 0.9884 GB, free: 6.648 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.242/6.551, allocations: 2.065 GB / 3.053 GB, free: 156 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003457/6.552, allocations: 88.67 kB / 3.053 GB, free: 156 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 1.289/7.841, allocations: 304 MB / 3.35 GB, free: 207.4 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.545e-06/7.841, allocations: 4 kB / 3.35 GB, free: 207.4 MB / 0.948 GB Notification: Performance of Transformations before backend: time 3.82e-05/7.841, allocations: 6.375 kB / 3.35 GB, free: 207.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.00195/7.843, allocations: 0.7546 MB / 3.351 GB, free: 206.8 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 6.038e-05/7.843, allocations: 10.28 kB / 3.351 GB, free: 206.8 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.439e-05/7.843, allocations: 61.64 kB / 3.351 GB, free: 206.8 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001072/7.844, allocations: 129.3 kB / 3.351 GB, free: 206.8 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005608/7.845, allocations: 342.5 kB / 3.351 GB, free: 206.5 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.923e-05/7.845, allocations: 49.7 kB / 3.351 GB, free: 206.4 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.634e-05/7.845, allocations: 26.44 kB / 3.351 GB, free: 206.4 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007093/7.846, allocations: 366.3 kB / 3.352 GB, free: 206.3 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.721e-05/7.846, allocations: 0 / 3.352 GB, free: 206.3 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.972e-05/7.846, allocations: 11.41 kB / 3.352 GB, free: 206.3 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.835e-05/7.846, allocations: 7.531 kB / 3.352 GB, free: 206.3 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005194/7.846, allocations: 261.7 kB / 3.352 GB, free: 206.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.002068/7.848, allocations: 1.487 MB / 3.354 GB, free: 205 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004405/7.849, allocations: 182.7 kB / 3.354 GB, free: 204.9 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001002/7.85, allocations: 0.5019 MB / 3.354 GB, free: 204.4 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.932e-05/7.85, allocations: 34.5 kB / 3.354 GB, free: 204.4 MB / 0.948 GB Notification: Performance of pre-optimization done (n=15): time 1.743e-06/7.85, allocations: 3.344 kB / 3.354 GB, free: 204.4 MB / 0.948 GB Notification: Performance of matching and sorting (n=15): time 0.001034/7.851, allocations: 354.5 kB / 3.355 GB, free: 204.3 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.211e-05/7.851, allocations: 55 kB / 3.355 GB, free: 204.2 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003196/7.851, allocations: 277.2 kB / 3.355 GB, free: 204.1 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 3.549e-05/7.851, allocations: 29.7 kB / 3.355 GB, free: 204 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001521/7.851, allocations: 182.4 kB / 3.355 GB, free: 203.9 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 5.408e-05/7.851, allocations: 62.95 kB / 3.355 GB, free: 203.8 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.384e-05/7.852, allocations: 4 kB / 3.355 GB, free: 203.8 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001595/7.852, allocations: 345.7 kB / 3.355 GB, free: 203.5 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001864/7.852, allocations: 85.3 kB / 3.356 GB, free: 203.5 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002598/7.852, allocations: 158.9 kB / 3.356 GB, free: 203.4 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002226/7.852, allocations: 104.6 kB / 3.356 GB, free: 203.3 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/7.852, allocations: 0 / 3.356 GB, free: 203.3 MB / 0.948 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0006004/7.853, allocations: 280.8 kB / 3.356 GB, free: 203.2 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 3.091e-05/7.853, allocations: 7.281 kB / 3.356 GB, free: 203.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.015e-06/7.853, allocations: 0 / 3.356 GB, free: 203.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.537e-05/7.853, allocations: 3.938 kB / 3.356 GB, free: 203.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002916/7.853, allocations: 40.62 kB / 3.356 GB, free: 203.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.508e-05/7.853, allocations: 3.938 kB / 3.356 GB, free: 203.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002786/7.854, allocations: 54.2 kB / 3.356 GB, free: 203.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.343e-05/7.854, allocations: 7.062 kB / 3.356 GB, free: 203.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 () * 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.0001738/7.854, allocations: 152.5 kB / 3.356 GB, free: 203.1 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.983e-05/7.854, allocations: 31.06 kB / 3.356 GB, free: 203.1 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007344/7.855, allocations: 318.6 kB / 3.357 GB, free: 202.9 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.298e-06/7.855, allocations: 2.188 kB / 3.357 GB, free: 202.9 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.504e-06/7.855, allocations: 4 kB / 3.357 GB, free: 202.9 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.743e-06/7.855, allocations: 3.141 kB / 3.357 GB, free: 202.9 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001326/7.856, allocations: 0.7959 MB / 3.357 GB, free: 202.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/7.856, allocations: 0 / 3.357 GB, free: 202.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001859/7.856, allocations: 41.23 kB / 3.358 GB, free: 202.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.19e-06/7.856, allocations: 3.953 kB / 3.358 GB, free: 202.4 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.359e-05/7.856, allocations: 10.62 kB / 3.358 GB, free: 202.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.155e-06/7.856, allocations: 12 kB / 3.358 GB, free: 202.4 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.568e-06/7.856, allocations: 7.906 kB / 3.358 GB, free: 202.4 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006736/7.857, allocations: 482.5 kB / 3.358 GB, free: 202 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001845/7.857, allocations: 144.2 kB / 3.358 GB, free: 201.9 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.7e-05/7.857, allocations: 7.812 kB / 3.358 GB, free: 201.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000276/7.858, allocations: 27.25 kB / 3.358 GB, free: 201.9 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.236e-05/7.858, allocations: 17.53 kB / 3.358 GB, free: 201.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.286e-05/7.858, allocations: 7.812 kB / 3.358 GB, free: 201.9 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0002574/7.858, allocations: 229.6 kB / 3.358 GB, free: 201.7 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.61e-07/7.858, allocations: 0 / 3.358 GB, free: 201.7 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001373/7.859, allocations: 221.6 kB / 3.359 GB, free: 201.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 (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.003975/7.863, allocations: 2.631 MB / 3.361 GB, free: 199.7 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0006229/7.864, allocations: 217.4 kB / 3.361 GB, free: 199.6 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 5.21e-06/7.864, allocations: 0 / 3.361 GB, free: 199.6 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0002587/7.864, allocations: 123 kB / 3.362 GB, free: 199.6 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000931/7.865, allocations: 150.8 kB / 3.362 GB, free: 199.5 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002666/7.868, allocations: 1.939 MB / 3.364 GB, free: 197.8 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003985/7.868, allocations: 0.7903 MB / 3.364 GB, free: 197.1 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.00037/7.869, allocations: 84.16 kB / 3.364 GB, free: 197.1 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001764/7.869, allocations: 98.52 kB / 3.365 GB, free: 197 MB / 0.948 GB Notification: Performance of SimCode: time 9.52e-07/7.869, allocations: 0 / 3.365 GB, free: 197 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06123/7.93, allocations: 28.05 MB / 3.392 GB, free: 183.2 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003147/7.931, allocations: 209.1 kB / 3.392 GB, free: 183 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.209/11.14, allocations: 4 kB / 3.392 GB, free: 182.9 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)