Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(BuildingSystems.Fluid.Sensors.Examples.EntropyFlowRate,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_EntropyFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Sensors.Examples.EntropyFlowRate,fileNamePrefix="BuildingSystems_BuildingSystems_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.00126/0.00126, allocations: 112.5 kB / 15.73 MB, free: 76 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.00136/0.00136, allocations: 192.8 kB / 16.67 MB, free: 6.57 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.384/1.384, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002462/0.002462, allocations: 286.8 kB / 290.8 MB, free: 1.922 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.063/1.063, allocations: 178.6 MB / 0.5074 GB, free: 4.484 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002658/0.002658, allocations: 100.5 kB / 0.6943 GB, free: 3.605 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4547/0.4574, allocations: 89.12 MB / 0.7813 GB, free: 13.86 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.EntropyFlowRate): time 0.1923/0.6497, allocations: 169.5 MB / 0.9468 GB, free: 5.223 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.00872/0.6584, allocations: 7.133 MB / 0.9538 GB, free: 14.07 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006164/0.6591, allocations: 15.88 kB / 0.9538 GB, free: 14.06 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0006484/0.6598, allocations: 170.7 kB / 0.954 GB, free: 13.89 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.003591/0.6634, allocations: 1.264 MB / 0.9552 GB, free: 12.62 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001759/0.6652, allocations: 0.6228 MB / 0.9558 GB, free: 12 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.001058/0.6663, allocations: 0.7601 MB / 0.9565 GB, free: 11.24 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004966/0.6668, allocations: 302.7 kB / 0.9568 GB, free: 10.94 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001226/0.668, allocations: 0.5565 MB / 0.9574 GB, free: 10.38 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007801/0.6688, allocations: 426 kB / 0.9578 GB, free: 9.969 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 4.602e-05/0.6689, allocations: 24 kB / 0.9578 GB, free: 9.945 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002359/0.6712, allocations: 1.251 MB / 0.959 GB, free: 8.691 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001329/0.6714, allocations: 119.7 kB / 0.9591 GB, free: 8.574 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001962/0.6716, allocations: 175.2 kB / 0.9593 GB, free: 8.402 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001506/0.6731, allocations: 0.905 MB / 0.9602 GB, free: 7.496 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.432e-06/0.6731, allocations: 0 / 0.9602 GB, free: 7.496 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.754e-06/0.6731, allocations: 3.938 kB / 0.9602 GB, free: 7.492 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.554e-06/0.6731, allocations: 0 / 0.9602 GB, free: 7.492 MB / 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.001047/0.6742, allocations: 0.7043 MB / 0.9609 GB, free: 6.738 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.728e-05/0.6743, allocations: 12.03 kB / 0.9609 GB, free: 6.727 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.547e-05/0.6743, allocations: 66.53 kB / 0.961 GB, free: 6.652 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009596/0.6753, allocations: 135.5 kB / 0.9611 GB, free: 6.52 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005033/0.6758, allocations: 337.4 kB / 0.9614 GB, free: 6.152 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.799e-05/0.6759, allocations: 54.25 kB / 0.9615 GB, free: 6.094 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.772e-05/0.676, allocations: 28 kB / 0.9615 GB, free: 6.066 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006554/0.6766, allocations: 366.1 kB / 0.9618 GB, free: 5.688 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.256e-05/0.6766, allocations: 0 / 0.9618 GB, free: 5.688 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.952e-05/0.6767, allocations: 8 kB / 0.9618 GB, free: 5.68 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.568e-06/0.6767, allocations: 12 kB / 0.9619 GB, free: 5.668 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005382/0.6772, allocations: 281.9 kB / 0.9621 GB, free: 5.395 MB / 0.7169 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.001892/0.6791, allocations: 1.488 MB / 0.9636 GB, free: 3.777 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004027/0.6796, allocations: 202.6 kB / 0.9638 GB, free: 3.57 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002221/0.6798, allocations: 116.7 kB / 0.9639 GB, free: 3.453 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009576/0.6808, allocations: 0.5014 MB / 0.9644 GB, free: 2.859 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.026e-05/0.6808, allocations: 38.56 kB / 0.9644 GB, free: 2.812 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=15): time 5.019e-06/0.6808, allocations: 0 / 0.9644 GB, free: 2.812 MB / 0.7169 GB Notification: Performance of matching and sorting (n=15): time 0.0009588/0.6818, allocations: 359.8 kB / 0.9648 GB, free: 2.457 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.91e-05/0.6818, allocations: 55.41 kB / 0.9648 GB, free: 2.391 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003261/0.6822, allocations: 316.5 kB / 0.9651 GB, free: 2.07 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 3.047e-05/0.6822, allocations: 29.7 kB / 0.9651 GB, free: 2.035 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001319/0.6823, allocations: 180.3 kB / 0.9653 GB, free: 1.855 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 5.328e-05/0.6824, allocations: 63.45 kB / 0.9654 GB, free: 1.793 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.53e-05/0.6825, allocations: 45.66 kB / 0.9654 GB, free: 1.742 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001465/0.6826, allocations: 346.8 kB / 0.9657 GB, free: 1.395 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001955/0.6828, allocations: 83.92 kB / 0.9658 GB, free: 1.312 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002416/0.6831, allocations: 149.9 kB / 0.966 GB, free: 1.145 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004291/0.6835, allocations: 237.8 kB / 0.9662 GB, free: 0.8906 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.6835, allocations: 0 / 0.9662 GB, free: 0.8906 MB / 0.7169 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005794/0.6841, allocations: 280.6 kB / 0.9665 GB, free: 0.6133 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.662e-05/0.6841, allocations: 8 kB / 0.9665 GB, free: 0.6055 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.008e-05/0.6842, allocations: 0 / 0.9665 GB, free: 0.6055 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.691e-05/0.6842, allocations: 11.88 kB / 0.9665 GB, free: 0.5938 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002184/0.6844, allocations: 43.97 kB / 0.9665 GB, free: 0.5508 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.502e-06/0.6844, allocations: 0 / 0.9665 GB, free: 0.5508 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002039/0.6846, allocations: 36.02 kB / 0.9666 GB, free: 0.5156 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.218e-05/0.6847, allocations: 8 kB / 0.9666 GB, free: 0.5078 MB / 0.7169 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.0001551/0.6848, allocations: 157.6 kB / 0.9667 GB, free: 352 kB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001029/0.6849, allocations: 27.81 kB / 0.9667 GB, free: 324 kB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006849/0.6856, allocations: 316.2 kB / 0.967 GB, free: 4 kB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.537e-06/0.6856, allocations: 0 / 0.967 GB, free: 4 kB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.388e-05/0.6857, allocations: 8.047 kB / 0.967 GB, free: 15.99 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.6857, allocations: 3.938 kB / 0.9671 GB, free: 15.99 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001276/0.687, allocations: 0.8005 MB / 0.9678 GB, free: 15.11 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.479e-06/0.687, allocations: 4 kB / 0.9678 GB, free: 15.11 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001788/0.6872, allocations: 31.92 kB / 0.9679 GB, free: 15.08 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.797e-06/0.6872, allocations: 7.938 kB / 0.9679 GB, free: 15.07 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.971e-05/0.6872, allocations: 8 kB / 0.9679 GB, free: 15.06 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.182e-06/0.6872, allocations: 4 kB / 0.9679 GB, free: 15.06 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.35e-06/0.6872, allocations: 7.969 kB / 0.9679 GB, free: 15.05 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006152/0.6878, allocations: 409.4 kB / 0.9683 GB, free: 14.61 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001283/0.688, allocations: 124.9 kB / 0.9684 GB, free: 14.47 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.647e-05/0.688, allocations: 11.94 kB / 0.9684 GB, free: 14.46 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002239/0.6883, allocations: 11.98 kB / 0.9684 GB, free: 14.45 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.785e-05/0.6883, allocations: 19.92 kB / 0.9684 GB, free: 14.43 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.822e-05/0.6884, allocations: 11.98 kB / 0.9685 GB, free: 14.42 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0002186/0.6886, allocations: 227.1 kB / 0.9687 GB, free: 14.2 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6886, allocations: 7.938 kB / 0.9687 GB, free: 14.19 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0004766/0.6891, allocations: 123.7 kB / 0.9688 GB, free: 14.07 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.001315/0.6904, allocations: 1.06 MB / 0.9698 GB, free: 12.96 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.000508/0.6909, allocations: 231.6 kB / 0.9701 GB, free: 12.74 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.6909, allocations: 0 / 0.9701 GB, free: 12.74 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0002312/0.6912, allocations: 115.8 kB / 0.9702 GB, free: 12.62 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008346/0.692, allocations: 164.8 kB / 0.9703 GB, free: 12.47 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003875/0.6959, allocations: 3.035 MB / 0.9733 GB, free: 9.273 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003809/0.6963, allocations: 0.7873 MB / 0.9741 GB, free: 8.461 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0002518/0.6966, allocations: 86.81 kB / 0.9741 GB, free: 8.379 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001702/0.6967, allocations: 103.4 kB / 0.9742 GB, free: 8.277 MB / 0.7325 GB Notification: Performance of SimCode: time 2.9e-07/0.6967, allocations: 0 / 0.9742 GB, free: 8.277 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03167/0.7284, allocations: 10.53 MB / 0.9845 GB, free: 13.96 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.064/8.793, allocations: 20.77 kB / 0.9845 GB, free: 13.94 MB / 0.7481 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EntropyFlowRate.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EntropyFlowRate.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EntropyFlowRate_res.csv --start-time 0 --stop-time 60 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.024 BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_EntropyFlowRate.fmu > BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EntropyFlowRate.pipe 2>&1)