Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Sources.Examples.Outside_CpData.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.001334/0.001334, allocations: 119.2 kB / 19.7 MB, free: 2.188 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.001481/0.001481, allocations: 219.6 kB / 23 MB, free: 5.004 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.398/1.398, allocations: 230.6 MB / 256.8 MB, free: 8 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.9258/0.9258, allocations: 150 MB / 463.2 MB, free: 11 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.Sources.Examples.Outside_CpData,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sources_Examples_Outside_CpData",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Sources.Examples.Outside_CpData,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sources_Examples_Outside_CpData",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.001931/0.001931, allocations: 64.09 kB / 0.6413 GB, free: 10.58 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1722/0.1742, allocations: 89.18 MB / 0.7284 GB, free: 1.461 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sources.Examples.Outside_CpData): time 0.5254/0.6996, allocations: 172 MB / 0.8964 GB, free: 11.43 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.02407/0.7237, allocations: 17.74 MB / 0.9137 GB, free: 9.637 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002518/0.7262, allocations: 43.62 kB / 0.9137 GB, free: 9.594 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.002439/0.7286, allocations: 0.5895 MB / 0.9143 GB, free: 9 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.005765/0.7344, allocations: 1.844 MB / 0.9161 GB, free: 7.152 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.004404/0.7388, allocations: 1.507 MB / 0.9176 GB, free: 5.664 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.004578/0.7434, allocations: 2.894 MB / 0.9204 GB, free: 2.758 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002804/0.7462, allocations: 1.602 MB / 0.922 GB, free: 1.098 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005005/0.7512, allocations: 1.525 MB / 0.9235 GB, free: 15.63 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0021/0.7533, allocations: 1.144 MB / 0.9246 GB, free: 14.48 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.0006634/0.7539, allocations: 224 kB / 0.9248 GB, free: 14.27 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003792/0.7577, allocations: 1.677 MB / 0.9264 GB, free: 12.59 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.001052/0.7588, allocations: 0.8139 MB / 0.9272 GB, free: 11.77 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.001901/0.7607, allocations: 1.279 MB / 0.9285 GB, free: 10.48 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.006385/0.7671, allocations: 3.79 MB / 0.9322 GB, free: 6.68 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 8.867e-06/0.7671, allocations: 4 kB / 0.9322 GB, free: 6.676 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.443e-06/0.7671, allocations: 3.938 kB / 0.9322 GB, free: 6.672 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 9.758e-05/0.7672, allocations: 0 / 0.9322 GB, free: 6.672 MB / 0.7012 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 430 * Number of variables: 430 Notification: Performance of Generate backend data structure: time 0.006379/0.7735, allocations: 2.938 MB / 0.935 GB, free: 3.68 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.681e-05/0.7736, allocations: 12.03 kB / 0.9351 GB, free: 3.668 MB / 0.7012 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004338/0.774, allocations: 244.9 kB / 0.9353 GB, free: 3.418 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004659/0.7787, allocations: 0.6383 MB / 0.9359 GB, free: 2.777 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005418/0.7841, allocations: 3.363 MB / 0.9392 GB, free: 15.38 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000136/0.7842, allocations: 127.4 kB / 0.9393 GB, free: 15.26 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003666/0.7846, allocations: 175.9 kB / 0.9395 GB, free: 15.09 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004049/0.7887, allocations: 1.933 MB / 0.9414 GB, free: 13.1 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.365e-05/0.7887, allocations: 4 kB / 0.9414 GB, free: 13.1 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002083/0.7889, allocations: 76 kB / 0.9415 GB, free: 13.02 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.937e-05/0.7889, allocations: 40 kB / 0.9415 GB, free: 12.98 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004128/0.7931, allocations: 2.089 MB / 0.9435 GB, free: 10.89 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01268/0.8057, allocations: 6.702 MB / 0.9501 GB, free: 3.789 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003491/0.8092, allocations: 1.712 MB / 0.9517 GB, free: 2.07 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001271/0.8105, allocations: 0.7021 MB / 0.9524 GB, free: 1.367 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004837/0.811, allocations: 125.2 kB / 0.9526 GB, free: 1.246 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001781/0.8128, allocations: 1.007 MB / 0.9535 GB, free: 232 kB / 0.7169 GB Notification: Performance of pre-optimization done (n=146): time 3.307e-06/0.8128, allocations: 4 kB / 0.9535 GB, free: 228 kB / 0.7169 GB Notification: Performance of matching and sorting (n=146): time 0.006828/0.8196, allocations: 2.594 MB / 0.9561 GB, free: 13.6 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001321/0.8197, allocations: 201.2 kB / 0.9563 GB, free: 13.36 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004977/0.8247, allocations: 4.081 MB / 0.9602 GB, free: 9.277 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0002631/0.825, allocations: 61.7 kB / 0.9603 GB, free: 9.211 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008692/0.8258, allocations: 0.9075 MB / 0.9612 GB, free: 8.293 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005348/0.8264, allocations: 0.4919 MB / 0.9617 GB, free: 7.797 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003956/0.8268, allocations: 242.8 kB / 0.9619 GB, free: 7.555 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001659/0.8269, allocations: 353.9 kB / 0.9622 GB, free: 7.203 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001105/0.828, allocations: 0.5648 MB / 0.9628 GB, free: 6.637 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001348/0.8294, allocations: 0.8008 MB / 0.9636 GB, free: 5.77 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002387/0.8318, allocations: 1.302 MB / 0.9648 GB, free: 4.461 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.1e-06/0.8318, allocations: 0 / 0.9648 GB, free: 4.461 MB / 0.7325 GB Notification: Performance of matching and sorting (n=154) (initialization): time 0.004204/0.836, allocations: 1.784 MB / 0.9666 GB, free: 2.652 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.814e-05/0.836, allocations: 11.98 kB / 0.9666 GB, free: 2.641 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.107e-06/0.836, allocations: 0 / 0.9666 GB, free: 2.641 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001085/0.8371, allocations: 212.2 kB / 0.9668 GB, free: 2.418 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001557/0.8387, allocations: 323.5 kB / 0.9671 GB, free: 2.102 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00645/0.8451, allocations: 6.804 MB / 0.9738 GB, free: 10.73 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001764/0.8469, allocations: 175.1 kB / 0.9739 GB, free: 10.56 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001375/0.847, allocations: 48.03 kB / 0.974 GB, free: 10.51 MB / 0.7481 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 15 (weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (144): * Single equations (assignments): 139 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.001058/0.8481, allocations: 489.4 kB / 0.9744 GB, free: 10.02 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004372/0.8485, allocations: 202.7 kB / 0.9746 GB, free: 9.824 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004539/0.8531, allocations: 2.134 MB / 0.9767 GB, free: 7.66 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.594e-05/0.8531, allocations: 16 kB / 0.9767 GB, free: 7.645 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.321e-06/0.8531, allocations: 0 / 0.9767 GB, free: 7.645 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.643e-05/0.8531, allocations: 11.97 kB / 0.9767 GB, free: 7.633 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00739/0.8605, allocations: 4.087 MB / 0.9807 GB, free: 3.473 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.102e-06/0.8605, allocations: 0 / 0.9807 GB, free: 3.473 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001463/0.8619, allocations: 307.6 kB / 0.981 GB, free: 3.172 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009081/0.8629, allocations: 220 kB / 0.9812 GB, free: 2.941 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001283/0.863, allocations: 39.97 kB / 0.9813 GB, free: 2.902 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006216/0.8692, allocations: 6.843 MB / 0.988 GB, free: 11.47 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/0.8692, allocations: 0 / 0.988 GB, free: 11.47 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004478/0.8737, allocations: 2.01 MB / 0.9899 GB, free: 9.43 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001355/0.875, allocations: 462 kB / 0.9904 GB, free: 8.977 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002987/0.8753, allocations: 28 kB / 0.9904 GB, free: 8.949 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001282/0.8766, allocations: 106.7 kB / 0.9905 GB, free: 8.848 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002723/0.8769, allocations: 125 kB / 0.9906 GB, free: 8.727 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001563/0.877, allocations: 67.94 kB / 0.9907 GB, free: 8.66 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.003631/0.8807, allocations: 3.144 MB / 0.9937 GB, free: 5.523 MB / 0.7637 GB Notification: Performance of sort global known variables: time 9e-08/0.8807, allocations: 0 / 0.9937 GB, free: 5.523 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.00213/0.8828, allocations: 0.6937 MB / 0.9944 GB, free: 4.828 MB / 0.7637 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (weaDat.locTim.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (149): * Single equations (assignments): 139 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.006677/0.8895, allocations: 3.204 MB / 0.9975 GB, free: 1.793 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.003612/0.8931, allocations: 2 MB / 0.9995 GB, free: 15.73 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 8.586e-06/0.8931, allocations: 4.656 kB / 0.9995 GB, free: 15.72 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.002199/0.8953, allocations: 1.364 MB / 1.001 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002566/0.8979, allocations: 0.5502 MB / 1.001 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.032/0.9299, allocations: 20.9 MB / 1.022 GB, free: 8.625 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001291/0.9312, allocations: 1.537 MB / 1.023 GB, free: 7.059 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.001744/0.9329, allocations: 0.529 MB / 1.024 GB, free: 6.523 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00131/0.9342, allocations: 0.9054 MB / 1.025 GB, free: 5.617 MB / 0.795 GB Notification: Performance of SimCode: time 8.02e-07/0.9342, allocations: 0 / 1.025 GB, free: 5.617 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.113/1.047, allocations: 50.5 MB / 1.074 GB, free: 3.527 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.44/17.48, allocations: 0 / 1.074 GB, free: 3.527 MB / 0.8419 GB " [Timeout remaining time 642] (rm -f IBPSA_latest_IBPSA.Fluid.Sources.Examples.Outside_CpData.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Sources.Examples.Outside_CpData.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Sources.Examples.Outside_CpData.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Sources.Examples.Outside_CpData.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Fluid.Sources.Examples.Outside_CpData_res.csv --start-time 1.728e+07 --stop-time 1.78848e+07 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 241.92 IBPSA_latest_IBPSA_Fluid_Sources_Examples_Outside_CpData.fmu > IBPSA_latest_IBPSA.Fluid.Sources.Examples.Outside_CpData.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 21.677756776000024] Failed to read output from testmodel.py, exit status != 0: 17.721979940000892 18.024544871 17.254184792 Calling exit ...