Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Sources.Examples.Outside_CpData_Angles.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.001268/0.001268, allocations: 109.1 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.001444/0.001444, allocations: 205 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.426/1.426, allocations: 230.6 MB / 253.5 MB, free: 15.11 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.9314/0.9314, allocations: 150 MB / 459.5 MB, free: 5.309 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_Angles,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sources_Examples_Outside_CpData_Angles",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Sources.Examples.Outside_CpData_Angles,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sources_Examples_Outside_CpData_Angles",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.001936/0.001936, allocations: 74.8 kB / 0.6361 GB, free: 30.38 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1732/0.1751, allocations: 89.13 MB / 0.7232 GB, free: 4.039 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sources.Examples.Outside_CpData_Angles): time 0.5979/0.773, allocations: 171.9 MB / 0.8911 GB, free: 2.949 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.0218/0.7948, allocations: 17.53 MB / 0.9082 GB, free: 2.531 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002443/0.7973, allocations: 45.03 kB / 0.9082 GB, free: 2.531 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.002175/0.7994, allocations: 0.6004 MB / 0.9088 GB, free: 2.516 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.00586/0.8053, allocations: 1.829 MB / 0.9106 GB, free: 2.441 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.003873/0.8092, allocations: 1.471 MB / 0.912 GB, free: 2.395 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.003805/0.813, allocations: 2.902 MB / 0.9149 GB, free: 2.387 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002544/0.8155, allocations: 1.612 MB / 0.9164 GB, free: 18.2 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004672/0.8202, allocations: 1.513 MB / 0.9179 GB, free: 18.18 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001663/0.8218, allocations: 1.152 MB / 0.919 GB, free: 17.97 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.000463/0.8223, allocations: 229.5 kB / 0.9193 GB, free: 17.96 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003541/0.8258, allocations: 1.641 MB / 0.9209 GB, free: 17.93 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.000706/0.8266, allocations: 0.8197 MB / 0.9217 GB, free: 17.83 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.00156/0.8281, allocations: 1.293 MB / 0.9229 GB, free: 17.44 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.006067/0.8342, allocations: 3.807 MB / 0.9266 GB, free: 16.85 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 6.202e-06/0.8342, allocations: 0 / 0.9266 GB, free: 16.85 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.713e-06/0.8342, allocations: 0 / 0.9266 GB, free: 16.85 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 9.3e-05/0.8343, allocations: 0 / 0.9266 GB, free: 16.85 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: 431 * Number of variables: 431 Notification: Performance of Generate backend data structure: time 0.00604/0.8403, allocations: 3.061 MB / 0.9296 GB, free: 15.33 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.521e-05/0.8404, allocations: 7.438 kB / 0.9296 GB, free: 15.33 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003469/0.8407, allocations: 252.3 kB / 0.9299 GB, free: 15.28 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004479/0.8452, allocations: 0.6302 MB / 0.9305 GB, free: 15.12 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00492/0.8501, allocations: 3.475 MB / 0.9339 GB, free: 14.56 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001141/0.8502, allocations: 129.9 kB / 0.934 GB, free: 14.51 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002331/0.8505, allocations: 172.2 kB / 0.9342 GB, free: 14.45 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003812/0.8543, allocations: 1.958 MB / 0.9361 GB, free: 13.68 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.759e-05/0.8543, allocations: 3.094 kB / 0.9361 GB, free: 13.68 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001763/0.8545, allocations: 74.34 kB / 0.9362 GB, free: 13.62 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.658e-05/0.8545, allocations: 40.94 kB / 0.9362 GB, free: 13.62 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003512/0.858, allocations: 2.115 MB / 0.9383 GB, free: 13.09 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01156/0.8696, allocations: 6.927 MB / 0.945 GB, free: 7.98 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003772/0.8733, allocations: 2.054 MB / 0.947 GB, free: 6.812 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001376/0.8747, allocations: 0.7103 MB / 0.9477 GB, free: 6.48 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006776/0.8754, allocations: 433.9 kB / 0.9481 GB, free: 6.062 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002017/0.8774, allocations: 1.013 MB / 0.9491 GB, free: 5.488 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=146): time 4.979e-06/0.8774, allocations: 0 / 0.9491 GB, free: 5.488 MB / 0.6856 GB Notification: Performance of matching and sorting (n=146): time 0.007556/0.885, allocations: 3.012 MB / 0.9521 GB, free: 3.789 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001354/0.8851, allocations: 204.3 kB / 0.9523 GB, free: 3.559 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005849/0.891, allocations: 4.121 MB / 0.9563 GB, free: 1.109 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.000417/0.8914, allocations: 57.7 kB / 0.9564 GB, free: 1.047 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.001083/0.8925, allocations: 0.9195 MB / 0.9573 GB, free: 120 kB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007825/0.8932, allocations: 0.4958 MB / 0.9577 GB, free: 15.62 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006089/0.8939, allocations: 234.8 kB / 0.958 GB, free: 15.39 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001782/0.894, allocations: 353.9 kB / 0.9583 GB, free: 15.04 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001352/0.8954, allocations: 0.5804 MB / 0.9589 GB, free: 14.46 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001597/0.897, allocations: 0.8175 MB / 0.9597 GB, free: 13.58 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002875/0.8999, allocations: 1.334 MB / 0.961 GB, free: 12.24 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.492e-06/0.8999, allocations: 4 kB / 0.961 GB, free: 12.23 MB / 0.7012 GB Notification: Performance of matching and sorting (n=155) (initialization): time 0.004881/0.9047, allocations: 1.802 MB / 0.9627 GB, free: 10.42 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 3.122e-05/0.9048, allocations: 8 kB / 0.9627 GB, free: 10.41 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.037e-05/0.9048, allocations: 0 / 0.9627 GB, free: 10.41 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001155/0.9059, allocations: 214.8 kB / 0.9629 GB, free: 10.19 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001634/0.9076, allocations: 324.5 kB / 0.9633 GB, free: 9.887 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007311/0.9149, allocations: 7.338 MB / 0.9704 GB, free: 1.883 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002324/0.9172, allocations: 175.1 kB / 0.9706 GB, free: 1.711 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002958/0.9175, allocations: 51.97 kB / 0.9706 GB, free: 1.66 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 (145): * Single equations (assignments): 140 * 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.001557/0.9191, allocations: 0.49 MB / 0.9711 GB, free: 1.176 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009208/0.92, allocations: 206.6 kB / 0.9713 GB, free: 0.9727 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005675/0.9257, allocations: 2.154 MB / 0.9734 GB, free: 14.8 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.606e-05/0.9257, allocations: 16 kB / 0.9734 GB, free: 14.79 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.382e-05/0.9257, allocations: 0 / 0.9734 GB, free: 14.79 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.96e-05/0.9257, allocations: 11.91 kB / 0.9734 GB, free: 14.77 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008885/0.9346, allocations: 4.161 MB / 0.9775 GB, free: 10.59 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.142e-06/0.9346, allocations: 4 kB / 0.9775 GB, free: 10.58 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0015/0.9361, allocations: 316.5 kB / 0.9778 GB, free: 10.29 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009066/0.937, allocations: 202.8 kB / 0.978 GB, free: 10.07 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001307/0.9371, allocations: 43.95 kB / 0.978 GB, free: 10.03 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006627/0.9438, allocations: 7.361 MB / 0.9852 GB, free: 2.008 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.9438, allocations: 0 / 0.9852 GB, free: 2.008 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00502/0.9488, allocations: 2.033 MB / 0.9872 GB, free: 15.95 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001348/0.9501, allocations: 0.5267 MB / 0.9877 GB, free: 15.4 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005356/0.9507, allocations: 28 kB / 0.9878 GB, free: 15.37 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001719/0.9524, allocations: 109.6 kB / 0.9879 GB, free: 15.27 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003057/0.9527, allocations: 123.7 kB / 0.988 GB, free: 15.15 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002111/0.9529, allocations: 71.89 kB / 0.988 GB, free: 15.08 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.004092/0.957, allocations: 3.165 MB / 0.9911 GB, free: 11.92 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1e-07/0.957, allocations: 4 kB / 0.9911 GB, free: 11.92 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.002368/0.9594, allocations: 0.6937 MB / 0.9918 GB, free: 11.22 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.007254/0.9666, allocations: 3.226 MB / 0.995 GB, free: 8.184 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.003801/0.9704, allocations: 2.015 MB / 0.9969 GB, free: 6.121 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 7.675e-06/0.9704, allocations: 4.547 kB / 0.9969 GB, free: 6.117 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.002222/0.9726, allocations: 1.375 MB / 0.9983 GB, free: 4.707 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002903/0.9755, allocations: 0.5632 MB / 0.9988 GB, free: 4.164 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03539/1.011, allocations: 21.25 MB / 1.02 GB, free: 14.75 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001583/1.013, allocations: 1.551 MB / 1.021 GB, free: 13.17 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.002116/1.015, allocations: 0.5252 MB / 1.022 GB, free: 12.64 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0015/1.016, allocations: 0.9132 MB / 1.023 GB, free: 11.73 MB / 0.7637 GB Notification: Performance of SimCode: time 1.042e-06/1.016, allocations: 0 / 1.023 GB, free: 11.73 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1154/1.132, allocations: 50.18 MB / 1.072 GB, free: 10.08 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.59/16.72, allocations: 4.062 kB / 1.072 GB, free: 10.08 MB / 0.8106 GB " [Timeout remaining time 643] (rm -f IBPSA_latest_IBPSA.Fluid.Sources.Examples.Outside_CpData_Angles.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Sources.Examples.Outside_CpData_Angles.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Sources.Examples.Outside_CpData_Angles.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Sources.Examples.Outside_CpData_Angles.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Fluid.Sources.Examples.Outside_CpData_Angles_res.csv --start-time 0 --stop-time 20 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.008 IBPSA_latest_IBPSA_Fluid_Sources_Examples_Outside_CpData_Angles.fmu > IBPSA_latest_IBPSA.Fluid.Sources.Examples.Outside_CpData_Angles.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 20.777545457007363] Failed to read output from testmodel.py, exit status != 0: 16.948455940000713 16.972751481 16.134088088 Calling exit ...