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.0007554/0.0007554, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0007603/0.0007603, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.8593/0.8593, allocations: 177.1 MB / 202.8 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] 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.001445/0.001445, allocations: 237.7 kB / 259.4 MB, free: 13.01 MB / 250.7 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 0.6487/0.6487, allocations: 138.4 MB / 454.3 MB, free: 1.633 MB / 362.7 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: Performance of FrontEnd - loaded program: time 1.974e-06/1.974e-06, allocations: 0 / 0.6463 GB, free: 29.03 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.342e-05/1.539e-05, allocations: 4.109 kB / 0.6463 GB, free: 29.02 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.SpecificEnthalpy): time 0.1166/0.1166, allocations: 142.2 MB / 0.7852 GB, free: 2.98 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.003891/0.1205, allocations: 4.159 MB / 0.7892 GB, free: 14.8 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003568/0.1209, allocations: 15.88 kB / 0.7892 GB, free: 14.79 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0004424/0.1213, allocations: 135 kB / 0.7894 GB, free: 14.66 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.0007539/0.1221, allocations: 350.1 kB / 0.7897 GB, free: 14.31 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.00064/0.1227, allocations: 297.7 kB / 0.79 GB, free: 14.02 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0006507/0.1233, allocations: 0.5649 MB / 0.7905 GB, free: 13.46 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002632/0.1236, allocations: 164.2 kB / 0.7907 GB, free: 13.3 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007645/0.1244, allocations: 0.5216 MB / 0.7912 GB, free: 12.78 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001847/0.1246, allocations: 183.5 kB / 0.7914 GB, free: 12.6 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 2.838e-05/0.1246, allocations: 16 kB / 0.7914 GB, free: 12.58 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001481/0.1247, allocations: 87.8 kB / 0.7915 GB, free: 12.5 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 8.87e-05/0.1248, allocations: 99.7 kB / 0.7916 GB, free: 12.4 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 6.945e-05/0.1249, allocations: 79.83 kB / 0.7916 GB, free: 12.32 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0003288/0.1252, allocations: 307.1 kB / 0.7919 GB, free: 12.02 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.1252, allocations: 0 / 0.7919 GB, free: 12.02 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.473e-06/0.1252, allocations: 0 / 0.7919 GB, free: 12.02 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 5.25e-06/0.1252, allocations: 0 / 0.7919 GB, free: 12.02 MB / 0.6355 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.0006268/0.1259, allocations: 484.7 kB / 0.7924 GB, free: 11.52 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.913e-05/0.1259, allocations: 12.75 kB / 0.7924 GB, free: 11.5 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.117e-05/0.1259, allocations: 46.55 kB / 0.7925 GB, free: 11.45 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.669e-05/0.126, allocations: 31.8 kB / 0.7925 GB, free: 11.42 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000295/0.1263, allocations: 229.6 kB / 0.7927 GB, free: 11.17 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.351e-05/0.1263, allocations: 15.94 kB / 0.7927 GB, free: 11.15 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.833e-05/0.1263, allocations: 16 kB / 0.7927 GB, free: 11.14 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002994/0.1266, allocations: 265.9 kB / 0.793 GB, free: 10.84 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.152e-05/0.1266, allocations: 3.938 kB / 0.793 GB, free: 10.84 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.647e-05/0.1267, allocations: 8 kB / 0.793 GB, free: 10.83 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.775e-06/0.1267, allocations: 7.938 kB / 0.793 GB, free: 10.82 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002144/0.1269, allocations: 151.8 kB / 0.7932 GB, free: 10.67 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009792/0.1279, allocations: 1.289 MB / 0.7944 GB, free: 9.297 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002214/0.1281, allocations: 175.7 kB / 0.7946 GB, free: 9.07 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.943e-05/0.1282, allocations: 101 kB / 0.7947 GB, free: 8.953 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001759/0.1284, allocations: 35.95 kB / 0.7947 GB, free: 8.918 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.391e-05/0.1284, allocations: 42.55 kB / 0.7948 GB, free: 8.867 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=10): time 1.884e-06/0.1284, allocations: 4 kB / 0.7948 GB, free: 8.863 MB / 0.6355 GB Notification: Performance of matching and sorting (n=10): time 0.0003877/0.1288, allocations: 209.8 kB / 0.795 GB, free: 8.652 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.787e-05/0.1288, allocations: 183.9 kB / 0.7951 GB, free: 8.43 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000205/0.129, allocations: 296.1 kB / 0.7954 GB, free: 8.129 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.651e-05/0.1291, allocations: 29.7 kB / 0.7954 GB, free: 8.094 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 8.453e-05/0.1291, allocations: 149.8 kB / 0.7956 GB, free: 7.945 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.607e-05/0.1292, allocations: 39.73 kB / 0.7956 GB, free: 7.906 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.707e-05/0.1292, allocations: 37.61 kB / 0.7957 GB, free: 7.863 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 9.293e-05/0.1293, allocations: 338.8 kB / 0.796 GB, free: 7.523 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.409e-05/0.1294, allocations: 48.14 kB / 0.796 GB, free: 7.477 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000147/0.1295, allocations: 220.1 kB / 0.7962 GB, free: 7.211 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001792/0.1297, allocations: 162.7 kB / 0.7964 GB, free: 7.027 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.1297, allocations: 4 kB / 0.7964 GB, free: 7.023 MB / 0.6355 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002427/0.13, allocations: 181.4 kB / 0.7966 GB, free: 6.84 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.831e-05/0.13, allocations: 8 kB / 0.7966 GB, free: 6.832 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.843e-06/0.13, allocations: 0 / 0.7966 GB, free: 6.832 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.732e-05/0.13, allocations: 11.88 kB / 0.7966 GB, free: 6.82 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.842e-05/0.1301, allocations: 32.19 kB / 0.7966 GB, free: 6.789 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.744e-06/0.1301, allocations: 8 kB / 0.7966 GB, free: 6.781 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001114/0.1302, allocations: 27.83 kB / 0.7967 GB, free: 6.754 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.309e-05/0.1302, allocations: 8 kB / 0.7967 GB, free: 6.746 MB / 0.6355 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.0001141/0.1304, allocations: 149.7 kB / 0.7968 GB, free: 6.59 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.913e-05/0.1304, allocations: 23.86 kB / 0.7968 GB, free: 6.566 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003852/0.1308, allocations: 127.2 kB / 0.7969 GB, free: 6.438 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.35e-06/0.1308, allocations: 7.938 kB / 0.797 GB, free: 6.43 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.883e-06/0.1308, allocations: 4 kB / 0.797 GB, free: 6.426 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.909e-06/0.1308, allocations: 4 kB / 0.797 GB, free: 6.422 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006238/0.1315, allocations: 0.7253 MB / 0.7977 GB, free: 5.629 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.1315, allocations: 3.938 kB / 0.7977 GB, free: 5.625 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.65e-05/0.1315, allocations: 28.11 kB / 0.7977 GB, free: 5.598 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.958e-06/0.1315, allocations: 0 / 0.7977 GB, free: 5.598 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.107e-05/0.1316, allocations: 8 kB / 0.7977 GB, free: 5.59 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.839e-06/0.1316, allocations: 7.922 kB / 0.7977 GB, free: 5.582 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.1316, allocations: 4.156 kB / 0.7977 GB, free: 5.578 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003423/0.1319, allocations: 335.5 kB / 0.798 GB, free: 5.219 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.879e-05/0.132, allocations: 43.77 kB / 0.7981 GB, free: 5.176 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.175e-05/0.132, allocations: 0 / 0.7981 GB, free: 5.176 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.074e-05/0.1321, allocations: 8 kB / 0.7981 GB, free: 5.168 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.545e-05/0.1321, allocations: 11.98 kB / 0.7981 GB, free: 5.156 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.051e-06/0.1321, allocations: 4 kB / 0.7981 GB, free: 5.152 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0001488/0.1323, allocations: 219 kB / 0.7983 GB, free: 4.938 MB / 0.6355 GB Notification: Performance of sort global known variables: time 7e-08/0.1323, allocations: 4 kB / 0.7983 GB, free: 4.934 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002699/0.1325, allocations: 51.94 kB / 0.7984 GB, free: 4.883 MB / 0.6355 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.0007096/0.1332, allocations: 0.8921 MB / 0.7992 GB, free: 3.949 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002501/0.1335, allocations: 115.9 kB / 0.7994 GB, free: 3.836 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/0.1335, allocations: 4 kB / 0.7994 GB, free: 3.832 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 8.066e-05/0.1336, allocations: 51.91 kB / 0.7994 GB, free: 3.781 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004973/0.1341, allocations: 143.7 kB / 0.7995 GB, free: 3.645 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002247/0.1363, allocations: 2.59 MB / 0.8021 GB, free: 0.8984 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001075/0.1364, allocations: 154.1 kB / 0.8022 GB, free: 0.7227 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0001338/0.1366, allocations: 46.25 kB / 0.8023 GB, free: 0.6797 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.409e-05/0.1366, allocations: 76.47 kB / 0.8023 GB, free: 0.6055 MB / 0.6355 GB Notification: Performance of SimCode: time 9.72e-07/0.1366, allocations: 4 kB / 0.8023 GB, free: 0.6016 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02139/0.158, allocations: 7.937 MB / 0.8101 GB, free: 8.938 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.502/6.66, allocations: 6.641 kB / 0.8101 GB, free: 8.934 MB / 0.6511 GB " [Timeout remaining time 653] (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: 9.440233325585723] Failed to read output from testmodel.py, exit status != 0: 6.742218678817153 6.751460144 6.624165264 Calling exit ...