Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEntropy.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.0014/0.0014, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001397/0.001397, allocations: 207.6 kB / 22.24 MB, free: 5.262 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.385/1.385, allocations: 230.6 MB / 256 MB, free: 7.742 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002519/0.002519, allocations: 288.2 kB / 312.7 MB, free: 2.578 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.173/1.173, allocations: 180.6 MB / 0.5369 GB, free: 14.59 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 master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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.SpecificEntropy,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_SpecificEntropy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Sensors.Examples.SpecificEntropy,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_SpecificEntropy",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.002857/0.002857, allocations: 101.3 kB / 0.7395 GB, free: 28.23 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1692/0.172, allocations: 95.38 MB / 0.8327 GB, free: 8.316 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.SpecificEntropy): time 0.1808/0.3528, allocations: 143.9 MB / 0.9732 GB, free: 7.875 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.005717/0.3585, allocations: 4.223 MB / 0.9773 GB, free: 3.648 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000293/0.3588, allocations: 11.88 kB / 0.9773 GB, free: 3.637 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0004226/0.3592, allocations: 131 kB / 0.9774 GB, free: 3.508 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.00127/0.3605, allocations: 0.5718 MB / 0.978 GB, free: 2.934 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001726/0.3622, allocations: 0.7973 MB / 0.9788 GB, free: 2.137 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0006604/0.3629, allocations: 0.5807 MB / 0.9793 GB, free: 1.551 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002943/0.3631, allocations: 165.4 kB / 0.9795 GB, free: 1.387 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009/0.364, allocations: 478.3 kB / 0.98 GB, free: 0.918 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005641/0.3646, allocations: 310.7 kB / 0.9803 GB, free: 0.6133 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.81e-05/0.3647, allocations: 20 kB / 0.9803 GB, free: 0.5938 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.4205/0.7852, allocations: 0.8455 MB / 0.9811 GB, free: 4.406 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001798/0.7854, allocations: 95.11 kB / 0.9812 GB, free: 4.406 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001962/0.7856, allocations: 102.9 kB / 0.9813 GB, free: 4.406 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.00138/0.7869, allocations: 0.6795 MB / 0.9819 GB, free: 4.383 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.7869, allocations: 0.6875 kB / 0.9819 GB, free: 4.383 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.713e-06/0.7869, allocations: 0 / 0.9819 GB, free: 4.383 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.831e-06/0.7869, allocations: 0.75 kB / 0.9819 GB, free: 4.383 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: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.0009737/0.7879, allocations: 0.5275 MB / 0.9825 GB, free: 20 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.091e-05/0.788, allocations: 14.03 kB / 0.9825 GB, free: 20 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.591e-05/0.788, allocations: 56.86 kB / 0.9825 GB, free: 19.96 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006169/0.7886, allocations: 80.36 kB / 0.9826 GB, free: 19.95 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004383/0.7891, allocations: 239.1 kB / 0.9828 GB, free: 19.8 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.096e-05/0.7891, allocations: 14.25 kB / 0.9829 GB, free: 19.8 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.549e-05/0.7891, allocations: 17.38 kB / 0.9829 GB, free: 19.8 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004702/0.7896, allocations: 282.3 kB / 0.9831 GB, free: 19.71 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.252e-05/0.7896, allocations: 7.844 kB / 0.9831 GB, free: 19.7 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.378e-05/0.7896, allocations: 10.16 kB / 0.9832 GB, free: 19.7 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.404e-06/0.7896, allocations: 6.094 kB / 0.9832 GB, free: 19.7 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004101/0.7901, allocations: 207.8 kB / 0.9834 GB, free: 19.7 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001472/0.7915, allocations: 1.169 MB / 0.9845 GB, free: 18.9 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002473/0.7918, allocations: 170.6 kB / 0.9847 GB, free: 18.78 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001707/0.7919, allocations: 105.1 kB / 0.9848 GB, free: 18.74 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005774/0.7925, allocations: 102.8 kB / 0.9849 GB, free: 18.74 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.125e-05/0.7926, allocations: 40.78 kB / 0.9849 GB, free: 18.7 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=13): time 1.453e-06/0.7926, allocations: 0.7812 kB / 0.9849 GB, free: 18.7 MB / 0.7325 GB Notification: Performance of matching and sorting (n=13): time 0.0007013/0.7933, allocations: 279.4 kB / 0.9852 GB, free: 18.66 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001005/0.7934, allocations: 163.7 kB / 0.9853 GB, free: 18.47 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002761/0.7936, allocations: 295.8 kB / 0.9856 GB, free: 18.36 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.29e-05/0.7937, allocations: 26.55 kB / 0.9856 GB, free: 18.33 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 9.945e-05/0.7938, allocations: 150.4 kB / 0.9858 GB, free: 18.23 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.646e-05/0.7938, allocations: 52.23 kB / 0.9858 GB, free: 18.2 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.785e-05/0.7939, allocations: 41.73 kB / 0.9859 GB, free: 18.18 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001455/0.794, allocations: 340.4 kB / 0.9862 GB, free: 17.87 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001504/0.7942, allocations: 68.09 kB / 0.9863 GB, free: 17.87 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000261/0.7944, allocations: 246.6 kB / 0.9865 GB, free: 17.67 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003521/0.7948, allocations: 208.2 kB / 0.9867 GB, free: 17.6 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.075e-06/0.7948, allocations: 0.5625 kB / 0.9867 GB, free: 17.6 MB / 0.7325 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.000512/0.7953, allocations: 245.9 kB / 0.9869 GB, free: 17.55 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.011e-05/0.7953, allocations: 6.656 kB / 0.9869 GB, free: 17.55 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.274e-06/0.7953, allocations: 2.562 kB / 0.9869 GB, free: 17.55 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.725e-05/0.7953, allocations: 3.875 kB / 0.9869 GB, free: 17.55 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000189/0.7955, allocations: 40.62 kB / 0.987 GB, free: 17.55 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.908e-06/0.7955, allocations: 7.547 kB / 0.987 GB, free: 17.55 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001847/0.7957, allocations: 33.89 kB / 0.987 GB, free: 17.54 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.22e-05/0.7958, allocations: 12.2 kB / 0.987 GB, free: 17.54 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (18): * Single equations (assignments): 18 * 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.0001477/0.7959, allocations: 146.7 kB / 0.9872 GB, free: 17.42 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001375/0.796, allocations: 31.12 kB / 0.9872 GB, free: 17.41 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004526/0.7965, allocations: 194.3 kB / 0.9874 GB, free: 17.34 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.048e-06/0.7965, allocations: 1.938 kB / 0.9874 GB, free: 17.34 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.223e-06/0.7965, allocations: 6.438 kB / 0.9874 GB, free: 17.34 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.28e-06/0.7965, allocations: 3.453 kB / 0.9874 GB, free: 17.34 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000998/0.7975, allocations: 0.8021 MB / 0.9882 GB, free: 16.73 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-06/0.7975, allocations: 3.375 kB / 0.9882 GB, free: 16.73 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001144/0.7976, allocations: 24.61 kB / 0.9882 GB, free: 16.73 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.998e-06/0.7976, allocations: 2.719 kB / 0.9882 GB, free: 16.73 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.242e-05/0.7976, allocations: 6.188 kB / 0.9882 GB, free: 16.73 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.487e-06/0.7976, allocations: 3.344 kB / 0.9882 GB, free: 16.73 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.7976, allocations: 2.031 kB / 0.9882 GB, free: 16.73 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005495/0.7982, allocations: 342.5 kB / 0.9885 GB, free: 16.55 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 7.505e-05/0.7983, allocations: 38.09 kB / 0.9886 GB, free: 16.54 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.932e-05/0.7983, allocations: 4.766 kB / 0.9886 GB, free: 16.54 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001507/0.7985, allocations: 8.594 kB / 0.9886 GB, free: 16.54 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.861e-05/0.7985, allocations: 12.94 kB / 0.9886 GB, free: 16.54 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.155e-06/0.7985, allocations: 3.562 kB / 0.9886 GB, free: 16.54 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0002497/0.7988, allocations: 237.1 kB / 0.9888 GB, free: 16.46 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1e-07/0.7988, allocations: 0 / 0.9888 GB, free: 16.46 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0004991/0.7993, allocations: 104 kB / 0.9889 GB, free: 16.44 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 1 (senStr.s) * 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 (10): * Single equations (assignments): 10 * 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.001107/0.8004, allocations: 0.9762 MB / 0.9899 GB, free: 15.71 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0003547/0.8007, allocations: 152.5 kB / 0.99 GB, free: 15.71 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.175e-06/0.8007, allocations: 1 kB / 0.99 GB, free: 15.71 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001269/0.8009, allocations: 61.66 kB / 0.9901 GB, free: 15.71 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007193/0.8016, allocations: 131.5 kB / 0.9902 GB, free: 15.71 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003033/0.8046, allocations: 2.774 MB / 0.9929 GB, free: 14.2 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001402/0.8047, allocations: 151.4 kB / 0.9931 GB, free: 14.12 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.000195/0.8049, allocations: 65.8 kB / 0.9931 GB, free: 14.12 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000115/0.8051, allocations: 81.56 kB / 0.9932 GB, free: 14.11 MB / 0.7325 GB Notification: Performance of SimCode: time 5.61e-07/0.8051, allocations: 1.203 kB / 0.9932 GB, free: 14.11 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0406/0.8457, allocations: 9.665 MB / 1.003 GB, free: 12.9 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.73/11.58, allocations: 8.344 kB / 1.003 GB, free: 12.9 MB / 0.7325 GB " [Timeout remaining time 648] (rm -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEntropy.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEntropy.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEntropy.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEntropy.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEntropy_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_SpecificEntropy.fmu > BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEntropy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.632174824830145] Failed to read output from testmodel.py, exit status != 0: 11.688345327042043 11.709017407 10.918354435 Calling exit ...