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.001358/0.001358, allocations: 107.2 kB / 16.45 MB, free: 6.449 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.001482/0.001482, allocations: 212 kB / 19.43 MB, free: 3.637 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.4/1.4, allocations: 230.6 MB / 252.8 MB, free: 8.977 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.00234/0.00234, allocations: 271 kB / 309.1 MB, free: 3.98 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.175/1.175, allocations: 180.9 MB / 0.5333 GB, free: 13.81 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.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.004032/0.004032, allocations: 106.2 kB / 0.7343 GB, free: 28.13 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1827/0.1868, allocations: 95.34 MB / 0.8274 GB, free: 9.875 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.SpecificEnthalpy): time 0.5927/0.7795, allocations: 164.8 MB / 0.9883 GB, free: 3.297 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.004329/0.7838, allocations: 4.576 MB / 0.9927 GB, free: 3.23 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004298/0.7843, allocations: 16.36 kB / 0.9927 GB, free: 3.23 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0004344/0.7847, allocations: 132.6 kB / 0.9929 GB, free: 3.227 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.000798/0.7855, allocations: 343.8 kB / 0.9932 GB, free: 3.215 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007663/0.7863, allocations: 280.3 kB / 0.9935 GB, free: 3.207 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0005382/0.7868, allocations: 0.5554 MB / 0.994 GB, free: 3.203 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002901/0.7871, allocations: 176.5 kB / 0.9942 GB, free: 3.195 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000913/0.788, allocations: 476.1 kB / 0.9946 GB, free: 3.188 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002867/0.7883, allocations: 202.8 kB / 0.9948 GB, free: 3.188 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.597e-05/0.7883, allocations: 16.89 kB / 0.9948 GB, free: 3.188 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001924/0.7885, allocations: 87.47 kB / 0.9949 GB, free: 3.188 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001207/0.7886, allocations: 87.25 kB / 0.995 GB, free: 3.188 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001427/0.7888, allocations: 117.5 kB / 0.9951 GB, free: 3.188 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0004659/0.7893, allocations: 302.3 kB / 0.9954 GB, free: 3.176 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.7893, allocations: 0.6875 kB / 0.9954 GB, free: 3.176 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.263e-06/0.7893, allocations: 0.8438 kB / 0.9954 GB, free: 3.176 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.172e-06/0.7893, allocations: 0 / 0.9954 GB, free: 3.176 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.001069/0.7903, allocations: 0.5356 MB / 0.9959 GB, free: 18.74 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.399e-05/0.7904, allocations: 10.09 kB / 0.9959 GB, free: 18.74 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.881e-05/0.7904, allocations: 49.72 kB / 0.996 GB, free: 18.7 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.147e-05/0.7905, allocations: 34.95 kB / 0.996 GB, free: 18.68 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004064/0.7909, allocations: 293 kB / 0.9963 GB, free: 18.46 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.052e-05/0.7909, allocations: 19.81 kB / 0.9963 GB, free: 18.46 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.964e-05/0.791, allocations: 17.34 kB / 0.9963 GB, free: 18.46 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004302/0.7914, allocations: 259.7 kB / 0.9966 GB, free: 18.34 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.233e-05/0.7914, allocations: 4.766 kB / 0.9966 GB, free: 18.34 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.089e-05/0.7914, allocations: 11.69 kB / 0.9966 GB, free: 18.34 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.738e-06/0.7914, allocations: 9.641 kB / 0.9966 GB, free: 18.34 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003639/0.7918, allocations: 149.2 kB / 0.9967 GB, free: 18.34 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001355/0.7932, allocations: 1.367 MB / 0.9981 GB, free: 17.27 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002751/0.7934, allocations: 177.5 kB / 0.9983 GB, free: 17.12 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001625/0.7936, allocations: 94.52 kB / 0.9983 GB, free: 17.08 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003646/0.794, allocations: 116.6 kB / 0.9985 GB, free: 16.98 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.578e-05/0.794, allocations: 42.91 kB / 0.9985 GB, free: 16.95 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=10): time 1.293e-06/0.794, allocations: 0 / 0.9985 GB, free: 16.95 MB / 0.7325 GB Notification: Performance of matching and sorting (n=10): time 0.0006296/0.7946, allocations: 210.6 kB / 0.9987 GB, free: 16.9 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001133/0.7947, allocations: 186.9 kB / 0.9989 GB, free: 16.68 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002978/0.795, allocations: 290.3 kB / 0.9992 GB, free: 16.57 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.162e-05/0.7951, allocations: 28.12 kB / 0.9992 GB, free: 16.54 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001036/0.7952, allocations: 157.2 kB / 0.9993 GB, free: 16.44 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.847e-05/0.7952, allocations: 34.42 kB / 0.9994 GB, free: 16.42 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.188e-05/0.7953, allocations: 36.02 kB / 0.9994 GB, free: 16.4 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001596/0.7954, allocations: 337.8 kB / 0.9997 GB, free: 16.09 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00014/0.7956, allocations: 44.84 kB / 0.9998 GB, free: 16.09 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000197/0.7958, allocations: 117.3 kB / 0.9999 GB, free: 16.02 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002904/0.796, allocations: 158.8 kB / 1 GB, free: 15.95 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.796, allocations: 1.906 kB / 1 GB, free: 15.95 MB / 0.7325 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003859/0.7964, allocations: 192.4 kB / 1 GB, free: 15.91 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.033e-05/0.7965, allocations: 7.688 kB / 1 GB, free: 15.91 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.316e-06/0.7965, allocations: 6.672 kB / 1 GB, free: 15.9 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.84e-05/0.7965, allocations: 3.062 kB / 1 GB, free: 15.9 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001476/0.7966, allocations: 33.12 kB / 1 GB, free: 15.9 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.418e-06/0.7966, allocations: 2.906 kB / 1 GB, free: 15.9 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001558/0.7968, allocations: 30.48 kB / 1 GB, free: 15.89 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.791e-05/0.7968, allocations: 7.844 kB / 1 GB, free: 15.89 MB / 0.7325 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 0.0001437/0.797, allocations: 152.4 kB / 1 GB, free: 15.78 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001235/0.7971, allocations: 31.5 kB / 1 GB, free: 15.77 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003591/0.7974, allocations: 127.9 kB / 1.001 GB, free: 15.71 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.229e-06/0.7975, allocations: 2.438 kB / 1.001 GB, free: 15.71 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.422e-06/0.7975, allocations: 6.344 kB / 1.001 GB, free: 15.71 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.374e-06/0.7975, allocations: 6.781 kB / 1.001 GB, free: 15.71 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008686/0.7983, allocations: 0.772 MB / 1.001 GB, free: 15.07 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.017e-06/0.7983, allocations: 6.469 kB / 1.001 GB, free: 15.07 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001345/0.7985, allocations: 23.53 kB / 1.001 GB, free: 15.07 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.27e-06/0.7985, allocations: 2.156 kB / 1.001 GB, free: 15.07 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.451e-05/0.7985, allocations: 3.594 kB / 1.001 GB, free: 15.07 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.751e-06/0.7985, allocations: 4.969 kB / 1.001 GB, free: 15.07 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/0.7985, allocations: 2.656 kB / 1.001 GB, free: 15.07 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005859/0.7991, allocations: 350.4 kB / 1.002 GB, free: 14.88 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001181/0.7992, allocations: 107.3 kB / 1.002 GB, free: 14.78 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.605e-05/0.7992, allocations: 7.031 kB / 1.002 GB, free: 14.78 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001298/0.7994, allocations: 8.594 kB / 1.002 GB, free: 14.78 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.206e-05/0.7994, allocations: 15.97 kB / 1.002 GB, free: 14.77 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.287e-05/0.7994, allocations: 7.25 kB / 1.002 GB, free: 14.77 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.000259/0.7997, allocations: 210.1 kB / 1.002 GB, free: 14.7 MB / 0.7325 GB Notification: Performance of sort global known variables: time 8e-08/0.7997, allocations: 0.9062 kB / 1.002 GB, free: 14.7 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0004082/0.8001, allocations: 56.22 kB / 1.002 GB, free: 14.69 MB / 0.7325 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.001042/0.8011, allocations: 0.8915 MB / 1.003 GB, free: 13.98 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.000404/0.8016, allocations: 122 kB / 1.003 GB, free: 13.98 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.8016, allocations: 0.875 kB / 1.003 GB, free: 13.98 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001678/0.8017, allocations: 60.42 kB / 1.003 GB, free: 13.98 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007734/0.8025, allocations: 137 kB / 1.003 GB, free: 13.96 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003388/0.8059, allocations: 2.619 MB / 1.006 GB, free: 12.46 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003789/0.8063, allocations: 0.7531 MB / 1.007 GB, free: 11.76 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001624/0.8064, allocations: 52.47 kB / 1.007 GB, free: 11.76 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.488e-05/0.8065, allocations: 75.58 kB / 1.007 GB, free: 11.75 MB / 0.7325 GB Notification: Performance of SimCode: time 2.81e-07/0.8065, allocations: 0 / 1.007 GB, free: 11.75 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03128/0.8378, allocations: 6.871 MB / 1.013 GB, free: 11.19 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.888/8.726, allocations: 7.672 kB / 1.013 GB, free: 11.19 MB / 0.7325 GB " [Timeout remaining time 651] (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: 12.78190681990236] Failed to read output from testmodel.py, exit status != 0: 8.795399799011648 8.805946952 8.014328709 Calling exit ...