Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.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.001358/0.001358, allocations: 100.3 kB / 19.69 MB, free: 1.805 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.001431/0.001431, allocations: 212.2 kB / 22.99 MB, free: 4.605 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.441/1.441, allocations: 230.6 MB / 256.8 MB, free: 7.797 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.9834/0.9834, allocations: 149.9 MB / 463.1 MB, free: 10.34 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.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_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.002114/0.002114, allocations: 73.36 kB / 0.6411 GB, free: 10.14 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1654/0.1675, allocations: 89.17 MB / 0.7282 GB, free: 1.043 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL): time 0.03459/0.2021, allocations: 25.56 MB / 0.7531 GB, free: 7.402 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.3777/0.5797, allocations: 8.075 MB / 0.761 GB, free: 12.82 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002478/0.5822, allocations: 152.8 kB / 0.7612 GB, free: 12.82 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.006556/0.5887, allocations: 2.773 MB / 0.7639 GB, free: 12.8 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.004527/0.5933, allocations: 1.671 MB / 0.7655 GB, free: 12.73 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.004114/0.5974, allocations: 1.686 MB / 0.7672 GB, free: 12.7 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.007417/0.6048, allocations: 6.131 MB / 0.7731 GB, free: 12.01 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006062/0.6109, allocations: 3.739 MB / 0.7768 GB, free: 11.59 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005578/0.6164, allocations: 2.674 MB / 0.7794 GB, free: 11.19 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006672/0.6231, allocations: 2.821 MB / 0.7822 GB, free: 10.78 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.001772/0.6249, allocations: 0.5077 MB / 0.7827 GB, free: 10.78 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003677/0.6286, allocations: 1.206 MB / 0.7838 GB, free: 10.7 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.003412/0.632, allocations: 2.102 MB / 0.7859 GB, free: 10.25 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.006795/0.6388, allocations: 1.93 MB / 0.7878 GB, free: 9.184 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.01221/0.651, allocations: 8.107 MB / 0.7957 GB, free: 5.477 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 9.157e-06/0.651, allocations: 5.125 kB / 0.7957 GB, free: 5.473 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.415e-06/0.651, allocations: 0 / 0.7957 GB, free: 5.473 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.0002772/0.6513, allocations: 0 / 0.7957 GB, free: 5.473 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 976 * Number of variables: 976 Notification: Performance of Generate backend data structure: time 0.01199/0.6633, allocations: 4.264 MB / 0.7999 GB, free: 2.629 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.654e-05/0.6633, allocations: 12.72 kB / 0.7999 GB, free: 2.625 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001003/0.6643, allocations: 0.5358 MB / 0.8004 GB, free: 2.25 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004488/0.6688, allocations: 0.8146 MB / 0.8012 GB, free: 1.855 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006066/0.6749, allocations: 2.545 MB / 0.8037 GB, free: 252 kB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002237/0.6751, allocations: 272.5 kB / 0.8039 GB, free: 132 kB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001198/0.6763, allocations: 378.2 kB / 0.8043 GB, free: 4 kB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01287/0.6892, allocations: 6.446 MB / 0.8106 GB, free: 11.75 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001206/0.6893, allocations: 14.84 kB / 0.8106 GB, free: 11.74 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004698/0.6898, allocations: 157.6 kB / 0.8108 GB, free: 11.63 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000606/0.6904, allocations: 282.9 kB / 0.811 GB, free: 11.56 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008598/0.699, allocations: 4.519 MB / 0.8154 GB, free: 9.23 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02933/0.7283, allocations: 18 MB / 0.833 GB, free: 8.988 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001842/0.7301, allocations: 1.054 MB / 0.834 GB, free: 7.926 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001407/0.7315, allocations: 0.9525 MB / 0.835 GB, free: 6.973 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 6.899e-05/0.7316, allocations: 19.89 kB / 0.835 GB, free: 6.957 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.952e-05/0.7317, allocations: 51.56 kB / 0.835 GB, free: 6.898 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=110): time 3.236e-06/0.7317, allocations: 0 / 0.835 GB, free: 6.898 MB / 0.6075 GB Notification: Performance of matching and sorting (n=131): time 0.02308/0.7547, allocations: 9.102 MB / 0.8439 GB, free: 13.75 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.464e-05/0.7548, allocations: 64.72 kB / 0.844 GB, free: 13.68 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002202/0.757, allocations: 1.537 MB / 0.8455 GB, free: 12.14 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0001596/0.7572, allocations: 49.7 kB / 0.8455 GB, free: 12.09 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.001343/0.7585, allocations: 1.712 MB / 0.8472 GB, free: 10.36 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004997/0.759, allocations: 493.4 kB / 0.8477 GB, free: 9.887 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005504/0.7595, allocations: 327.4 kB / 0.848 GB, free: 9.562 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001337/0.7597, allocations: 309 kB / 0.8483 GB, free: 9.258 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001441/0.7611, allocations: 0.918 MB / 0.8492 GB, free: 8.34 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001951/0.7631, allocations: 1.469 MB / 0.8506 GB, free: 6.633 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003633/0.7667, allocations: 2.549 MB / 0.8531 GB, free: 3.852 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-05/0.7667, allocations: 4 kB / 0.8531 GB, free: 3.848 MB / 0.6231 GB Notification: Performance of matching and sorting (n=226) (initialization): time 0.00637/0.7731, allocations: 3.268 MB / 0.8563 GB, free: 0.543 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.947e-05/0.7731, allocations: 12.22 kB / 0.8563 GB, free: 0.5312 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.652e-05/0.7731, allocations: 24 kB / 0.8563 GB, free: 0.5078 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002392/0.7755, allocations: 0.7412 MB / 0.8571 GB, free: 15.74 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001595/0.7771, allocations: 383.4 kB / 0.8574 GB, free: 15.36 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01815/0.7953, allocations: 16.02 MB / 0.8731 GB, free: 14.32 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001831/0.7971, allocations: 103.8 kB / 0.8732 GB, free: 14.22 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001566/0.7973, allocations: 76 kB / 0.8732 GB, free: 14.14 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * 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 (193): * Single equations (assignments): 184 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 9 systems {(2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (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.002477/0.7997, allocations: 1.311 MB / 0.8745 GB, free: 12.82 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004251/0.8002, allocations: 206.7 kB / 0.8747 GB, free: 12.62 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005447/0.8056, allocations: 2.761 MB / 0.8774 GB, free: 9.816 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.51e-05/0.8056, allocations: 19.94 kB / 0.8774 GB, free: 9.797 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.376e-05/0.8056, allocations: 7.984 kB / 0.8774 GB, free: 9.789 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.54e-05/0.8057, allocations: 7.984 kB / 0.8775 GB, free: 9.781 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01213/0.8178, allocations: 5.893 MB / 0.8832 GB, free: 3.758 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.077e-05/0.8178, allocations: 4.188 kB / 0.8832 GB, free: 3.754 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001213/0.819, allocations: 231.7 kB / 0.8834 GB, free: 3.527 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002109/0.8211, allocations: 0.6677 MB / 0.8841 GB, free: 2.832 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001221/0.8212, allocations: 35.98 kB / 0.8841 GB, free: 2.797 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01744/0.8387, allocations: 15.76 MB / 0.8995 GB, free: 2.008 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.33e-06/0.8387, allocations: 4 kB / 0.8995 GB, free: 2.004 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007092/0.8458, allocations: 3.998 MB / 0.9034 GB, free: 13.9 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0015/0.8473, allocations: 389 kB / 0.9038 GB, free: 13.52 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003088/0.8476, allocations: 35.94 kB / 0.9038 GB, free: 13.48 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009591/0.8486, allocations: 80.02 kB / 0.9039 GB, free: 13.41 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003619/0.8489, allocations: 124.7 kB / 0.904 GB, free: 13.29 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.377e-05/0.849, allocations: 44 kB / 0.9041 GB, free: 13.24 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.001566/0.8506, allocations: 0.9942 MB / 0.905 GB, free: 12.26 MB / 0.6856 GB Notification: Performance of sort global known variables: time 8e-08/0.8506, allocations: 0 / 0.905 GB, free: 12.26 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.002545/0.8531, allocations: 0.6836 MB / 0.9057 GB, free: 11.57 MB / 0.6856 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 22 * Number of states: 6 (RL_3.phase1.i_p[1],RL_3.phase1.i_p[2],RL_3.phase2.i_p[1],RL_3.phase2.i_p[2],RL_3.phase3.i_p[1],RL_3.phase3.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 (101): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 9 systems {(2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,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.007264/0.8604, allocations: 4.585 MB / 0.9102 GB, free: 6.867 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.005765/0.8661, allocations: 3.389 MB / 0.9135 GB, free: 3.387 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 9.949e-06/0.8662, allocations: 0 / 0.9135 GB, free: 3.387 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.003572/0.8697, allocations: 2.249 MB / 0.9157 GB, free: 1.023 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003097/0.8728, allocations: 0.6728 MB / 0.9163 GB, free: 400 kB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03669/0.9095, allocations: 21.3 MB / 0.9371 GB, free: 10.25 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002951/0.9125, allocations: 2.109 MB / 0.9392 GB, free: 8.102 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.001637/0.9141, allocations: 489.4 kB / 0.9397 GB, free: 7.621 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001702/0.9158, allocations: 1.28 MB / 0.9409 GB, free: 6.34 MB / 0.7169 GB Notification: Performance of SimCode: time 1.643e-06/0.9158, allocations: 0 / 0.9409 GB, free: 6.34 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1601/1.076, allocations: 61.4 MB / 1.001 GB, free: 9.77 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.86/14.94, allocations: 7.922 kB / 1.001 GB, free: 9.762 MB / 0.7794 GB " [Timeout remaining time 645] (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.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_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL.fmu > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 18.837742684874684] Failed to read output from testmodel.py, exit status != 0: 15.084798907861114 15.10101812 14.446623323 Calling exit ...