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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001247/0.001247, allocations: 110.1 kB / 16.46 MB, free: 6.453 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002617/0.002617, allocations: 215.2 kB / 19.43 MB, free: 3.625 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.365/1.365, allocations: 230.6 MB / 252.8 MB, free: 9 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002386/0.002386, allocations: 291.1 kB / 309.1 MB, free: 3.984 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.151/1.151, allocations: 180.9 MB / 0.5333 GB, free: 13.71 MB / 382.1 MB " [Timeout remaining time 179] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 660] "Notification: NcDataReader2 requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: BuildingSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00266/0.00266, allocations: 106.2 kB / 0.7343 GB, free: 28.73 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1582/0.1609, allocations: 95.34 MB / 0.8274 GB, free: 9.84 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.EntropyFlowRate): time 0.5923/0.7532, allocations: 172.9 MB / 0.9962 GB, free: 3.23 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.007627/0.7608, allocations: 7.192 MB / 1.003 GB, free: 3.129 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005679/0.7614, allocations: 18.94 kB / 1.003 GB, free: 3.129 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0005172/0.7619, allocations: 173.5 kB / 1.003 GB, free: 3.129 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.003222/0.7651, allocations: 1.314 MB / 1.005 GB, free: 3.07 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001666/0.7668, allocations: 0.6394 MB / 1.005 GB, free: 3.055 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.001066/0.7679, allocations: 0.7585 MB / 1.006 GB, free: 3.051 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004435/0.7683, allocations: 252.9 kB / 1.006 GB, free: 3.043 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001183/0.7695, allocations: 0.5879 MB / 1.007 GB, free: 3.035 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000714/0.7702, allocations: 459.7 kB / 1.007 GB, free: 3.035 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 4.92e-05/0.7703, allocations: 26.91 kB / 1.007 GB, free: 3.035 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002002/0.7723, allocations: 1.333 MB / 1.009 GB, free: 3.023 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001187/0.7724, allocations: 127.1 kB / 1.009 GB, free: 3.02 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.000171/0.7726, allocations: 181.2 kB / 1.009 GB, free: 3.02 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001316/0.7739, allocations: 0.9074 MB / 1.01 GB, free: 2.973 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.7739, allocations: 4.656 kB / 1.01 GB, free: 2.973 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.553e-06/0.7739, allocations: 0 / 1.01 GB, free: 2.973 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.419e-05/0.7739, allocations: 0.9375 kB / 1.01 GB, free: 2.973 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.001137/0.775, allocations: 0.708 MB / 1.011 GB, free: 18.46 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.452e-05/0.7751, allocations: 12.12 kB / 1.011 GB, free: 18.46 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.103e-05/0.7751, allocations: 62.3 kB / 1.011 GB, free: 18.42 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009728/0.7761, allocations: 126.6 kB / 1.011 GB, free: 18.4 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005434/0.7767, allocations: 341.2 kB / 1.011 GB, free: 18.17 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.126e-05/0.7767, allocations: 48.14 kB / 1.011 GB, free: 18.14 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.908e-05/0.7768, allocations: 28.22 kB / 1.011 GB, free: 18.14 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006054/0.7774, allocations: 368.1 kB / 1.011 GB, free: 18.06 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.137e-05/0.7774, allocations: 1.656 kB / 1.011 GB, free: 18.06 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.349e-05/0.7774, allocations: 20.95 kB / 1.011 GB, free: 18.05 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.504e-05/0.7775, allocations: 6.219 kB / 1.011 GB, free: 18.05 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000519/0.778, allocations: 271.8 kB / 1.012 GB, free: 18.05 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.001795/0.7798, allocations: 1.493 MB / 1.013 GB, free: 17.08 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003848/0.7802, allocations: 192.5 kB / 1.013 GB, free: 17.05 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001876/0.7803, allocations: 119.2 kB / 1.013 GB, free: 17.04 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009777/0.7813, allocations: 0.499 MB / 1.014 GB, free: 16.57 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.131e-05/0.7814, allocations: 40.7 kB / 1.014 GB, free: 16.53 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=15): time 1.533e-06/0.7814, allocations: 2.172 kB / 1.014 GB, free: 16.53 MB / 0.7325 GB Notification: Performance of matching and sorting (n=15): time 0.0009431/0.7823, allocations: 357.3 kB / 1.014 GB, free: 16.48 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.558e-05/0.7823, allocations: 53.97 kB / 1.014 GB, free: 16.42 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002948/0.7826, allocations: 313.3 kB / 1.015 GB, free: 16.31 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.323e-05/0.7827, allocations: 31.58 kB / 1.015 GB, free: 16.28 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001329/0.7828, allocations: 187.3 kB / 1.015 GB, free: 16.16 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.872e-05/0.7828, allocations: 56.25 kB / 1.015 GB, free: 16.13 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.343e-05/0.7829, allocations: 46.25 kB / 1.015 GB, free: 16.11 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001585/0.7831, allocations: 338.7 kB / 1.015 GB, free: 15.8 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001789/0.7833, allocations: 89.56 kB / 1.015 GB, free: 15.8 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002114/0.7835, allocations: 149.5 kB / 1.016 GB, free: 15.74 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003694/0.7838, allocations: 235.6 kB / 1.016 GB, free: 15.69 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.7838, allocations: 1 kB / 1.016 GB, free: 15.69 MB / 0.7325 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005105/0.7843, allocations: 286.6 kB / 1.016 GB, free: 15.64 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.568e-05/0.7844, allocations: 9.75 kB / 1.016 GB, free: 15.64 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/0.7844, allocations: 0.875 kB / 1.016 GB, free: 15.64 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.581e-05/0.7844, allocations: 2.594 kB / 1.016 GB, free: 15.64 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002104/0.7846, allocations: 44.55 kB / 1.016 GB, free: 15.64 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.773e-06/0.7846, allocations: 2.656 kB / 1.016 GB, free: 15.64 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001877/0.7848, allocations: 29.06 kB / 1.016 GB, free: 15.62 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.421e-05/0.7848, allocations: 11.78 kB / 1.016 GB, free: 15.62 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.0001627/0.785, allocations: 157.6 kB / 1.016 GB, free: 15.5 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001002/0.7851, allocations: 34.64 kB / 1.016 GB, free: 15.49 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006379/0.7857, allocations: 312.4 kB / 1.017 GB, free: 15.44 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.907e-06/0.7857, allocations: 3.781 kB / 1.017 GB, free: 15.44 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.7857, allocations: 3.094 kB / 1.017 GB, free: 15.44 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.498e-06/0.7857, allocations: 3.578 kB / 1.017 GB, free: 15.44 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001148/0.7869, allocations: 0.8034 MB / 1.017 GB, free: 15.08 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.344e-06/0.7869, allocations: 0.7812 kB / 1.017 GB, free: 15.08 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001696/0.7871, allocations: 36.73 kB / 1.017 GB, free: 15.08 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.168e-06/0.7871, allocations: 4.812 kB / 1.017 GB, free: 15.08 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.713e-05/0.7871, allocations: 5.781 kB / 1.017 GB, free: 15.08 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.01e-06/0.7871, allocations: 8.312 kB / 1.018 GB, free: 15.08 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.759e-06/0.7871, allocations: 8.984 kB / 1.018 GB, free: 15.08 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005966/0.7877, allocations: 408.2 kB / 1.018 GB, free: 14.87 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001378/0.7878, allocations: 138.8 kB / 1.018 GB, free: 14.75 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.366e-05/0.7879, allocations: 6.719 kB / 1.018 GB, free: 14.75 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000231/0.7881, allocations: 18.52 kB / 1.018 GB, free: 14.75 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.394e-05/0.7882, allocations: 17.88 kB / 1.018 GB, free: 14.75 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.57e-05/0.7882, allocations: 10.44 kB / 1.018 GB, free: 14.75 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0002234/0.7884, allocations: 226.2 kB / 1.018 GB, free: 14.67 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.01e-07/0.7884, allocations: 0.7812 kB / 1.018 GB, free: 14.67 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0005515/0.789, allocations: 123.8 kB / 1.018 GB, free: 14.66 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.001239/0.7902, allocations: 1.048 MB / 1.019 GB, free: 13.91 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0004912/0.7907, allocations: 219.2 kB / 1.02 GB, free: 13.91 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.045e-06/0.7907, allocations: 2.5 kB / 1.02 GB, free: 13.91 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0002157/0.7909, allocations: 114.6 kB / 1.02 GB, free: 13.91 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008262/0.7917, allocations: 160.8 kB / 1.02 GB, free: 13.89 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003524/0.7953, allocations: 3.063 MB / 1.023 GB, free: 12.32 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000412/0.7957, allocations: 0.7954 MB / 1.024 GB, free: 11.61 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0002584/0.7959, allocations: 93.14 kB / 1.024 GB, free: 11.59 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001477/0.7961, allocations: 102.2 kB / 1.024 GB, free: 11.59 MB / 0.7325 GB Notification: Performance of SimCode: time 4.41e-07/0.7961, allocations: 1.031 kB / 1.024 GB, free: 11.59 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03345/0.8295, allocations: 10.54 MB / 1.034 GB, free: 10.68 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.012/8.841, allocations: 2.281 kB / 1.034 GB, free: 10.68 MB / 0.7325 GB " [Timeout remaining time 651] (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) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.792690632864833] Failed to read output from testmodel.py, exit status != 0: 8.911474463995546 8.923352462 8.146834021 Calling exit ...