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.001255/0.001255, allocations: 112.9 kB / 17.12 MB, free: 6.008 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.001456/0.001456, allocations: 212.3 kB / 20.1 MB, free: 3.055 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.444/1.444, 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.9295/0.9295, allocations: 150 MB / 459.5 MB, free: 5.258 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,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.001901/0.001901, allocations: 68.7 kB / 0.6361 GB, free: 30.41 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1882/0.1901, allocations: 89.14 MB / 0.7232 GB, free: 4.035 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sources.Examples.Outside_CpData): time 0.6059/0.796, allocations: 171.9 MB / 0.891 GB, free: 2.41 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.02052/0.8165, allocations: 17.52 MB / 0.9081 GB, free: 1.949 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002017/0.8185, allocations: 44 kB / 0.9082 GB, free: 1.949 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.001728/0.8203, allocations: 0.5891 MB / 0.9087 GB, free: 1.941 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.005396/0.8257, allocations: 1.829 MB / 0.9105 GB, free: 1.863 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.003852/0.8295, allocations: 1.466 MB / 0.912 GB, free: 1.816 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.003864/0.8334, allocations: 2.886 MB / 0.9148 GB, free: 1.801 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00245/0.8358, allocations: 1.609 MB / 0.9163 GB, free: 17.62 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004323/0.8401, allocations: 1.503 MB / 0.9178 GB, free: 17.6 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00191/0.8421, allocations: 1.146 MB / 0.9189 GB, free: 17.48 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0003795/0.8424, allocations: 224.8 kB / 0.9191 GB, free: 17.48 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003456/0.8459, allocations: 1.638 MB / 0.9207 GB, free: 17.45 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.000642/0.8465, allocations: 0.8141 MB / 0.9215 GB, free: 17.34 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.001373/0.8479, allocations: 1.273 MB / 0.9228 GB, free: 16.96 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.005494/0.8534, allocations: 3.789 MB / 0.9265 GB, free: 16.38 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 5.149e-06/0.8534, allocations: 0 / 0.9265 GB, free: 16.38 MB / 0.6856 GB Notification: Performance of FrontEnd: time 2.124e-06/0.8534, allocations: 0 / 0.9265 GB, free: 16.38 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 7.515e-05/0.8535, allocations: 0 / 0.9265 GB, free: 16.38 MB / 0.6856 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.005871/0.8594, allocations: 3.02 MB / 0.9294 GB, free: 14.86 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.493e-05/0.8594, allocations: 10.55 kB / 0.9294 GB, free: 14.86 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003012/0.8597, allocations: 248.3 kB / 0.9297 GB, free: 14.82 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004363/0.8641, allocations: 0.6332 MB / 0.9303 GB, free: 14.66 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004662/0.8687, allocations: 3.457 MB / 0.9337 GB, free: 13.83 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001085/0.8688, allocations: 128.3 kB / 0.9338 GB, free: 13.77 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002643/0.8691, allocations: 176.3 kB / 0.934 GB, free: 13.71 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00361/0.8727, allocations: 1.937 MB / 0.9359 GB, free: 12.95 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.892e-05/0.8727, allocations: 4 kB / 0.9359 GB, free: 12.95 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001839/0.8729, allocations: 76.44 kB / 0.9359 GB, free: 12.89 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.647e-05/0.8729, allocations: 40.78 kB / 0.936 GB, free: 12.89 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003526/0.8765, allocations: 2.091 MB / 0.938 GB, free: 12.04 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01187/0.8883, allocations: 6.769 MB / 0.9446 GB, free: 6.957 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003757/0.8921, allocations: 2.009 MB / 0.9466 GB, free: 5.82 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001305/0.8934, allocations: 0.6996 MB / 0.9473 GB, free: 5.492 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006367/0.894, allocations: 429.7 kB / 0.9477 GB, free: 5.082 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00195/0.896, allocations: 1.013 MB / 0.9487 GB, free: 4.5 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=146): time 3.667e-06/0.896, allocations: 2.531 kB / 0.9487 GB, free: 4.5 MB / 0.6856 GB Notification: Performance of matching and sorting (n=146): time 0.007324/0.9033, allocations: 2.968 MB / 0.9516 GB, free: 2.824 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001308/0.9035, allocations: 200.4 kB / 0.9518 GB, free: 2.602 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005701/0.9092, allocations: 4.084 MB / 0.9557 GB, free: 0.6016 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0003611/0.9095, allocations: 57.7 kB / 0.9558 GB, free: 0.5391 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.001073/0.9106, allocations: 0.9122 MB / 0.9567 GB, free: 15.64 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007054/0.9113, allocations: 0.4902 MB / 0.9572 GB, free: 15.16 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006056/0.9119, allocations: 246.8 kB / 0.9574 GB, free: 14.91 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001855/0.9121, allocations: 349.9 kB / 0.9577 GB, free: 14.56 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001274/0.9134, allocations: 0.5686 MB / 0.9583 GB, free: 14 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001542/0.9149, allocations: 0.7955 MB / 0.9591 GB, free: 13.14 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002608/0.9175, allocations: 1.308 MB / 0.9604 GB, free: 11.82 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.691e-06/0.9175, allocations: 4 kB / 0.9604 GB, free: 11.82 MB / 0.7012 GB Notification: Performance of matching and sorting (n=154) (initialization): time 0.00455/0.9221, allocations: 1.781 MB / 0.9621 GB, free: 10.02 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.354e-05/0.9221, allocations: 4 kB / 0.9621 GB, free: 10.02 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.778e-06/0.9221, allocations: 0 / 0.9621 GB, free: 10.02 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001156/0.9233, allocations: 218.8 kB / 0.9623 GB, free: 9.793 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001526/0.9248, allocations: 320.4 kB / 0.9626 GB, free: 9.492 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007031/0.9318, allocations: 7.324 MB / 0.9698 GB, free: 1.5 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001856/0.9337, allocations: 161.2 kB / 0.9699 GB, free: 1.344 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002345/0.9339, allocations: 60.02 kB / 0.97 GB, free: 1.285 MB / 0.7012 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.001331/0.9352, allocations: 488.8 kB / 0.9704 GB, free: 0.8125 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008287/0.9361, allocations: 198.7 kB / 0.9706 GB, free: 0.6172 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005287/0.9413, allocations: 2.137 MB / 0.9727 GB, free: 14.46 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.418e-05/0.9414, allocations: 19.98 kB / 0.9727 GB, free: 14.45 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.467e-05/0.9414, allocations: 8 kB / 0.9727 GB, free: 14.44 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.112e-05/0.9414, allocations: 7.969 kB / 0.9728 GB, free: 14.43 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009038/0.9504, allocations: 4.121 MB / 0.9768 GB, free: 10.28 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.883e-06/0.9504, allocations: 0 / 0.9768 GB, free: 10.28 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001494/0.9519, allocations: 324.5 kB / 0.9771 GB, free: 9.977 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009578/0.9529, allocations: 198.7 kB / 0.9773 GB, free: 9.77 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001325/0.953, allocations: 39.97 kB / 0.9773 GB, free: 9.73 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006882/0.9599, allocations: 7.366 MB / 0.9845 GB, free: 1.691 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.9599, allocations: 0 / 0.9845 GB, free: 1.691 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005394/0.9653, allocations: 2.005 MB / 0.9865 GB, free: 15.66 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001398/0.9667, allocations: 0.5187 MB / 0.987 GB, free: 15.12 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000604/0.9673, allocations: 28 kB / 0.987 GB, free: 15.09 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001753/0.9691, allocations: 112.5 kB / 0.9871 GB, free: 14.99 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002988/0.9694, allocations: 113.2 kB / 0.9872 GB, free: 14.88 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002181/0.9696, allocations: 71.95 kB / 0.9873 GB, free: 14.8 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.004323/0.9739, allocations: 3.14 MB / 0.9904 GB, free: 11.67 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9739, allocations: 0 / 0.9904 GB, free: 11.67 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.002758/0.9767, allocations: 0.6975 MB / 0.991 GB, free: 10.97 MB / 0.7325 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.007954/0.9846, allocations: 3.196 MB / 0.9942 GB, free: 7.965 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.00414/0.9888, allocations: 2.004 MB / 0.9961 GB, free: 5.914 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 9.137e-06/0.9888, allocations: 0.5625 kB / 0.9961 GB, free: 5.914 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.002401/0.9912, allocations: 1.36 MB / 0.9974 GB, free: 4.516 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003484/0.9947, allocations: 0.5489 MB / 0.998 GB, free: 3.988 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03727/1.032, allocations: 20.9 MB / 1.018 GB, free: 14.92 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001749/1.034, allocations: 1.537 MB / 1.02 GB, free: 13.35 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.002234/1.036, allocations: 0.5213 MB / 1.02 GB, free: 12.82 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0017/1.038, allocations: 0.9093 MB / 1.021 GB, free: 11.91 MB / 0.7637 GB Notification: Performance of SimCode: time 1.282e-06/1.038, allocations: 7.938 kB / 1.021 GB, free: 11.9 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1339/1.172, allocations: 49.52 MB / 1.07 GB, free: 10.89 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.73/16.9, allocations: 6.359 kB / 1.07 GB, free: 10.88 MB / 0.8106 GB " [Timeout remaining time 643] (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: 20.90571632096544] Failed to read output from testmodel.py, exit status != 0: 17.116822946816683 17.131790872 16.275283029 Calling exit ...