Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEnthalpy.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.001387/0.001387, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001494/0.001494, allocations: 212.6 kB / 22.25 MB, free: 4.859 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.378/1.378, allocations: 230.6 MB / 256 MB, free: 7.789 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.002542/0.002542, allocations: 294.5 kB / 312.7 MB, free: 2.609 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.199/1.199, allocations: 180.6 MB / 0.5369 GB, free: 14.57 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.SpecificEnthalpy,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_SpecificEnthalpy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Sensors.Examples.SpecificEnthalpy,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_SpecificEnthalpy",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.00279/0.00279, allocations: 101.8 kB / 0.7395 GB, free: 28.07 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1575/0.1603, allocations: 95.38 MB / 0.8327 GB, free: 8.383 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.SpecificEnthalpy): time 0.1815/0.3417, allocations: 142.2 MB / 0.9715 GB, free: 9.645 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.00628/0.348, allocations: 4.191 MB / 0.9756 GB, free: 5.445 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003659/0.3484, allocations: 19.88 kB / 0.9756 GB, free: 5.426 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0005756/0.349, allocations: 127.1 kB / 0.9758 GB, free: 5.301 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.001037/0.35, allocations: 330.5 kB / 0.9761 GB, free: 4.977 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009255/0.3509, allocations: 292.2 kB / 0.9763 GB, free: 4.695 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0008525/0.3518, allocations: 0.5651 MB / 0.9769 GB, free: 4.125 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003632/0.3521, allocations: 165.4 kB / 0.9771 GB, free: 3.961 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001167/0.3533, allocations: 470.3 kB / 0.9775 GB, free: 3.5 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003704/0.3537, allocations: 199.2 kB / 0.9777 GB, free: 3.305 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 4.466e-05/0.3537, allocations: 16 kB / 0.9777 GB, free: 3.289 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002056/0.3539, allocations: 75.92 kB / 0.9778 GB, free: 3.215 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001297/0.3541, allocations: 95.72 kB / 0.9779 GB, free: 3.121 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.000191/0.3543, allocations: 99.53 kB / 0.978 GB, free: 3.023 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0004573/0.3547, allocations: 310.8 kB / 0.9783 GB, free: 2.719 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.3547, allocations: 0 / 0.9783 GB, free: 2.719 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.242e-06/0.3547, allocations: 0 / 0.9783 GB, free: 2.719 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.86e-05/0.3547, allocations: 3.938 kB / 0.9783 GB, free: 2.715 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: 42 * Number of variables: 42 Notification: Performance of Generate backend data structure: time 0.0009813/0.3557, allocations: 464.9 kB / 0.9787 GB, free: 2.23 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.643e-05/0.3558, allocations: 9.344 kB / 0.9787 GB, free: 2.223 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.798e-05/0.3558, allocations: 58.48 kB / 0.9788 GB, free: 2.156 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.073e-05/0.3559, allocations: 31.75 kB / 0.9788 GB, free: 2.125 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004777/0.3564, allocations: 229.7 kB / 0.979 GB, free: 1.875 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.994e-05/0.3564, allocations: 12 kB / 0.979 GB, free: 1.863 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.918e-05/0.3565, allocations: 23.98 kB / 0.9791 GB, free: 1.84 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004527/0.3569, allocations: 265.8 kB / 0.9793 GB, free: 1.543 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.399e-05/0.3569, allocations: 3.938 kB / 0.9793 GB, free: 1.539 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.76e-05/0.3569, allocations: 8 kB / 0.9793 GB, free: 1.531 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.057e-06/0.3569, allocations: 8 kB / 0.9793 GB, free: 1.523 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003483/0.3573, allocations: 151.7 kB / 0.9795 GB, free: 1.375 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3369/0.6942, allocations: 1.296 MB / 0.9807 GB, free: 152.3 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003803/0.6946, allocations: 171.4 kB / 0.9809 GB, free: 152.1 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001559/0.6947, allocations: 90.7 kB / 0.981 GB, free: 152.1 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003326/0.6951, allocations: 45.19 kB / 0.981 GB, free: 152.1 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.771e-05/0.6951, allocations: 45.02 kB / 0.9811 GB, free: 152.1 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=10): time 2.725e-06/0.6951, allocations: 0 / 0.9811 GB, free: 152.1 MB / 0.7169 GB Notification: Performance of matching and sorting (n=10): time 0.0006172/0.6957, allocations: 204.8 kB / 0.9813 GB, free: 152 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.016e-05/0.6957, allocations: 189.7 kB / 0.9815 GB, free: 151.8 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003045/0.6961, allocations: 291 kB / 0.9817 GB, free: 151.7 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.609e-05/0.6961, allocations: 27.83 kB / 0.9818 GB, free: 151.7 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 8.348e-05/0.6962, allocations: 149 kB / 0.9819 GB, free: 151.6 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.773e-05/0.6962, allocations: 38.72 kB / 0.9819 GB, free: 151.6 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.571e-05/0.6963, allocations: 36.08 kB / 0.982 GB, free: 151.6 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.689e-05/0.6963, allocations: 334.9 kB / 0.9823 GB, free: 151.2 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000127/0.6964, allocations: 44.83 kB / 0.9823 GB, free: 151.2 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001792/0.6966, allocations: 217.8 kB / 0.9825 GB, free: 151 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002668/0.6969, allocations: 162.7 kB / 0.9827 GB, free: 151 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.6969, allocations: 0.6562 kB / 0.9827 GB, free: 151 MB / 0.7169 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003464/0.6972, allocations: 197.2 kB / 0.9829 GB, free: 150.9 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.715e-05/0.6973, allocations: 6 kB / 0.9829 GB, free: 150.9 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.885e-06/0.6973, allocations: 7.016 kB / 0.9829 GB, free: 150.9 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.715e-05/0.6973, allocations: 2.344 kB / 0.9829 GB, free: 150.9 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001413/0.6974, allocations: 29.59 kB / 0.9829 GB, free: 150.9 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.075e-06/0.6974, allocations: 2.406 kB / 0.9829 GB, free: 150.9 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001627/0.6976, allocations: 31.69 kB / 0.983 GB, free: 150.9 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.466e-05/0.6976, allocations: 11.2 kB / 0.983 GB, free: 150.9 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (15): * Single equations (assignments): 15 * 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 9.89e-05/0.6977, allocations: 148.4 kB / 0.9831 GB, free: 150.8 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001124/0.6978, allocations: 26.28 kB / 0.9831 GB, free: 150.8 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002998/0.6981, allocations: 130.7 kB / 0.9833 GB, free: 150.8 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.452e-06/0.6981, allocations: 3.812 kB / 0.9833 GB, free: 150.8 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/0.6981, allocations: 6.469 kB / 0.9833 GB, free: 150.8 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.539e-06/0.6981, allocations: 7.672 kB / 0.9833 GB, free: 150.7 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006619/0.6988, allocations: 0.7261 MB / 0.984 GB, free: 150.1 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.6988, allocations: 1.547 kB / 0.984 GB, free: 150.1 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001184/0.6989, allocations: 23.48 kB / 0.984 GB, free: 150.1 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.316e-06/0.6989, allocations: 5.688 kB / 0.984 GB, free: 150.1 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.336e-05/0.6989, allocations: 10.94 kB / 0.984 GB, free: 150.1 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.567e-06/0.6989, allocations: 3.609 kB / 0.984 GB, free: 150.1 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.6989, allocations: 1.969 kB / 0.984 GB, free: 150.1 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004485/0.6994, allocations: 339.7 kB / 0.9844 GB, free: 149.9 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 7.507e-05/0.6995, allocations: 40.03 kB / 0.9844 GB, free: 149.9 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.36e-05/0.6995, allocations: 3.734 kB / 0.9844 GB, free: 149.9 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001236/0.6996, allocations: 10.86 kB / 0.9844 GB, free: 149.9 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.332e-05/0.6997, allocations: 9.969 kB / 0.9844 GB, free: 149.9 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.506e-06/0.6997, allocations: 3.844 kB / 0.9844 GB, free: 149.9 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0001877/0.6999, allocations: 213.7 kB / 0.9846 GB, free: 149.8 MB / 0.7169 GB Notification: Performance of sort global known variables: time 6.1e-08/0.6999, allocations: 5.578 kB / 0.9846 GB, free: 149.8 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003409/0.7002, allocations: 55.8 kB / 0.9847 GB, free: 149.8 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 1 (senStr.h_out) * 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.000696/0.7009, allocations: 0.8938 MB / 0.9856 GB, free: 149.1 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003239/0.7012, allocations: 120.1 kB / 0.9857 GB, free: 149.1 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.7012, allocations: 0.9688 kB / 0.9857 GB, free: 149.1 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001408/0.7014, allocations: 67.48 kB / 0.9857 GB, free: 149.1 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006831/0.7021, allocations: 120.7 kB / 0.9859 GB, free: 149.1 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002536/0.7046, allocations: 2.619 MB / 0.9884 GB, free: 147.4 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001098/0.7047, allocations: 147.8 kB / 0.9885 GB, free: 147.3 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0001395/0.7048, allocations: 49.12 kB / 0.9886 GB, free: 147.3 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.38e-05/0.7049, allocations: 72.19 kB / 0.9887 GB, free: 147.3 MB / 0.7169 GB Notification: Performance of SimCode: time 4.11e-07/0.7049, allocations: 7 kB / 0.9887 GB, free: 147.3 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03684/0.7418, allocations: 7.857 MB / 0.9963 GB, free: 145.2 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.72/11.46, allocations: 5.984 kB / 0.9964 GB, free: 145.2 MB / 0.7169 GB " [Timeout remaining time 648] (rm -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEnthalpy.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEnthalpy.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEnthalpy_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_SpecificEnthalpy.fmu > BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEnthalpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.50284736789763] Failed to read output from testmodel.py, exit status != 0: 11.578684287145734 11.598116051 11.241033706 Calling exit ...