Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.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.00134/0.00134, allocations: 117.9 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.001654/0.001654, allocations: 215.7 kB / 23 MB, free: 5 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.545/1.545, allocations: 230.6 MB / 256.8 MB, free: 8.012 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.9623/0.9623, allocations: 150 MB / 463.2 MB, free: 10.58 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.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_RL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_RL",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.002049/0.002049, allocations: 74.3 kB / 0.6413 GB, free: 10.47 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2071/0.2091, allocations: 89.16 MB / 0.7284 GB, free: 1.383 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL): time 0.008211/0.2173, allocations: 5.744 MB / 0.734 GB, free: 11.61 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.005002/0.2223, allocations: 2.778 MB / 0.7367 GB, free: 8.82 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004125/0.2228, allocations: 31.69 kB / 0.7367 GB, free: 8.789 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.002098/0.2249, allocations: 0.7233 MB / 0.7374 GB, free: 8.066 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001102/0.226, allocations: 421.8 kB / 0.7378 GB, free: 7.652 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001068/0.227, allocations: 419 kB / 0.7382 GB, free: 7.242 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001179/0.2282, allocations: 0.9555 MB / 0.7391 GB, free: 6.285 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006058/0.2288, allocations: 382.5 kB / 0.7395 GB, free: 5.906 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000556/0.2294, allocations: 390.6 kB / 0.7399 GB, free: 5.523 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000625/0.23, allocations: 434.3 kB / 0.7403 GB, free: 5.098 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 8.476e-05/0.2301, allocations: 48 kB / 0.7403 GB, free: 5.051 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007075/0.2308, allocations: 371.2 kB / 0.7407 GB, free: 4.688 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0003456/0.2311, allocations: 255.2 kB / 0.7409 GB, free: 4.438 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0003493/0.2315, allocations: 342.3 kB / 0.7413 GB, free: 4.102 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001277/0.2328, allocations: 0.9845 MB / 0.7422 GB, free: 3.113 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.2328, allocations: 0 / 0.7422 GB, free: 3.113 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.733e-06/0.2328, allocations: 0 / 0.7422 GB, free: 3.113 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.168e-05/0.2328, allocations: 0 / 0.7422 GB, free: 3.113 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 140 * Number of variables: 140 Notification: Performance of Generate backend data structure: time 0.001745/0.2345, allocations: 0.9324 MB / 0.7431 GB, free: 2.148 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.17e-05/0.2346, allocations: 11.97 kB / 0.7432 GB, free: 2.137 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001306/0.2347, allocations: 102.7 kB / 0.7433 GB, free: 2.027 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001385/0.2361, allocations: 192.3 kB / 0.7434 GB, free: 1.84 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009164/0.237, allocations: 472.8 kB / 0.7439 GB, free: 1.348 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.016e-05/0.237, allocations: 41.38 kB / 0.7439 GB, free: 1.309 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001604/0.2372, allocations: 52.5 kB / 0.744 GB, free: 1.258 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0013/0.2385, allocations: 0.8335 MB / 0.7448 GB, free: 344 kB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.852e-05/0.2385, allocations: 8 kB / 0.7448 GB, free: 336 kB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.495e-05/0.2386, allocations: 20 kB / 0.7448 GB, free: 316 kB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001932/0.2388, allocations: 64.95 kB / 0.7449 GB, free: 252 kB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009351/0.2397, allocations: 0.5735 MB / 0.7454 GB, free: 15.67 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005026/0.2447, allocations: 4.497 MB / 0.7498 GB, free: 10.84 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005313/0.2453, allocations: 287.2 kB / 0.7501 GB, free: 10.55 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000338/0.2456, allocations: 209.3 kB / 0.7503 GB, free: 10.35 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 3.507e-05/0.2456, allocations: 4.281 kB / 0.7503 GB, free: 10.34 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.998e-05/0.2457, allocations: 38.84 kB / 0.7503 GB, free: 10.3 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=33): time 3.015e-06/0.2457, allocations: 3.938 kB / 0.7503 GB, free: 10.29 MB / 0.5762 GB Notification: Performance of matching and sorting (n=40): time 0.005916/0.2516, allocations: 2.327 MB / 0.7526 GB, free: 7.914 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.709e-05/0.2516, allocations: 55.41 kB / 0.7527 GB, free: 7.848 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006949/0.2523, allocations: 473.9 kB / 0.7531 GB, free: 7.371 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 4.361e-05/0.2524, allocations: 29.7 kB / 0.7532 GB, free: 7.336 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003133/0.2527, allocations: 344.5 kB / 0.7535 GB, free: 6.992 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001501/0.2528, allocations: 158.7 kB / 0.7536 GB, free: 6.836 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002471/0.2531, allocations: 106.3 kB / 0.7537 GB, free: 6.723 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001939/0.2533, allocations: 358.8 kB / 0.7541 GB, free: 6.363 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004147/0.2537, allocations: 241.2 kB / 0.7543 GB, free: 6.129 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005523/0.2543, allocations: 407.4 kB / 0.7547 GB, free: 5.652 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001005/0.2553, allocations: 0.6778 MB / 0.7554 GB, free: 4.902 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.2553, allocations: 4 kB / 0.7554 GB, free: 4.898 MB / 0.5762 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001853/0.2571, allocations: 0.9218 MB / 0.7563 GB, free: 3.961 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.126e-05/0.2571, allocations: 8 kB / 0.7563 GB, free: 3.953 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.452e-05/0.2572, allocations: 4 kB / 0.7563 GB, free: 3.949 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008639/0.258, allocations: 222.5 kB / 0.7565 GB, free: 3.723 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005241/0.2585, allocations: 115.8 kB / 0.7566 GB, free: 3.609 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.372/0.6306, allocations: 5.018 MB / 0.7615 GB, free: 32.69 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005386/0.6311, allocations: 31.17 kB / 0.7615 GB, free: 32.69 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.541e-05/0.6312, allocations: 21.56 kB / 0.7615 GB, free: 32.69 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (58): * Single equations (assignments): 55 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,4,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002729/0.6314, allocations: 225.4 kB / 0.7618 GB, free: 32.58 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.347e-05/0.6315, allocations: 61.19 kB / 0.7618 GB, free: 32.58 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001336/0.6328, allocations: 0.7699 MB / 0.7626 GB, free: 32.51 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.849e-06/0.6328, allocations: 7.875 kB / 0.7626 GB, free: 32.51 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.6329, allocations: 2.5 kB / 0.7626 GB, free: 32.51 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.021e-06/0.6329, allocations: 9.234 kB / 0.7626 GB, free: 32.5 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002324/0.6352, allocations: 1.471 MB / 0.764 GB, free: 32.15 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.937e-06/0.6352, allocations: 0 / 0.764 GB, free: 32.15 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003541/0.6355, allocations: 68.83 kB / 0.7641 GB, free: 32.15 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006124/0.6362, allocations: 208.1 kB / 0.7643 GB, free: 32.12 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.967e-05/0.6362, allocations: 9.031 kB / 0.7643 GB, free: 32.12 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00387/0.6401, allocations: 4.971 MB / 0.7692 GB, free: 28.5 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.706e-06/0.6401, allocations: 2.812 kB / 0.7692 GB, free: 28.5 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001657/0.6417, allocations: 1.127 MB / 0.7703 GB, free: 28.28 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002339/0.6419, allocations: 95.36 kB / 0.7703 GB, free: 28.25 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.24e-05/0.642, allocations: 7.391 kB / 0.7704 GB, free: 28.25 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003088/0.6423, allocations: 26.84 kB / 0.7704 GB, free: 28.25 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.276e-05/0.6424, allocations: 42.75 kB / 0.7704 GB, free: 28.25 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.505e-05/0.6424, allocations: 14.94 kB / 0.7704 GB, free: 28.25 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0003057/0.6427, allocations: 313.9 kB / 0.7707 GB, free: 28.16 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/0.6427, allocations: 0 / 0.7707 GB, free: 28.16 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0006233/0.6434, allocations: 175.5 kB / 0.7709 GB, free: 28.16 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 2 (RL_3.i_p[1],RL_3.i_p[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (30): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001896/0.6453, allocations: 1.687 MB / 0.7726 GB, free: 27.37 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001528/0.6468, allocations: 0.9713 MB / 0.7735 GB, free: 27.02 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.387e-06/0.6468, allocations: 1.062 kB / 0.7735 GB, free: 27.02 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0008366/0.6476, allocations: 0.6743 MB / 0.7742 GB, free: 26.66 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000808/0.6484, allocations: 178.7 kB / 0.7743 GB, free: 26.66 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008062/0.6565, allocations: 5.647 MB / 0.7798 GB, free: 24.09 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006237/0.6571, allocations: 0.9453 MB / 0.7808 GB, free: 23.37 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0005065/0.6576, allocations: 116.1 kB / 0.7809 GB, free: 23.36 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002718/0.6579, allocations: 218.7 kB / 0.7811 GB, free: 23.19 MB / 0.5762 GB Notification: Performance of SimCode: time 1.623e-06/0.6579, allocations: 0 / 0.7811 GB, free: 23.19 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06351/0.7214, allocations: 14.75 MB / 0.7955 GB, free: 19.4 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.55/13.28, allocations: 1.344 kB / 0.7955 GB, free: 19.4 MB / 0.5762 GB " [Timeout remaining time 647] (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_RL.fmu > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 17.30051209999874] Failed to read output from testmodel.py, exit status != 0: 13.394452110002021 13.414200664 13.177984072 Calling exit ...