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.001518/0.001518, allocations: 108.3 kB / 19.7 MB, free: 1.918 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.001955/0.001955, allocations: 212.4 kB / 22.99 MB, free: 4.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.365/1.365, allocations: 230.6 MB / 256.8 MB, free: 7.785 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.9293/0.9293, allocations: 149.9 MB / 463 MB, free: 10.29 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.002213/0.002213, allocations: 65.45 kB / 0.6411 GB, free: 10.06 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1742/0.1764, allocations: 89.17 MB / 0.7282 GB, free: 0.9727 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sources.Examples.Outside_CpData_Angles): time 0.5508/0.7272, allocations: 148.3 MB / 0.873 GB, free: 0.8242 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.02459/0.7518, allocations: 16.21 MB / 0.8889 GB, free: 0.5703 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00153/0.7534, allocations: 43.62 kB / 0.8889 GB, free: 0.5273 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.00196/0.7553, allocations: 0.5623 MB / 0.8894 GB, free: 15.96 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.005637/0.761, allocations: 1.843 MB / 0.8912 GB, free: 14.11 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.003628/0.7646, allocations: 1.471 MB / 0.8927 GB, free: 12.66 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.003535/0.7681, allocations: 2.91 MB / 0.8955 GB, free: 9.742 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002202/0.7703, allocations: 1.579 MB / 0.8971 GB, free: 8.109 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004299/0.7746, allocations: 1.532 MB / 0.8986 GB, free: 6.637 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001608/0.7762, allocations: 1.05 MB / 0.8996 GB, free: 5.582 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0003467/0.7766, allocations: 224 kB / 0.8998 GB, free: 5.363 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003013/0.7796, allocations: 1.466 MB / 0.9012 GB, free: 3.895 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0007865/0.7804, allocations: 0.8178 MB / 0.902 GB, free: 3.074 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.00119/0.7816, allocations: 1.057 MB / 0.9031 GB, free: 2.012 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.00504/0.7866, allocations: 3.818 MB / 0.9068 GB, free: 14.18 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.7866, allocations: 0 / 0.9068 GB, free: 14.18 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.954e-06/0.7866, allocations: 3.938 kB / 0.9068 GB, free: 14.17 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 4.94e-05/0.7867, allocations: 0 / 0.9068 GB, free: 14.17 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.005334/0.792, allocations: 2.98 MB / 0.9097 GB, free: 11.14 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.14e-05/0.792, allocations: 8.031 kB / 0.9097 GB, free: 11.14 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002843/0.7923, allocations: 244.9 kB / 0.9099 GB, free: 10.89 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004187/0.7965, allocations: 0.6345 MB / 0.9106 GB, free: 10.25 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004502/0.801, allocations: 3.394 MB / 0.9139 GB, free: 6.82 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001158/0.8011, allocations: 127.4 kB / 0.914 GB, free: 6.695 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002444/0.8014, allocations: 175.9 kB / 0.9142 GB, free: 6.523 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003946/0.8053, allocations: 2.721 MB / 0.9168 GB, free: 3.566 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.268e-05/0.8053, allocations: 0 / 0.9168 GB, free: 3.566 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001596/0.8055, allocations: 72 kB / 0.9169 GB, free: 3.496 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.737e-05/0.8055, allocations: 40 kB / 0.9169 GB, free: 3.457 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003654/0.8092, allocations: 2.066 MB / 0.919 GB, free: 1.387 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009621/0.8188, allocations: 5.105 MB / 0.9239 GB, free: 12.2 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003407/0.8222, allocations: 1.745 MB / 0.9256 GB, free: 10.45 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001327/0.8236, allocations: 0.7139 MB / 0.9263 GB, free: 9.727 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004447/0.824, allocations: 121.2 kB / 0.9265 GB, free: 9.609 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002271/0.8263, allocations: 1.615 MB / 0.928 GB, free: 7.824 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=146): time 3.687e-06/0.8263, allocations: 0 / 0.928 GB, free: 7.824 MB / 0.7012 GB Notification: Performance of matching and sorting (n=146): time 0.007106/0.8334, allocations: 2.64 MB / 0.9306 GB, free: 5.164 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000137/0.8335, allocations: 201.2 kB / 0.9308 GB, free: 4.926 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005306/0.8388, allocations: 4.127 MB / 0.9348 GB, free: 0.7969 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0002985/0.8391, allocations: 57.7 kB / 0.9349 GB, free: 0.7344 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009898/0.8401, allocations: 0.9158 MB / 0.9358 GB, free: 15.8 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005738/0.8407, allocations: 0.4919 MB / 0.9363 GB, free: 15.31 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004094/0.8411, allocations: 238.8 kB / 0.9365 GB, free: 15.07 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001934/0.8413, allocations: 361.9 kB / 0.9368 GB, free: 14.71 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001223/0.8425, allocations: 0.5765 MB / 0.9374 GB, free: 14.13 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001698/0.8442, allocations: 1.247 MB / 0.9386 GB, free: 12.72 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002551/0.8468, allocations: 1.341 MB / 0.9399 GB, free: 11.37 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.159e-06/0.8468, allocations: 0 / 0.9399 GB, free: 11.37 MB / 0.7169 GB Notification: Performance of matching and sorting (n=155) (initialization): time 0.004197/0.851, allocations: 1.819 MB / 0.9417 GB, free: 9.531 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.175e-05/0.851, allocations: 4 kB / 0.9417 GB, free: 9.527 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.067e-06/0.851, allocations: 0 / 0.9417 GB, free: 9.527 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001035/0.852, allocations: 204.2 kB / 0.9419 GB, free: 9.312 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001505/0.8535, allocations: 335.5 kB / 0.9422 GB, free: 8.984 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006723/0.8603, allocations: 6.79 MB / 0.9489 GB, free: 1.617 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001636/0.8619, allocations: 169.3 kB / 0.949 GB, free: 1.453 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001204/0.862, allocations: 55.95 kB / 0.9491 GB, free: 1.398 MB / 0.7169 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.001011/0.863, allocations: 485.4 kB / 0.9495 GB, free: 0.9141 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004417/0.8635, allocations: 218.6 kB / 0.9497 GB, free: 0.6992 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004646/0.8681, allocations: 2.146 MB / 0.9518 GB, free: 14.52 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.21e-05/0.8681, allocations: 16 kB / 0.9518 GB, free: 14.5 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.334e-06/0.8681, allocations: 4 kB / 0.9519 GB, free: 14.5 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.486e-05/0.8681, allocations: 7.969 kB / 0.9519 GB, free: 14.49 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007323/0.8755, allocations: 3.848 MB / 0.9556 GB, free: 10.59 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.969e-06/0.8755, allocations: 4 kB / 0.9556 GB, free: 10.58 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001446/0.8769, allocations: 323.6 kB / 0.9559 GB, free: 10.27 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008397/0.8778, allocations: 200.1 kB / 0.9561 GB, free: 10.05 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001092/0.8779, allocations: 43.95 kB / 0.9562 GB, free: 10.01 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006409/0.8843, allocations: 6.823 MB / 0.9628 GB, free: 2.605 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.354e-06/0.8843, allocations: 0 / 0.9628 GB, free: 2.605 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004558/0.8888, allocations: 2.037 MB / 0.9648 GB, free: 0.5312 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001117/0.89, allocations: 466 kB / 0.9653 GB, free: 76 kB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002305/0.8902, allocations: 32 kB / 0.9653 GB, free: 44 kB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001259/0.8914, allocations: 105.7 kB / 0.9654 GB, free: 15.94 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002493/0.8917, allocations: 125 kB / 0.9655 GB, free: 15.81 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001547/0.8919, allocations: 75.89 kB / 0.9656 GB, free: 15.74 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.003694/0.8955, allocations: 3.165 MB / 0.9687 GB, free: 12.58 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.11e-07/0.8955, allocations: 0 / 0.9687 GB, free: 12.58 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.00184/0.8974, allocations: 0.6938 MB / 0.9694 GB, free: 11.89 MB / 0.7481 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.006679/0.9041, allocations: 3.273 MB / 0.9725 GB, free: 8.824 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.003885/0.9079, allocations: 2.016 MB / 0.9745 GB, free: 6.742 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 1.145e-05/0.908, allocations: 0.8906 kB / 0.9745 GB, free: 6.738 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.002221/0.9102, allocations: 1.383 MB / 0.9759 GB, free: 5.293 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002693/0.9129, allocations: 0.5572 MB / 0.9764 GB, free: 4.758 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03147/0.9443, allocations: 21.23 MB / 0.9971 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001101/0.9454, allocations: 0.958 MB / 0.9981 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.001761/0.9472, allocations: 0.533 MB / 0.9986 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001297/0.9485, allocations: 0.9132 MB / 0.9995 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of SimCode: time 1.222e-06/0.9485, allocations: 4 kB / 0.9995 GB, free: 12.83 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1589/1.107, allocations: 53.42 MB / 1.052 GB, free: 7.973 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.08/16.19, allocations: 0 / 1.052 GB, free: 7.973 MB / 0.8262 GB " [Timeout remaining time 644] (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.082693677861243] Failed to read output from testmodel.py, exit status != 0: 16.43705968512222 16.454213525 15.664451182 Calling exit ...