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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) 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) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001773/0.001773, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002071/0.002071, allocations: 194.1 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.545/1.545, allocations: 205.1 MB / 222.4 MB, free: 4.586 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.727/1.727, allocations: 292.3 MB / 0.5489 GB, free: 12.84 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001477/0.001477, allocations: 68.09 kB / 0.6716 GB, free: 26.24 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2138/0.2152, allocations: 114.6 MB / 0.7835 GB, free: 13.41 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EntropyFlowRate): time 0.6349/0.8502, allocations: 169.4 MB / 0.9489 GB, free: 1.613 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.009679/0.8599, allocations: 7.124 MB / 0.9559 GB, free: 1.059 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006534/0.8606, allocations: 12.66 kB / 0.9559 GB, free: 1.055 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0006298/0.8613, allocations: 176.5 kB / 0.9561 GB, free: 0.9727 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.004116/0.8654, allocations: 1.264 MB / 0.9573 GB, free: 0.6875 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.002085/0.8675, allocations: 0.62 MB / 0.9579 GB, free: 0.6211 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.001132/0.8687, allocations: 0.7598 MB / 0.9587 GB, free: 0.5078 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000545/0.8692, allocations: 294.1 kB / 0.9589 GB, free: 484 kB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001448/0.8707, allocations: 0.5647 MB / 0.9595 GB, free: 400 kB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001121/0.8718, allocations: 425.7 kB / 0.9599 GB, free: 364 kB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 7.438e-05/0.8719, allocations: 26.66 kB / 0.9599 GB, free: 364 kB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003172/0.8751, allocations: 1.241 MB / 0.9611 GB, free: 252 kB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001887/0.8753, allocations: 114.4 kB / 0.9612 GB, free: 252 kB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0002989/0.8756, allocations: 177.6 kB / 0.9614 GB, free: 252 kB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.002354/0.878, allocations: 0.9084 MB / 0.9623 GB, free: 184 kB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.592e-06/0.878, allocations: 0 / 0.9623 GB, free: 184 kB / 0.7169 GB Notification: Performance of FrontEnd: time 2.124e-06/0.878, allocations: 1.125 kB / 0.9623 GB, free: 184 kB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.602e-05/0.878, allocations: 0 / 0.9623 GB, free: 184 kB / 0.7169 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.00128/0.8793, allocations: 0.6869 MB / 0.963 GB, free: 15.68 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.406e-05/0.8794, allocations: 9.594 kB / 0.963 GB, free: 15.68 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.593e-05/0.8795, allocations: 67.61 kB / 0.963 GB, free: 15.64 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001429/0.8809, allocations: 128.2 kB / 0.9632 GB, free: 15.62 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000567/0.8815, allocations: 336.9 kB / 0.9635 GB, free: 15.38 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001137/0.8816, allocations: 46.39 kB / 0.9635 GB, free: 15.35 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.981e-05/0.8817, allocations: 27.5 kB / 0.9636 GB, free: 15.35 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00102/0.8828, allocations: 367 kB / 0.9639 GB, free: 15.27 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.702e-05/0.8828, allocations: 4 kB / 0.9639 GB, free: 15.26 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.188e-05/0.8829, allocations: 12.75 kB / 0.9639 GB, free: 15.26 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.774e-05/0.8829, allocations: 6.281 kB / 0.9639 GB, free: 15.26 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008114/0.8837, allocations: 274.1 kB / 0.9642 GB, free: 15.25 MB / 0.7325 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.002672/0.8864, allocations: 1.51 MB / 0.9657 GB, free: 14.24 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005845/0.887, allocations: 194.5 kB / 0.9659 GB, free: 14.21 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003194/0.8873, allocations: 118.2 kB / 0.966 GB, free: 14.2 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00153/0.8889, allocations: 0.5057 MB / 0.9665 GB, free: 13.73 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.959e-05/0.8889, allocations: 31.69 kB / 0.9665 GB, free: 13.69 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=15): time 4.619e-06/0.8889, allocations: 0 / 0.9665 GB, free: 13.69 MB / 0.7325 GB Notification: Performance of matching and sorting (n=15): time 0.001375/0.8903, allocations: 364.8 kB / 0.9668 GB, free: 13.63 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.962e-05/0.8904, allocations: 53.22 kB / 0.9669 GB, free: 13.57 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005205/0.8909, allocations: 320.3 kB / 0.9672 GB, free: 13.45 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 4.305e-05/0.891, allocations: 26.92 kB / 0.9672 GB, free: 13.42 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001951/0.8912, allocations: 187.9 kB / 0.9674 GB, free: 13.31 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 7.444e-05/0.8913, allocations: 51.97 kB / 0.9674 GB, free: 13.28 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001202/0.8914, allocations: 39.5 kB / 0.9675 GB, free: 13.27 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001651/0.8916, allocations: 347.5 kB / 0.9678 GB, free: 12.95 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002664/0.8919, allocations: 84.64 kB / 0.9679 GB, free: 12.95 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003399/0.8922, allocations: 149.9 kB / 0.968 GB, free: 12.89 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005748/0.8928, allocations: 239.2 kB / 0.9683 GB, free: 12.82 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.278e-06/0.8928, allocations: 1.188 kB / 0.9683 GB, free: 12.82 MB / 0.7325 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0008393/0.8937, allocations: 288.9 kB / 0.9685 GB, free: 12.76 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.259e-05/0.8937, allocations: 5.656 kB / 0.9686 GB, free: 12.76 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.317e-06/0.8937, allocations: 6.312 kB / 0.9686 GB, free: 12.76 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.035e-05/0.8938, allocations: 2.25 kB / 0.9686 GB, free: 12.76 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003078/0.8941, allocations: 38.25 kB / 0.9686 GB, free: 12.76 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.403e-05/0.8941, allocations: 6.125 kB / 0.9686 GB, free: 12.75 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003197/0.8944, allocations: 38.22 kB / 0.9686 GB, free: 12.73 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.858e-05/0.8945, allocations: 12.75 kB / 0.9686 GB, free: 12.73 MB / 0.7325 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002075/0.8947, allocations: 149.7 kB / 0.9688 GB, free: 12.62 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001633/0.8949, allocations: 29.03 kB / 0.9688 GB, free: 12.61 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009015/0.8958, allocations: 319.5 kB / 0.9691 GB, free: 12.55 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.053e-06/0.8958, allocations: 4.094 kB / 0.9691 GB, free: 12.55 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.543e-06/0.8958, allocations: 0 / 0.9691 GB, free: 12.55 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/0.8958, allocations: 0 / 0.9691 GB, free: 12.55 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001488/0.8973, allocations: 0.808 MB / 0.9699 GB, free: 12.17 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.819e-06/0.8973, allocations: 1.281 kB / 0.9699 GB, free: 12.17 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001915/0.8975, allocations: 33.36 kB / 0.97 GB, free: 12.17 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.035e-06/0.8976, allocations: 3.281 kB / 0.97 GB, free: 12.17 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.533e-05/0.8976, allocations: 13.44 kB / 0.97 GB, free: 12.16 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.354e-06/0.8976, allocations: 7.156 kB / 0.97 GB, free: 12.16 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.5e-06/0.8976, allocations: 6.375 kB / 0.97 GB, free: 12.16 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006393/0.8983, allocations: 404.1 kB / 0.9704 GB, free: 11.94 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001531/0.8984, allocations: 133.1 kB / 0.9705 GB, free: 11.83 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.033e-05/0.8985, allocations: 7.594 kB / 0.9705 GB, free: 11.83 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00024/0.8987, allocations: 18.28 kB / 0.9705 GB, free: 11.83 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.65e-05/0.8988, allocations: 15.55 kB / 0.9705 GB, free: 11.83 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.067e-05/0.8988, allocations: 11.67 kB / 0.9705 GB, free: 11.83 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0002426/0.8991, allocations: 230.6 kB / 0.9708 GB, free: 11.74 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8991, allocations: 0 / 0.9708 GB, free: 11.74 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0006139/0.8997, allocations: 121.3 kB / 0.9709 GB, free: 11.72 MB / 0.7325 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001335/0.9011, allocations: 1.059 MB / 0.9719 GB, free: 10.96 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0004916/0.9016, allocations: 227.9 kB / 0.9721 GB, free: 10.94 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.9016, allocations: 1.312 kB / 0.9721 GB, free: 10.94 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0002161/0.9018, allocations: 119.1 kB / 0.9722 GB, free: 10.93 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008523/0.9027, allocations: 157.3 kB / 0.9724 GB, free: 10.91 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004111/0.9068, allocations: 3.062 MB / 0.9754 GB, free: 9.262 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003868/0.9072, allocations: 0.7846 MB / 0.9762 GB, free: 8.559 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0003408/0.9075, allocations: 90.19 kB / 0.9762 GB, free: 8.535 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001493/0.9077, allocations: 99.08 kB / 0.9763 GB, free: 8.527 MB / 0.7325 GB Notification: Performance of SimCode: time 8.31e-07/0.9077, allocations: 2.844 kB / 0.9763 GB, free: 8.527 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02937/0.9371, allocations: 10.41 MB / 0.9865 GB, free: 3.688 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.752/8.689, allocations: 11.12 kB / 0.9865 GB, free: 3.68 MB / 0.7325 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 & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Fluid.Sensors.Examples.EntropyFlowRate_res.csv --start-time 0 --stop-time 60 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_Fluid_Sensors_Examples_EntropyFlowRate.fmu > Buildings_8_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe 2>&1)