Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Sources.Examples.Outside_CpData_Specification.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.001401/0.001401, allocations: 109.7 kB / 17.12 MB, free: 5.926 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.001534/0.001534, allocations: 204 kB / 20.09 MB, free: 2.977 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.464/1.464, allocations: 230.6 MB / 253.5 MB, free: 15.1 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.9572/0.9572, allocations: 150 MB / 459.5 MB, free: 5.34 MB / 350.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_Specification,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sources_Examples_Outside_CpData_Specification",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Sources.Examples.Outside_CpData_Specification,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sources_Examples_Outside_CpData_Specification",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.001962/0.001962, allocations: 63.25 kB / 0.6361 GB, free: 30.5 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1553/0.1573, allocations: 89.14 MB / 0.7232 GB, free: 4.074 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sources.Examples.Outside_CpData_Specification): time 0.563/0.7202, allocations: 157.9 MB / 0.8773 GB, free: 3.004 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.01336/0.7336, allocations: 10.69 MB / 0.8878 GB, free: 2.809 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001518/0.7351, allocations: 29.38 kB / 0.8878 GB, free: 2.809 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.00108/0.7362, allocations: 294.1 kB / 0.8881 GB, free: 2.805 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.004045/0.7402, allocations: 0.9875 MB / 0.889 GB, free: 2.781 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.0033/0.7435, allocations: 1.104 MB / 0.8901 GB, free: 2.75 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.003158/0.7467, allocations: 1.745 MB / 0.8918 GB, free: 2.738 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001731/0.7484, allocations: 0.9621 MB / 0.8928 GB, free: 2.645 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002486/0.7509, allocations: 0.7626 MB / 0.8935 GB, free: 2.641 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009688/0.7519, allocations: 0.6393 MB / 0.8941 GB, free: 2.637 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0002217/0.7521, allocations: 136.4 kB / 0.8943 GB, free: 2.637 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002373/0.7545, allocations: 1.083 MB / 0.8953 GB, free: 2.617 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0003616/0.7548, allocations: 391.9 kB / 0.8957 GB, free: 2.617 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0008032/0.7557, allocations: 0.6805 MB / 0.8963 GB, free: 2.613 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.003659/0.7593, allocations: 2.296 MB / 0.8986 GB, free: 2.281 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 5.259e-06/0.7593, allocations: 0 / 0.8986 GB, free: 2.281 MB / 0.67 GB Notification: Performance of FrontEnd: time 2.184e-06/0.7593, allocations: 2 kB / 0.8986 GB, free: 2.281 MB / 0.67 GB Notification: Performance of Transformations before backend: time 2.918e-05/0.7593, allocations: 0 / 0.8986 GB, free: 2.281 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: 245 * Number of variables: 245 Notification: Performance of Generate backend data structure: time 0.003547/0.7629, allocations: 1.809 MB / 0.9004 GB, free: 17.3 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.554e-05/0.7629, allocations: 9.625 kB / 0.9004 GB, free: 17.3 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001941/0.7631, allocations: 152.2 kB / 0.9005 GB, free: 17.26 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002201/0.7653, allocations: 326.4 kB / 0.9008 GB, free: 17.17 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001624/0.767, allocations: 1.097 MB / 0.9019 GB, free: 16.82 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.914e-05/0.767, allocations: 73.09 kB / 0.902 GB, free: 16.82 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00012/0.7671, allocations: 98.78 kB / 0.9021 GB, free: 16.82 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001736/0.7689, allocations: 1.106 MB / 0.9031 GB, free: 16.66 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.006e-05/0.7689, allocations: 0 / 0.9031 GB, free: 16.66 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.232e-05/0.769, allocations: 42.03 kB / 0.9032 GB, free: 16.66 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.738e-05/0.769, allocations: 27.75 kB / 0.9032 GB, free: 16.66 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001988/0.771, allocations: 1.317 MB / 0.9045 GB, free: 16.65 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005191/0.7762, allocations: 3.532 MB / 0.9079 GB, free: 15.31 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001805/0.778, allocations: 1.044 MB / 0.909 GB, free: 15.18 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006714/0.7787, allocations: 398.2 kB / 0.9093 GB, free: 15.16 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002411/0.7789, allocations: 131.3 kB / 0.9095 GB, free: 15.06 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009874/0.7799, allocations: 0.6223 MB / 0.9101 GB, free: 14.98 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=95): time 2.645e-06/0.7799, allocations: 0 / 0.9101 GB, free: 14.98 MB / 0.6856 GB Notification: Performance of matching and sorting (n=95): time 0.004038/0.7839, allocations: 1.645 MB / 0.9117 GB, free: 14.64 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001346/0.7841, allocations: 191 kB / 0.9119 GB, free: 14.42 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001192/0.7853, allocations: 1.046 MB / 0.9129 GB, free: 14.29 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.000116/0.7854, allocations: 50.88 kB / 0.9129 GB, free: 14.26 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003269/0.7857, allocations: 489.5 kB / 0.9134 GB, free: 14.06 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002267/0.7859, allocations: 319.1 kB / 0.9137 GB, free: 13.86 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002346/0.7862, allocations: 169.9 kB / 0.9139 GB, free: 13.83 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001548/0.7863, allocations: 343.4 kB / 0.9142 GB, free: 13.52 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006287/0.7869, allocations: 332.6 kB / 0.9145 GB, free: 13.52 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000735/0.7877, allocations: 475.9 kB / 0.915 GB, free: 13.41 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00139/0.7891, allocations: 0.7629 MB / 0.9157 GB, free: 13.36 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.048e-06/0.7891, allocations: 0 / 0.9157 GB, free: 13.36 MB / 0.6856 GB Notification: Performance of matching and sorting (n=104) (initialization): time 0.002464/0.7915, allocations: 1.044 MB / 0.9167 GB, free: 13.23 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.148e-05/0.7916, allocations: 7.438 kB / 0.9167 GB, free: 13.23 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.886e-06/0.7916, allocations: 1.125 kB / 0.9167 GB, free: 13.23 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007171/0.7923, allocations: 122.4 kB / 0.9169 GB, free: 13.2 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008191/0.7931, allocations: 198 kB / 0.917 GB, free: 13.2 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003343/0.7964, allocations: 3.071 MB / 0.92 GB, free: 10.46 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001037/0.7975, allocations: 115.1 kB / 0.9202 GB, free: 10.41 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.34e-05/0.7976, allocations: 32.75 kB / 0.9202 GB, free: 10.41 MB / 0.6856 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 (100): * Single equations (assignments): 98 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0005827/0.7981, allocations: 311.7 kB / 0.9205 GB, free: 10.29 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000258/0.7984, allocations: 106.9 kB / 0.9206 GB, free: 10.23 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00278/0.8012, allocations: 1.325 MB / 0.9219 GB, free: 10.09 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.975e-06/0.8012, allocations: 8.906 kB / 0.9219 GB, free: 10.09 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.009e-06/0.8012, allocations: 2.594 kB / 0.9219 GB, free: 10.09 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.138e-05/0.8012, allocations: 5.672 kB / 0.9219 GB, free: 10.09 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0042/0.8054, allocations: 2.462 MB / 0.9243 GB, free: 9.703 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.538e-06/0.8054, allocations: 0 / 0.9243 GB, free: 9.703 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007914/0.8062, allocations: 193.1 kB / 0.9245 GB, free: 9.699 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005483/0.8067, allocations: 107.8 kB / 0.9246 GB, free: 9.68 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.705e-05/0.8068, allocations: 28.44 kB / 0.9246 GB, free: 9.68 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003207/0.81, allocations: 3.095 MB / 0.9276 GB, free: 6.934 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.81, allocations: 3.938 kB / 0.9276 GB, free: 6.93 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002765/0.8128, allocations: 1.237 MB / 0.9288 GB, free: 6.598 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000612/0.8134, allocations: 336.1 kB / 0.9292 GB, free: 6.363 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001689/0.8136, allocations: 24.56 kB / 0.9292 GB, free: 6.348 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000845/0.8144, allocations: 78.33 kB / 0.9293 GB, free: 6.332 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001908/0.8146, allocations: 84.05 kB / 0.9293 GB, free: 6.312 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.354e-05/0.8147, allocations: 43.92 kB / 0.9294 GB, free: 6.305 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0009358/0.8156, allocations: 0.7688 MB / 0.9301 GB, free: 6.012 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8156, allocations: 3.938 kB / 0.9301 GB, free: 6.008 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.001336/0.817, allocations: 461.1 kB / 0.9306 GB, free: 5.891 MB / 0.6856 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 (104): * Single equations (assignments): 97 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(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.005115/0.8221, allocations: 2.38 MB / 0.9329 GB, free: 4.691 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.002358/0.8245, allocations: 1.083 MB / 0.934 GB, free: 4.199 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 5.019e-06/0.8245, allocations: 0 / 0.934 GB, free: 4.199 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.001323/0.8258, allocations: 0.7062 MB / 0.9347 GB, free: 3.848 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001844/0.8276, allocations: 366.4 kB / 0.935 GB, free: 3.723 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01501/0.8426, allocations: 8.446 MB / 0.9432 GB, free: 15.41 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009222/0.8436, allocations: 1.115 MB / 0.9443 GB, free: 14.52 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.001172/0.8447, allocations: 316.1 kB / 0.9446 GB, free: 14.37 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008004/0.8455, allocations: 471.6 kB / 0.9451 GB, free: 13.99 MB / 0.7012 GB Notification: Performance of SimCode: time 1.072e-06/0.8455, allocations: 3.094 kB / 0.9451 GB, free: 13.99 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1092/0.9547, allocations: 28.65 MB / 0.9731 GB, free: 3.602 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.98/14.94, allocations: 18.41 kB / 0.9731 GB, free: 3.586 MB / 0.7169 GB " [Timeout remaining time 645] (rm -f IBPSA_latest_IBPSA.Fluid.Sources.Examples.Outside_CpData_Specification.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Sources.Examples.Outside_CpData_Specification.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Sources.Examples.Outside_CpData_Specification.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Sources.Examples.Outside_CpData_Specification.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Fluid.Sources.Examples.Outside_CpData_Specification_res.csv --start-time 0 --stop-time 86400 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 34.56 IBPSA_latest_IBPSA_Fluid_Sources_Examples_Outside_CpData_Specification.fmu > IBPSA_latest_IBPSA.Fluid.Sources.Examples.Outside_CpData_Specification.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 18.93493324192241] Failed to read output from testmodel.py, exit status != 0: 15.146274456987157 15.16941166 14.405625399 Calling exit ...