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.001309/0.001309, allocations: 118.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.001417/0.001417, allocations: 218.9 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.377/1.377, allocations: 230.6 MB / 256.8 MB, free: 7.996 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.9043/0.9043, allocations: 150 MB / 463.2 MB, free: 10.49 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_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.002017/0.002017, allocations: 66.58 kB / 0.6413 GB, free: 10.44 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1675/0.1696, allocations: 89.17 MB / 0.7283 GB, free: 1.332 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sources.Examples.Outside_CpData_Angles): time 0.5399/0.7095, allocations: 172.1 MB / 0.8964 GB, free: 11.3 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.02464/0.7341, allocations: 17.76 MB / 0.9138 GB, free: 9.488 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001941/0.7361, allocations: 43.62 kB / 0.9138 GB, free: 9.445 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.002141/0.7382, allocations: 0.5934 MB / 0.9144 GB, free: 8.848 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.005935/0.7441, allocations: 1.858 MB / 0.9162 GB, free: 6.984 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.004225/0.7484, allocations: 1.501 MB / 0.9177 GB, free: 5.5 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.004702/0.7531, allocations: 2.918 MB / 0.9205 GB, free: 2.57 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002647/0.7557, allocations: 1.606 MB / 0.9221 GB, free: 0.9062 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004621/0.7603, allocations: 1.528 MB / 0.9236 GB, free: 15.44 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001838/0.7622, allocations: 1.163 MB / 0.9247 GB, free: 14.27 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.0004124/0.7626, allocations: 224 kB / 0.9249 GB, free: 14.05 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003587/0.7662, allocations: 1.669 MB / 0.9265 GB, free: 12.38 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.0009029/0.7671, allocations: 0.8296 MB / 0.9274 GB, free: 11.55 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.001551/0.7686, allocations: 1.286 MB / 0.9286 GB, free: 10.26 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.005896/0.7745, allocations: 3.814 MB / 0.9323 GB, free: 6.43 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 6.672e-06/0.7745, allocations: 4 kB / 0.9323 GB, free: 6.426 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.974e-06/0.7745, allocations: 0 / 0.9323 GB, free: 6.426 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 6.61e-05/0.7746, allocations: 0 / 0.9323 GB, free: 6.426 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: 431 * Number of variables: 431 Notification: Performance of Generate backend data structure: time 0.005912/0.7805, allocations: 2.98 MB / 0.9353 GB, free: 3.398 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 5.159e-05/0.7806, allocations: 8.031 kB / 0.9353 GB, free: 3.391 MB / 0.7012 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003276/0.7809, allocations: 252.9 kB / 0.9355 GB, free: 3.133 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00434/0.7852, allocations: 0.6345 MB / 0.9361 GB, free: 2.496 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005217/0.7904, allocations: 3.379 MB / 0.9394 GB, free: 15.08 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001383/0.7906, allocations: 131.4 kB / 0.9395 GB, free: 14.95 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002463/0.7908, allocations: 171.8 kB / 0.9397 GB, free: 14.79 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003567/0.7944, allocations: 1.952 MB / 0.9416 GB, free: 12.78 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.181e-05/0.7944, allocations: 4 kB / 0.9416 GB, free: 12.78 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001743/0.7946, allocations: 76 kB / 0.9417 GB, free: 12.7 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.564e-05/0.7946, allocations: 40 kB / 0.9417 GB, free: 12.66 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003675/0.7983, allocations: 2.109 MB / 0.9438 GB, free: 10.55 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01156/0.8099, allocations: 6.877 MB / 0.9505 GB, free: 3.281 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00347/0.8133, allocations: 1.74 MB / 0.9522 GB, free: 1.535 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001338/0.8147, allocations: 0.71 MB / 0.9529 GB, free: 0.8203 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004669/0.8152, allocations: 129.2 kB / 0.953 GB, free: 0.6953 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00186/0.817, allocations: 1.009 MB / 0.954 GB, free: 15.66 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=146): time 3.246e-06/0.817, allocations: 0 / 0.954 GB, free: 15.66 MB / 0.7325 GB Notification: Performance of matching and sorting (n=146): time 0.007287/0.8243, allocations: 2.629 MB / 0.9566 GB, free: 13.01 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001426/0.8244, allocations: 209.1 kB / 0.9568 GB, free: 12.77 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005524/0.83, allocations: 4.13 MB / 0.9608 GB, free: 8.633 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0004574/0.8304, allocations: 57.7 kB / 0.9609 GB, free: 8.57 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.001094/0.8315, allocations: 0.9156 MB / 0.9618 GB, free: 7.648 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007955/0.8323, allocations: 0.4957 MB / 0.9622 GB, free: 7.148 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004747/0.8328, allocations: 242.8 kB / 0.9625 GB, free: 6.902 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001966/0.833, allocations: 345.9 kB / 0.9628 GB, free: 6.559 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001295/0.8343, allocations: 0.5882 MB / 0.9634 GB, free: 5.973 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001401/0.8357, allocations: 0.8047 MB / 0.9642 GB, free: 5.102 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002594/0.8383, allocations: 1.333 MB / 0.9655 GB, free: 3.762 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.969e-06/0.8383, allocations: 0 / 0.9655 GB, free: 3.762 MB / 0.7325 GB Notification: Performance of matching and sorting (n=155) (initialization): time 0.004419/0.8427, allocations: 1.819 MB / 0.9672 GB, free: 1.918 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 3.063e-05/0.8427, allocations: 8 kB / 0.9672 GB, free: 1.91 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.158e-05/0.8427, allocations: 0 / 0.9672 GB, free: 1.91 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001101/0.8438, allocations: 208.1 kB / 0.9674 GB, free: 1.691 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00164/0.8455, allocations: 327.6 kB / 0.9678 GB, free: 1.371 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006305/0.8518, allocations: 6.827 MB / 0.9744 GB, free: 9.973 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001802/0.8536, allocations: 163.1 kB / 0.9746 GB, free: 9.812 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001705/0.8538, allocations: 56.03 kB / 0.9746 GB, free: 9.758 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 (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.001056/0.8548, allocations: 485.5 kB / 0.9751 GB, free: 9.273 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005358/0.8554, allocations: 210.6 kB / 0.9753 GB, free: 9.066 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00461/0.86, allocations: 2.158 MB / 0.9774 GB, free: 6.879 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.575e-05/0.86, allocations: 20 kB / 0.9774 GB, free: 6.859 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.502e-06/0.86, allocations: 0 / 0.9774 GB, free: 6.859 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.564e-05/0.86, allocations: 7.969 kB / 0.9774 GB, free: 6.852 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007372/0.8674, allocations: 4.121 MB / 0.9815 GB, free: 2.664 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.558e-06/0.8674, allocations: 3.984 kB / 0.9815 GB, free: 2.66 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00146/0.8688, allocations: 323.5 kB / 0.9818 GB, free: 2.344 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008889/0.8697, allocations: 192.1 kB / 0.982 GB, free: 2.141 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001129/0.8698, allocations: 47.95 kB / 0.982 GB, free: 2.094 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006076/0.8759, allocations: 6.862 MB / 0.9887 GB, free: 10.64 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.506e-06/0.8759, allocations: 4.031 kB / 0.9887 GB, free: 10.64 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004549/0.8805, allocations: 2.03 MB / 0.9907 GB, free: 8.578 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001249/0.8817, allocations: 462 kB / 0.9911 GB, free: 8.125 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002912/0.882, allocations: 31.94 kB / 0.9912 GB, free: 8.094 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001309/0.8833, allocations: 115.7 kB / 0.9913 GB, free: 7.984 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002634/0.8836, allocations: 117.1 kB / 0.9914 GB, free: 7.867 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001551/0.8837, allocations: 79.83 kB / 0.9915 GB, free: 7.789 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.003628/0.8874, allocations: 3.165 MB / 0.9945 GB, free: 4.633 MB / 0.7637 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8874, allocations: 0 / 0.9945 GB, free: 4.633 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.00211/0.8895, allocations: 0.6938 MB / 0.9952 GB, free: 3.938 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.006776/0.8963, allocations: 3.23 MB / 0.9984 GB, free: 0.875 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.003922/0.9002, allocations: 2.02 MB / 1 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 9.829e-06/0.9002, allocations: 4.641 kB / 1 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.002237/0.9024, allocations: 1.372 MB / 1.002 GB, free: 13.35 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002777/0.9052, allocations: 0.5557 MB / 1.002 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03427/0.9395, allocations: 21.25 MB / 1.023 GB, free: 7.332 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001393/0.9409, allocations: 1.548 MB / 1.024 GB, free: 5.75 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.002002/0.9429, allocations: 0.5406 MB / 1.025 GB, free: 5.203 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001445/0.9443, allocations: 0.9093 MB / 1.026 GB, free: 4.293 MB / 0.795 GB Notification: Performance of SimCode: time 1.152e-06/0.9443, allocations: 0 / 1.026 GB, free: 4.293 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1468/1.091, allocations: 51.14 MB / 1.076 GB, free: 1.543 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.37/17.46, allocations: 15.7 kB / 1.076 GB, free: 1.531 MB / 0.8419 GB " [Timeout remaining time 642] (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: 21.635345079001127] Failed to read output from testmodel.py, exit status != 0: 18.001222473998496 18.014458758 17.236636164 Calling exit ...