Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Sensors.Examples.TemperatureDryBulb.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.001655/0.001655, allocations: 104.3 kB / 19.69 MB, free: 1.945 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.001686/0.001686, allocations: 215.9 kB / 23 MB, free: 4.969 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.452/1.452, allocations: 230.6 MB / 256.8 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.9629/0.9629, allocations: 149.9 MB / 463.1 MB, free: 10.41 MB / 366.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 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(IBPSA.Fluid.Sensors.Examples.TemperatureDryBulb,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sensors_Examples_TemperatureDryBulb",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Sensors.Examples.TemperatureDryBulb,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sensors_Examples_TemperatureDryBulb",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IBPSA 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.002995/0.002995, allocations: 66.7 kB / 0.6411 GB, free: 10.16 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2079/0.2109, allocations: 89.18 MB / 0.7282 GB, free: 1.051 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.6057/0.8166, allocations: 160.6 MB / 0.8851 GB, free: 4.559 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.006868/0.8235, allocations: 4.143 MB / 0.8891 GB, free: 420 kB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000696/0.8242, allocations: 27.75 kB / 0.8891 GB, free: 392 kB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0008609/0.825, allocations: 258.1 kB / 0.8894 GB, free: 132 kB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.002194/0.8272, allocations: 0.7621 MB / 0.8901 GB, free: 15.36 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.004026/0.8313, allocations: 1.545 MB / 0.8916 GB, free: 13.82 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.001914/0.8332, allocations: 1.262 MB / 0.8929 GB, free: 12.55 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007856/0.834, allocations: 357.4 kB / 0.8932 GB, free: 12.2 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001927/0.8359, allocations: 0.8331 MB / 0.894 GB, free: 11.37 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007052/0.8366, allocations: 394.2 kB / 0.8944 GB, free: 10.98 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0001374/0.8367, allocations: 48 kB / 0.8944 GB, free: 10.93 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002587/0.8393, allocations: 1.243 MB / 0.8956 GB, free: 9.688 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0002608/0.8396, allocations: 195.4 kB / 0.8958 GB, free: 9.496 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0004558/0.84, allocations: 258.8 kB / 0.8961 GB, free: 9.242 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.002544/0.8426, allocations: 1.257 MB / 0.8973 GB, free: 7.984 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 4.628e-06/0.8426, allocations: 0 / 0.8973 GB, free: 7.984 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.894e-06/0.8426, allocations: 0 / 0.8973 GB, free: 7.984 MB / 0.67 GB Notification: Performance of Transformations before backend: time 2.162e-05/0.8426, allocations: 4 kB / 0.8973 GB, free: 7.98 MB / 0.67 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 100 * Number of variables: 100 Notification: Performance of Generate backend data structure: time 0.001936/0.8445, allocations: 0.9682 MB / 0.8983 GB, free: 6.969 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 3.832e-05/0.8446, allocations: 8.031 kB / 0.8983 GB, free: 6.961 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001052/0.8447, allocations: 82.53 kB / 0.8983 GB, free: 6.871 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002003/0.8467, allocations: 283.3 kB / 0.8986 GB, free: 6.594 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008965/0.8476, allocations: 402.6 kB / 0.899 GB, free: 6.176 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.38e-05/0.8476, allocations: 37 kB / 0.899 GB, free: 6.141 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.269e-05/0.8477, allocations: 43.98 kB / 0.8991 GB, free: 6.098 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001102/0.8488, allocations: 0.5585 MB / 0.8996 GB, free: 5.504 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.284e-05/0.8489, allocations: 4.688 kB / 0.8996 GB, free: 5.5 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.732e-05/0.8489, allocations: 16 kB / 0.8996 GB, free: 5.484 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.492e-05/0.8489, allocations: 8 kB / 0.8996 GB, free: 5.477 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001049/0.85, allocations: 459.5 kB / 0.9001 GB, free: 5.027 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002659/0.8526, allocations: 1.775 MB / 0.9018 GB, free: 3.176 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000981/0.8536, allocations: 398.3 kB / 0.9022 GB, free: 2.777 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004799/0.8541, allocations: 209.9 kB / 0.9024 GB, free: 2.57 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000531/0.8546, allocations: 99.77 kB / 0.9025 GB, free: 2.473 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006284/0.8552, allocations: 290.9 kB / 0.9028 GB, free: 2.176 MB / 0.67 GB Notification: Performance of pre-optimization done (n=37): time 4.078e-06/0.8552, allocations: 3.984 kB / 0.9028 GB, free: 2.172 MB / 0.67 GB Notification: Performance of matching and sorting (n=37): time 0.001774/0.857, allocations: 0.6893 MB / 0.9034 GB, free: 1.477 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.586e-05/0.8571, allocations: 59.41 kB / 0.9035 GB, free: 1.406 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005984/0.8577, allocations: 498 kB / 0.904 GB, free: 0.9062 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 5.488e-05/0.8577, allocations: 41.7 kB / 0.904 GB, free: 0.8594 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002084/0.8579, allocations: 264.4 kB / 0.9043 GB, free: 0.5977 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001197/0.858, allocations: 126.9 kB / 0.9044 GB, free: 484 kB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000162/0.8582, allocations: 90.12 kB / 0.9045 GB, free: 388 kB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001737/0.8584, allocations: 370.7 kB / 0.9048 GB, free: 8 kB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005376/0.8589, allocations: 252.8 kB / 0.9051 GB, free: 15.75 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006793/0.8596, allocations: 0.4918 MB / 0.9056 GB, free: 15.18 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001028/0.8606, allocations: 0.537 MB / 0.9061 GB, free: 14.59 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/0.8606, allocations: 0 / 0.9061 GB, free: 14.59 MB / 0.6856 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001364/0.862, allocations: 0.7104 MB / 0.9068 GB, free: 13.85 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 6.59e-05/0.8621, allocations: 61.59 kB / 0.9068 GB, free: 13.78 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.264e-05/0.8621, allocations: 5.812 kB / 0.9068 GB, free: 13.77 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.905e-05/0.8621, allocations: 8 kB / 0.9068 GB, free: 13.77 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004509/0.8625, allocations: 95.88 kB / 0.9069 GB, free: 13.67 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.416e-05/0.8626, allocations: 11.92 kB / 0.9069 GB, free: 13.66 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005348/0.8631, allocations: 79.58 kB / 0.907 GB, free: 13.58 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.109e-05/0.8631, allocations: 20 kB / 0.907 GB, free: 13.56 MB / 0.6856 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 10 (m_flow2.count,$PRE.m_flow2.count,m_flow2.T_start,$PRE.m_flow2.T_start,m_flow1.count,$PRE.m_flow1.count,m_flow1.T_start,$PRE.m_flow1.T_start,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (53): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 2 * 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.0002508/0.8634, allocations: 197.6 kB / 0.9072 GB, free: 13.36 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.123e-05/0.8635, allocations: 59.62 kB / 0.9073 GB, free: 13.3 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001222/0.8647, allocations: 0.5389 MB / 0.9078 GB, free: 12.75 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.911e-06/0.8647, allocations: 4 kB / 0.9078 GB, free: 12.75 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.8647, allocations: 0 / 0.9078 GB, free: 12.75 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.593e-06/0.8647, allocations: 3.984 kB / 0.9078 GB, free: 12.75 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002428/0.8672, allocations: 1.27 MB / 0.9091 GB, free: 11.38 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.972e-06/0.8672, allocations: 4 kB / 0.9091 GB, free: 11.38 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003978/0.8676, allocations: 71.89 kB / 0.9091 GB, free: 11.31 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.368e-06/0.8676, allocations: 11.94 kB / 0.9091 GB, free: 11.3 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.682e-05/0.8676, allocations: 15.92 kB / 0.9092 GB, free: 11.28 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.073e-05/0.8676, allocations: 11.94 kB / 0.9092 GB, free: 11.27 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.029e-06/0.8676, allocations: 4.953 kB / 0.9092 GB, free: 11.27 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001721/0.8693, allocations: 0.9369 MB / 0.9101 GB, free: 10.27 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002558/0.8696, allocations: 111.5 kB / 0.9102 GB, free: 10.16 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.9e-05/0.8697, allocations: 8 kB / 0.9102 GB, free: 10.15 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004367/0.8701, allocations: 35.95 kB / 0.9102 GB, free: 10.11 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001306/0.8703, allocations: 55.67 kB / 0.9103 GB, free: 10.06 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.614e-05/0.8703, allocations: 19.98 kB / 0.9103 GB, free: 10.04 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0004407/0.8707, allocations: 342.8 kB / 0.9106 GB, free: 9.707 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1e-07/0.8707, allocations: 0 / 0.9106 GB, free: 9.707 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.0006083/0.8713, allocations: 151.9 kB / 0.9108 GB, free: 9.559 MB / 0.6856 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 2 (temDyn.T,temDynLoss.T) * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,m_flow1.T_start,m_flow1.count,m_flow2.T_start,m_flow2.count) * Number of discrete states: 2 (m_flow2.count,m_flow1.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.00233/0.8737, allocations: 1.562 MB / 0.9123 GB, free: 7.93 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.001385/0.8751, allocations: 0.6302 MB / 0.9129 GB, free: 7.266 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 4.138e-06/0.8751, allocations: 4.25 kB / 0.9129 GB, free: 7.262 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0006615/0.8757, allocations: 267.6 kB / 0.9132 GB, free: 7 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001447/0.8772, allocations: 287.9 kB / 0.9135 GB, free: 6.742 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008323/0.8855, allocations: 5.237 MB / 0.9186 GB, free: 1.203 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003218/0.8858, allocations: 266.1 kB / 0.9188 GB, free: 0.918 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0005149/0.8863, allocations: 128.7 kB / 0.9189 GB, free: 0.793 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003097/0.8866, allocations: 175.4 kB / 0.9191 GB, free: 0.6211 MB / 0.6856 GB Notification: Performance of SimCode: time 1.193e-06/0.8866, allocations: 4 kB / 0.9191 GB, free: 0.6172 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05121/0.9379, allocations: 17.64 MB / 0.9363 GB, free: 15.41 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.24/12.17, allocations: 1.875 kB / 0.9363 GB, free: 15.41 MB / 0.7169 GB " [Timeout remaining time 648] (rm -f IBPSA_latest_IBPSA.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Sensors.Examples.TemperatureDryBulb.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Sensors.Examples.TemperatureDryBulb.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Fluid.Sensors.Examples.TemperatureDryBulb_res.csv --start-time 0 --stop-time 60 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.024 IBPSA_latest_IBPSA_Fluid_Sensors_Examples_TemperatureDryBulb.fmu > IBPSA_latest_IBPSA.Fluid.Sensors.Examples.TemperatureDryBulb.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.080089810770005] Failed to read output from testmodel.py, exit status != 0: 12.290270638186485 12.309543298 11.462576562 Calling exit ...