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.001356/0.001356, allocations: 119 kB / 19.69 MB, free: 2.199 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.001443/0.001443, allocations: 221.5 kB / 23.01 MB, free: 5.043 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.502/1.502, allocations: 230.6 MB / 256.8 MB, free: 8.004 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 1.096/1.096, allocations: 150 MB / 463.2 MB, free: 10.48 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.002101/0.002101, allocations: 70.36 kB / 0.6413 GB, free: 10.38 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1794/0.1815, allocations: 89.17 MB / 0.7284 GB, free: 1.277 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL): time 0.03515/0.2166, allocations: 27.91 MB / 0.7556 GB, free: 5.27 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.3682/0.5848, allocations: 8.362 MB / 0.7638 GB, free: 13.56 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002131/0.5869, allocations: 152.7 kB / 0.7639 GB, free: 13.56 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.006308/0.5932, allocations: 2.893 MB / 0.7668 GB, free: 13.52 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.004066/0.5973, allocations: 1.67 MB / 0.7684 GB, free: 13.44 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003963/0.6013, allocations: 1.727 MB / 0.7701 GB, free: 13.28 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.007492/0.6088, allocations: 6.132 MB / 0.7761 GB, free: 12.5 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00563/0.6144, allocations: 3.79 MB / 0.7798 GB, free: 12.06 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004955/0.6193, allocations: 2.66 MB / 0.7824 GB, free: 11.61 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005919/0.6253, allocations: 2.996 MB / 0.7853 GB, free: 10.55 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.001471/0.6267, allocations: 0.5085 MB / 0.7858 GB, free: 10.55 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003921/0.6307, allocations: 1.308 MB / 0.7871 GB, free: 10.36 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.003287/0.6339, allocations: 2.106 MB / 0.7891 GB, free: 9.484 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.004764/0.6387, allocations: 2.38 MB / 0.7915 GB, free: 7.965 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.009707/0.6484, allocations: 8.078 MB / 0.7993 GB, free: 3.824 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.582e-06/0.6484, allocations: 1 kB / 0.7993 GB, free: 3.824 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.502e-06/0.6484, allocations: 0 / 0.7993 GB, free: 3.824 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.0002358/0.6487, allocations: 0 / 0.7993 GB, free: 3.824 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.01056/0.6592, allocations: 4.264 MB / 0.8035 GB, free: 0.9766 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.337e-05/0.6593, allocations: 8.781 kB / 0.8035 GB, free: 0.9766 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008987/0.6602, allocations: 0.5386 MB / 0.804 GB, free: 0.5977 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004528/0.6647, allocations: 0.8206 MB / 0.8048 GB, free: 204 kB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00747/0.6721, allocations: 2.531 MB / 0.8073 GB, free: 14.6 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003294/0.6725, allocations: 277.8 kB / 0.8076 GB, free: 14.48 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001846/0.6743, allocations: 377.2 kB / 0.8079 GB, free: 14.35 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01564/0.69, allocations: 5.99 MB / 0.8138 GB, free: 10.63 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001224/0.6901, allocations: 22.67 kB / 0.8138 GB, free: 10.62 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004827/0.6906, allocations: 158 kB / 0.814 GB, free: 10.51 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005976/0.6912, allocations: 283.3 kB / 0.8142 GB, free: 10.44 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009351/0.7005, allocations: 4.518 MB / 0.8186 GB, free: 8.113 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04516/0.7457, allocations: 27.23 MB / 0.8452 GB, free: 11.44 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002238/0.7479, allocations: 1.07 MB / 0.8463 GB, free: 10.36 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001695/0.7496, allocations: 0.9563 MB / 0.8472 GB, free: 9.406 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001232/0.7497, allocations: 13 kB / 0.8472 GB, free: 9.395 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.411e-05/0.7498, allocations: 47.56 kB / 0.8473 GB, free: 9.34 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=110): time 3.947e-06/0.7498, allocations: 0 / 0.8473 GB, free: 9.34 MB / 0.6231 GB Notification: Performance of matching and sorting (n=131): time 0.02382/0.7736, allocations: 9.091 MB / 0.8562 GB, free: 204 kB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.451e-05/0.7737, allocations: 64.72 kB / 0.8562 GB, free: 124 kB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002405/0.7761, allocations: 1.503 MB / 0.8577 GB, free: 14.62 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0001914/0.7763, allocations: 49.7 kB / 0.8577 GB, free: 14.57 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0015/0.7778, allocations: 1.717 MB / 0.8594 GB, free: 12.84 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006312/0.7784, allocations: 496.5 kB / 0.8599 GB, free: 12.36 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006446/0.7791, allocations: 327.4 kB / 0.8602 GB, free: 12.04 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001507/0.7792, allocations: 305.1 kB / 0.8605 GB, free: 11.73 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001519/0.7807, allocations: 0.9174 MB / 0.8614 GB, free: 10.82 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002039/0.7828, allocations: 1.47 MB / 0.8628 GB, free: 9.109 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003685/0.7865, allocations: 2.542 MB / 0.8653 GB, free: 6.332 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.14e-05/0.7865, allocations: 5.125 kB / 0.8653 GB, free: 6.328 MB / 0.6387 GB Notification: Performance of matching and sorting (n=226) (initialization): time 0.00678/0.7932, allocations: 3.275 MB / 0.8685 GB, free: 3.016 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 3.654e-05/0.7933, allocations: 16 kB / 0.8685 GB, free: 3 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.401e-05/0.7933, allocations: 16 kB / 0.8685 GB, free: 2.984 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002351/0.7957, allocations: 0.7388 MB / 0.8693 GB, free: 2.219 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001752/0.7974, allocations: 391.3 kB / 0.8696 GB, free: 1.836 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01888/0.8163, allocations: 16.14 MB / 0.8854 GB, free: 0.6719 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00203/0.8183, allocations: 99.91 kB / 0.8855 GB, free: 0.5742 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002369/0.8186, allocations: 79.98 kB / 0.8856 GB, free: 0.4961 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.002952/0.8215, allocations: 1.314 MB / 0.8868 GB, free: 15.18 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006172/0.8221, allocations: 214.7 kB / 0.887 GB, free: 14.96 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005722/0.8279, allocations: 2.761 MB / 0.8897 GB, free: 12.16 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.747e-05/0.8279, allocations: 16 kB / 0.8898 GB, free: 12.14 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.48e-05/0.8279, allocations: 4.141 kB / 0.8898 GB, free: 12.14 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.641e-05/0.8279, allocations: 7.969 kB / 0.8898 GB, free: 12.13 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01245/0.8404, allocations: 6.186 MB / 0.8958 GB, free: 5.82 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.271e-05/0.8404, allocations: 4 kB / 0.8958 GB, free: 5.816 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001267/0.8416, allocations: 231.6 kB / 0.896 GB, free: 5.59 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00242/0.8441, allocations: 0.6713 MB / 0.8967 GB, free: 4.891 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001673/0.8442, allocations: 32 kB / 0.8967 GB, free: 4.859 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01889/0.8631, allocations: 15.87 MB / 0.9122 GB, free: 3.965 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.708e-06/0.8631, allocations: 7.938 kB / 0.9122 GB, free: 3.957 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007296/0.8704, allocations: 3.993 MB / 0.9161 GB, free: 15.86 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001328/0.8718, allocations: 389.2 kB / 0.9165 GB, free: 15.48 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003011/0.8721, allocations: 39.94 kB / 0.9165 GB, free: 15.44 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009548/0.873, allocations: 79.89 kB / 0.9166 GB, free: 15.36 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003332/0.8733, allocations: 132.6 kB / 0.9167 GB, free: 15.23 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.244e-05/0.8734, allocations: 36 kB / 0.9168 GB, free: 15.2 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.001671/0.8751, allocations: 0.9903 MB / 0.9177 GB, free: 14.22 MB / 0.7012 GB Notification: Performance of sort global known variables: time 8e-08/0.8751, allocations: 0 / 0.9177 GB, free: 14.22 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.00273/0.8778, allocations: 0.6836 MB / 0.9184 GB, free: 13.54 MB / 0.7012 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.007793/0.8856, allocations: 4.592 MB / 0.9229 GB, free: 8.824 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.006332/0.892, allocations: 3.381 MB / 0.9262 GB, free: 5.34 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 1.132e-05/0.892, allocations: 0 / 0.9262 GB, free: 5.34 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.003814/0.8958, allocations: 2.252 MB / 0.9284 GB, free: 2.977 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003898/0.8997, allocations: 0.6885 MB / 0.9291 GB, free: 2.332 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03915/0.9388, allocations: 21.3 MB / 0.9499 GB, free: 12.17 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003393/0.9422, allocations: 2.664 MB / 0.9525 GB, free: 9.477 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001705/0.9439, allocations: 485.4 kB / 0.9529 GB, free: 9 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001749/0.9457, allocations: 1.276 MB / 0.9542 GB, free: 7.723 MB / 0.7325 GB Notification: Performance of SimCode: time 1.513e-06/0.9457, allocations: 0 / 0.9542 GB, free: 7.723 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1437/1.089, allocations: 59.07 MB / 1.012 GB, free: 13.26 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.65/16.74, allocations: 6.922 kB / 1.012 GB, free: 13.25 MB / 0.795 GB " [Timeout remaining time 643] (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: 20.796438655997918] Failed to read output from testmodel.py, exit status != 0: 16.88027665199843 16.895344391 16.243476653 Calling exit ...