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.004703/0.004703, allocations: 98.95 kB / 15.73 MB, free: 6.055 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001128/0.001128, allocations: 202.9 kB / 16.68 MB, free: 5.977 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.268/1.268, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001981/0.001981, allocations: 275 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 0.9223/0.9223, allocations: 169.3 MB / 0.4983 GB, free: 13.79 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001868/0.001868, allocations: 97.98 kB / 0.681 GB, free: 15.98 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1593/0.1612, allocations: 86.97 MB / 0.7659 GB, free: 8.926 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.EntropyFlowRate): time 0.4739/0.6351, allocations: 169.4 MB / 0.9314 GB, free: 9.703 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.007429/0.6425, allocations: 7.142 MB / 0.9383 GB, free: 2.543 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003071/0.6429, allocations: 11.94 kB / 0.9384 GB, free: 2.531 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.0004515/0.6433, allocations: 166.7 kB / 0.9385 GB, free: 2.367 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.002542/0.6459, allocations: 1.307 MB / 0.9398 GB, free: 1.055 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.001356/0.6473, allocations: 0.6388 MB / 0.9404 GB, free: 432 kB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.0007034/0.648, allocations: 0.7563 MB / 0.9412 GB, free: 15.66 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000383/0.6484, allocations: 309.9 kB / 0.9414 GB, free: 15.37 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000923/0.6493, allocations: 0.5838 MB / 0.942 GB, free: 14.78 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006422/0.65, allocations: 430.5 kB / 0.9424 GB, free: 14.36 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 4.369e-05/0.65, allocations: 24 kB / 0.9425 GB, free: 14.34 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001728/0.6518, allocations: 1.255 MB / 0.9437 GB, free: 13.08 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.000109/0.6519, allocations: 115.7 kB / 0.9438 GB, free: 12.96 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.0001581/0.652, allocations: 175.1 kB / 0.944 GB, free: 12.79 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.001104/0.6532, allocations: 0.9172 MB / 0.9449 GB, free: 11.88 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 5.59e-06/0.6532, allocations: 4 kB / 0.9449 GB, free: 11.87 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.183e-06/0.6532, allocations: 0 / 0.9449 GB, free: 11.87 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 6.221e-06/0.6532, allocations: 0 / 0.9449 GB, free: 11.87 MB / 0.7012 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.0008962/0.6541, allocations: 0.7042 MB / 0.9455 GB, free: 11.12 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 3.327e-05/0.6541, allocations: 12.03 kB / 0.9456 GB, free: 11.11 MB / 0.7012 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.904e-05/0.6542, allocations: 62.55 kB / 0.9456 GB, free: 11.04 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009611/0.6552, allocations: 128.4 kB / 0.9457 GB, free: 10.91 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004979/0.6557, allocations: 345.3 kB / 0.9461 GB, free: 10.53 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.753e-05/0.6558, allocations: 50.27 kB / 0.9461 GB, free: 10.47 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.079e-05/0.6558, allocations: 24 kB / 0.9461 GB, free: 10.45 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000593/0.6564, allocations: 370.1 kB / 0.9465 GB, free: 10.07 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.059e-05/0.6564, allocations: 0 / 0.9465 GB, free: 10.07 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.133e-05/0.6565, allocations: 16 kB / 0.9465 GB, free: 10.05 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.428e-06/0.6565, allocations: 11.98 kB / 0.9465 GB, free: 10.04 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005065/0.657, allocations: 271.8 kB / 0.9468 GB, free: 9.781 MB / 0.7012 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.0017/0.6587, allocations: 1.504 MB / 0.9482 GB, free: 8.148 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003722/0.6591, allocations: 190.6 kB / 0.9484 GB, free: 7.953 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001994/0.6593, allocations: 117.8 kB / 0.9485 GB, free: 7.836 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008774/0.6602, allocations: 0.5053 MB / 0.949 GB, free: 7.238 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.376e-05/0.6602, allocations: 34.56 kB / 0.9491 GB, free: 7.195 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=15): time 1.183e-06/0.6602, allocations: 0 / 0.9491 GB, free: 7.195 MB / 0.7012 GB Notification: Performance of matching and sorting (n=15): time 0.0008939/0.6611, allocations: 361.9 kB / 0.9494 GB, free: 6.836 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.197e-05/0.6612, allocations: 51.41 kB / 0.9495 GB, free: 6.773 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002754/0.6614, allocations: 316.5 kB / 0.9498 GB, free: 6.457 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 2.998e-05/0.6615, allocations: 33.7 kB / 0.9498 GB, free: 6.418 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001132/0.6616, allocations: 180.3 kB / 0.95 GB, free: 6.238 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 4.368e-05/0.6616, allocations: 59.52 kB / 0.95 GB, free: 6.18 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.245e-05/0.6617, allocations: 45.66 kB / 0.9501 GB, free: 6.129 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001108/0.6618, allocations: 346.8 kB / 0.9504 GB, free: 5.781 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001794/0.662, allocations: 79.94 kB / 0.9505 GB, free: 5.703 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002285/0.6623, allocations: 148.5 kB / 0.9506 GB, free: 5.539 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003982/0.6627, allocations: 245.6 kB / 0.9508 GB, free: 5.277 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.073e-06/0.6627, allocations: 0 / 0.9508 GB, free: 5.277 MB / 0.7012 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005593/0.6632, allocations: 285.2 kB / 0.9511 GB, free: 4.992 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.222e-05/0.6633, allocations: 4 kB / 0.9511 GB, free: 4.988 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.853e-06/0.6633, allocations: 4 kB / 0.9511 GB, free: 4.984 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.25e-05/0.6633, allocations: 0 / 0.9511 GB, free: 4.984 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002172/0.6635, allocations: 49.03 kB / 0.9512 GB, free: 4.938 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.134e-06/0.6635, allocations: 4 kB / 0.9512 GB, free: 4.934 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001967/0.6637, allocations: 32.02 kB / 0.9512 GB, free: 4.902 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.12e-05/0.6638, allocations: 12 kB / 0.9512 GB, free: 4.891 MB / 0.7012 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.0001366/0.6639, allocations: 158.3 kB / 0.9514 GB, free: 4.727 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001041/0.664, allocations: 31.8 kB / 0.9514 GB, free: 4.695 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006234/0.6647, allocations: 311.2 kB / 0.9517 GB, free: 4.391 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.865e-06/0.6647, allocations: 4 kB / 0.9517 GB, free: 4.387 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-06/0.6647, allocations: 0 / 0.9517 GB, free: 4.387 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.6647, allocations: 0 / 0.9517 GB, free: 4.387 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001195/0.6659, allocations: 0.816 MB / 0.9525 GB, free: 3.492 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.6659, allocations: 0 / 0.9525 GB, free: 3.492 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001786/0.6661, allocations: 35.92 kB / 0.9525 GB, free: 3.457 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.118e-06/0.6661, allocations: 4 kB / 0.9525 GB, free: 3.453 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.137e-05/0.6661, allocations: 15.92 kB / 0.9526 GB, free: 3.438 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.985e-06/0.6661, allocations: 0.875 kB / 0.9526 GB, free: 3.438 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.484e-06/0.6661, allocations: 4 kB / 0.9526 GB, free: 3.434 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005482/0.6667, allocations: 401.3 kB / 0.9529 GB, free: 3.004 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001509/0.6668, allocations: 136.8 kB / 0.9531 GB, free: 2.852 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.734e-05/0.6669, allocations: 15.92 kB / 0.9531 GB, free: 2.836 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002335/0.6671, allocations: 11.98 kB / 0.9531 GB, free: 2.824 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.119e-05/0.6672, allocations: 19.92 kB / 0.9531 GB, free: 2.805 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.282e-05/0.6672, allocations: 8.75 kB / 0.9531 GB, free: 2.797 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.0001886/0.6674, allocations: 227 kB / 0.9533 GB, free: 2.578 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6674, allocations: 4 kB / 0.9533 GB, free: 2.574 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.0004513/0.6679, allocations: 119.8 kB / 0.9535 GB, free: 2.457 MB / 0.7012 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.001147/0.669, allocations: 1.061 MB / 0.9545 GB, free: 1.352 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.0004679/0.6695, allocations: 226.8 kB / 0.9547 GB, free: 1.133 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 2.285e-06/0.6695, allocations: 0 / 0.9547 GB, free: 1.133 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.0002163/0.6697, allocations: 115.9 kB / 0.9548 GB, free: 1.02 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007979/0.6706, allocations: 152.8 kB / 0.955 GB, free: 0.875 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003478/0.674, allocations: 3.053 MB / 0.9579 GB, free: 13.67 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003224/0.6744, allocations: 0.7873 MB / 0.9587 GB, free: 12.86 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0002427/0.6746, allocations: 94.8 kB / 0.9588 GB, free: 12.77 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001602/0.6748, allocations: 103.4 kB / 0.9589 GB, free: 12.66 MB / 0.7169 GB Notification: Performance of SimCode: time 2.11e-07/0.6748, allocations: 0 / 0.9589 GB, free: 12.66 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0272/0.702, allocations: 10.53 MB / 0.9692 GB, free: 2.348 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.717/8.419, allocations: 6.609 kB / 0.9692 GB, free: 2.344 MB / 0.7169 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)