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.001379/0.001379, allocations: 114 kB / 17.12 MB, free: 6.008 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.00151/0.00151, allocations: 211.2 kB / 20.1 MB, free: 3.055 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.484/1.484, allocations: 230.6 MB / 253.5 MB, free: 15.09 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.984/0.984, allocations: 150 MB / 459.5 MB, free: 5.262 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.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.002085/0.002085, allocations: 79.55 kB / 0.6361 GB, free: 30.43 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1694/0.1715, allocations: 89.13 MB / 0.7232 GB, free: 4.02 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL): time 0.03552/0.207, allocations: 27.1 MB / 0.7496 GB, free: 8.832 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01516/0.2222, allocations: 8.192 MB / 0.7576 GB, free: 0.6172 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002422/0.2246, allocations: 158.8 kB / 0.7578 GB, free: 472 kB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.007508/0.2321, allocations: 2.805 MB / 0.7605 GB, free: 13.65 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.004721/0.2368, allocations: 1.668 MB / 0.7622 GB, free: 11.97 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.005256/0.2421, allocations: 1.677 MB / 0.7638 GB, free: 10.3 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.00895/0.251, allocations: 6.138 MB / 0.7698 GB, free: 4.141 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008765/0.2598, allocations: 5.31 MB / 0.775 GB, free: 14.73 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004795/0.2646, allocations: 2.656 MB / 0.7776 GB, free: 12.06 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005171/0.2698, allocations: 2.994 MB / 0.7805 GB, free: 9.059 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.001547/0.2713, allocations: 0.5078 MB / 0.781 GB, free: 8.551 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003458/0.2748, allocations: 1.311 MB / 0.7823 GB, free: 7.238 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.003294/0.2781, allocations: 2.104 MB / 0.7843 GB, free: 5.129 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.004615/0.2827, allocations: 2.389 MB / 0.7867 GB, free: 2.73 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.01156/0.2942, allocations: 8.075 MB / 0.7945 GB, free: 10.63 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.052e-06/0.2942, allocations: 0 / 0.7945 GB, free: 10.63 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.695e-06/0.2942, allocations: 0 / 0.7945 GB, free: 10.63 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 0.0002358/0.2945, allocations: 0 / 0.7945 GB, free: 10.63 MB / 0.6075 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.01266/0.3071, allocations: 4.341 MB / 0.7988 GB, free: 6.219 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.782e-05/0.3072, allocations: 8.031 kB / 0.7988 GB, free: 6.211 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002106/0.3093, allocations: 0.5343 MB / 0.7993 GB, free: 5.668 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006067/0.3154, allocations: 0.8257 MB / 0.8001 GB, free: 4.84 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007153/0.3225, allocations: 2.586 MB / 0.8026 GB, free: 2.199 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003849/0.3229, allocations: 271.6 kB / 0.8029 GB, free: 1.934 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002047/0.3249, allocations: 376.4 kB / 0.8033 GB, free: 1.566 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0175/0.3424, allocations: 5.992 MB / 0.8091 GB, free: 11.32 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001962/0.3426, allocations: 27.81 kB / 0.8091 GB, free: 11.29 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009982/0.3436, allocations: 156 kB / 0.8093 GB, free: 11.14 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006877/0.3443, allocations: 278.9 kB / 0.8096 GB, free: 10.86 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01003/0.3544, allocations: 4.524 MB / 0.814 GB, free: 6.332 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03797/0.3923, allocations: 27.5 MB / 0.8408 GB, free: 8.332 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002103/0.3944, allocations: 1.056 MB / 0.8419 GB, free: 7.266 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001783/0.3962, allocations: 0.9719 MB / 0.8428 GB, free: 6.293 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001145/0.3963, allocations: 9 kB / 0.8428 GB, free: 6.285 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.048e-05/0.3964, allocations: 51.56 kB / 0.8429 GB, free: 6.223 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=110): time 3.646e-06/0.3964, allocations: 0 / 0.8429 GB, free: 6.223 MB / 0.6544 GB Notification: Performance of matching and sorting (n=131): time 0.02499/0.4214, allocations: 9.696 MB / 0.8523 GB, free: 12.32 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.778e-05/0.4214, allocations: 72.66 kB / 0.8524 GB, free: 12.24 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002381/0.4238, allocations: 1.502 MB / 0.8539 GB, free: 10.74 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0001545/0.424, allocations: 49.7 kB / 0.8539 GB, free: 10.69 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.001306/0.4253, allocations: 1.711 MB / 0.8556 GB, free: 8.957 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005205/0.4258, allocations: 491.8 kB / 0.8561 GB, free: 8.473 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006065/0.4264, allocations: 335.3 kB / 0.8564 GB, free: 8.141 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001234/0.4265, allocations: 305.1 kB / 0.8567 GB, free: 7.84 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001492/0.428, allocations: 0.9174 MB / 0.8576 GB, free: 6.922 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002015/0.43, allocations: 1.459 MB / 0.859 GB, free: 5.223 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003732/0.4338, allocations: 2.55 MB / 0.8615 GB, free: 2.43 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.691e-05/0.4338, allocations: 8 kB / 0.8615 GB, free: 2.422 MB / 0.67 GB Notification: Performance of matching and sorting (n=226) (initialization): time 0.366/0.7997, allocations: 3.264 MB / 0.8647 GB, free: 127.4 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 3.959e-05/0.7998, allocations: 16.72 kB / 0.8647 GB, free: 127.4 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.766e-05/0.7998, allocations: 20.89 kB / 0.8647 GB, free: 127.4 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002451/0.8023, allocations: 0.7433 MB / 0.8654 GB, free: 127.3 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00178/0.8041, allocations: 378.7 kB / 0.8658 GB, free: 127.3 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01398/0.818, allocations: 17.05 MB / 0.8825 GB, free: 113.6 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001813/0.8198, allocations: 99.17 kB / 0.8825 GB, free: 113.6 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003726/0.8202, allocations: 77.88 kB / 0.8826 GB, free: 113.5 MB / 0.67 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.002829/0.823, allocations: 1.309 MB / 0.8839 GB, free: 113 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006614/0.8237, allocations: 210.4 kB / 0.8841 GB, free: 113 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006536/0.8302, allocations: 2.768 MB / 0.8868 GB, free: 111.8 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.14e-05/0.8303, allocations: 13.16 kB / 0.8868 GB, free: 111.8 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.691e-05/0.8303, allocations: 7.828 kB / 0.8868 GB, free: 111.8 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.187e-05/0.8303, allocations: 7.531 kB / 0.8868 GB, free: 111.8 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01252/0.8429, allocations: 6.2 MB / 0.8929 GB, free: 109.2 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.834e-05/0.8429, allocations: 8.156 kB / 0.8929 GB, free: 109.2 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001198/0.8441, allocations: 235.9 kB / 0.8931 GB, free: 109.2 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001944/0.846, allocations: 0.6674 MB / 0.8938 GB, free: 108.9 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001603/0.8462, allocations: 39.84 kB / 0.8938 GB, free: 108.9 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01244/0.8586, allocations: 16.78 MB / 0.9102 GB, free: 94.18 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.454e-06/0.8586, allocations: 9.344 kB / 0.9102 GB, free: 94.18 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006013/0.8646, allocations: 3.997 MB / 0.9141 GB, free: 91.88 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001036/0.8657, allocations: 460.7 kB / 0.9145 GB, free: 91.6 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004203/0.8661, allocations: 43.44 kB / 0.9146 GB, free: 91.58 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001099/0.8672, allocations: 87.05 kB / 0.9147 GB, free: 91.53 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003737/0.8676, allocations: 119.1 kB / 0.9148 GB, free: 91.46 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001136/0.8677, allocations: 42.31 kB / 0.9148 GB, free: 91.45 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.001497/0.8692, allocations: 0.9905 MB / 0.9158 GB, free: 90.92 MB / 0.67 GB Notification: Performance of sort global known variables: time 1e-07/0.8692, allocations: 0 / 0.9158 GB, free: 90.92 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.002538/0.8717, allocations: 0.683 MB / 0.9165 GB, free: 90.86 MB / 0.67 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.005769/0.8775, allocations: 4.59 MB / 0.9209 GB, free: 87.38 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.004862/0.8823, allocations: 3.381 MB / 0.9242 GB, free: 83.89 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 9.458e-06/0.8824, allocations: 3.938 kB / 0.9242 GB, free: 83.89 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.002738/0.8851, allocations: 2.233 MB / 0.9264 GB, free: 81.54 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003398/0.8885, allocations: 0.6817 MB / 0.9271 GB, free: 80.92 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03021/0.9187, allocations: 21.23 MB / 0.9478 GB, free: 58.86 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002762/0.9215, allocations: 2.679 MB / 0.9504 GB, free: 56.15 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.001421/0.9229, allocations: 489.4 kB / 0.9509 GB, free: 55.67 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001401/0.9243, allocations: 1.28 MB / 0.9522 GB, free: 54.39 MB / 0.67 GB Notification: Performance of SimCode: time 9.62e-07/0.9243, allocations: 0 / 0.9522 GB, free: 54.39 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1334/1.058, allocations: 57.58 MB / 1.008 GB, free: 13.43 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.12/15.18, allocations: 7.438 kB / 1.008 GB, free: 13.42 MB / 0.6856 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: 19.221866842126474] Failed to read output from testmodel.py, exit status != 0: 15.314764162059873 15.341819955 15.042532409 Calling exit ...