Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.001603/0.001603, allocations: 103.5 kB / 16.45 MB, free: 6.449 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.001248/0.001248, allocations: 212 kB / 19.43 MB, free: 3.637 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.369/1.369, allocations: 230.6 MB / 252.8 MB, free: 8.961 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002413/0.002413, allocations: 297.9 kB / 309.1 MB, free: 3.938 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.157/1.157, allocations: 180.9 MB / 0.5333 GB, free: 13.72 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: NcDataReader2 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: BuildingSystems 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.002735/0.002735, allocations: 97.66 kB / 0.7343 GB, free: 28.06 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1702/0.1729, allocations: 95.36 MB / 0.8274 GB, free: 9.844 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL): time 0.03094/0.2039, allocations: 27.1 MB / 0.8538 GB, free: 14.66 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0136/0.2175, allocations: 8.192 MB / 0.8618 GB, free: 6.441 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001812/0.2193, allocations: 150.9 kB / 0.862 GB, free: 6.293 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.006442/0.2257, allocations: 2.803 MB / 0.8647 GB, free: 3.48 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.003605/0.2293, allocations: 1.671 MB / 0.8664 GB, free: 1.801 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.003806/0.2331, allocations: 1.682 MB / 0.868 GB, free: 124 kB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.006535/0.2397, allocations: 6.13 MB / 0.874 GB, free: 9.973 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006878/0.2466, allocations: 5.318 MB / 0.8792 GB, free: 4.551 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003899/0.2505, allocations: 2.648 MB / 0.8818 GB, free: 1.895 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003975/0.2544, allocations: 3.006 MB / 0.8847 GB, free: 14.88 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0007851/0.2552, allocations: 0.5078 MB / 0.8852 GB, free: 14.37 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002321/0.2575, allocations: 1.303 MB / 0.8865 GB, free: 13.07 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.001973/0.2595, allocations: 2.104 MB / 0.8885 GB, free: 10.96 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.002802/0.2623, allocations: 2.381 MB / 0.8908 GB, free: 8.566 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.008867/0.2712, allocations: 8.079 MB / 0.8987 GB, free: 472 kB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.2712, allocations: 3.938 kB / 0.8987 GB, free: 468 kB / 0.6387 GB Notification: Performance of FrontEnd: time 1.623e-06/0.2712, allocations: 4 kB / 0.8987 GB, free: 464 kB / 0.6387 GB Notification: Performance of Transformations before backend: time 0.000155/0.2713, allocations: 0 / 0.8987 GB, free: 464 kB / 0.6387 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.008644/0.28, allocations: 4.328 MB / 0.903 GB, free: 12.05 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.272e-05/0.28, allocations: 12.03 kB / 0.903 GB, free: 12.04 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00078/0.2808, allocations: 0.5382 MB / 0.9035 GB, free: 11.5 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004335/0.2851, allocations: 0.8335 MB / 0.9043 GB, free: 10.66 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004786/0.2899, allocations: 2.582 MB / 0.9068 GB, free: 8.023 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002167/0.2901, allocations: 275.6 kB / 0.9071 GB, free: 7.754 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007997/0.2909, allocations: 380.4 kB / 0.9075 GB, free: 7.383 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01031/0.3013, allocations: 5.992 MB / 0.9133 GB, free: 1.137 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.297e-05/0.3013, allocations: 15.83 kB / 0.9133 GB, free: 1.121 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003797/0.3017, allocations: 160 kB / 0.9135 GB, free: 0.9648 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006009/0.3023, allocations: 282.9 kB / 0.9138 GB, free: 0.6875 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007444/0.3098, allocations: 4.52 MB / 0.9182 GB, free: 12.16 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02898/0.3387, allocations: 27.51 MB / 0.945 GB, free: 14.15 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001664/0.3404, allocations: 1.061 MB / 0.9461 GB, free: 13.08 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001357/0.3418, allocations: 0.9563 MB / 0.947 GB, free: 12.12 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 7.418e-05/0.3418, allocations: 13 kB / 0.947 GB, free: 12.11 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.911e-05/0.3419, allocations: 51.5 kB / 0.9471 GB, free: 12.05 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=110): time 3.106e-06/0.3419, allocations: 4 kB / 0.9471 GB, free: 12.05 MB / 0.7012 GB Notification: Performance of matching and sorting (n=131): time 0.0222/0.3641, allocations: 9.699 MB / 0.9565 GB, free: 2.137 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.16e-05/0.3641, allocations: 68.7 kB / 0.9566 GB, free: 2.059 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002045/0.3662, allocations: 1.494 MB / 0.9581 GB, free: 0.5664 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0001039/0.3663, allocations: 49.7 kB / 0.9581 GB, free: 0.5117 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.001313/0.3676, allocations: 1.707 MB / 0.9598 GB, free: 14.78 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004226/0.368, allocations: 495.8 kB / 0.9603 GB, free: 14.29 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000588/0.3686, allocations: 331.4 kB / 0.9606 GB, free: 13.96 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001315/0.3688, allocations: 309.1 kB / 0.9609 GB, free: 13.66 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00148/0.3702, allocations: 0.9174 MB / 0.9618 GB, free: 12.74 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001931/0.3722, allocations: 1.459 MB / 0.9632 GB, free: 11.05 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003582/0.3757, allocations: 2.554 MB / 0.9657 GB, free: 8.25 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.086e-05/0.3758, allocations: 4 kB / 0.9657 GB, free: 8.246 MB / 0.7169 GB Notification: Performance of matching and sorting (n=226) (initialization): time 0.006012/0.3818, allocations: 3.271 MB / 0.9689 GB, free: 4.938 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.962e-05/0.3818, allocations: 16.17 kB / 0.9689 GB, free: 4.922 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.575e-05/0.3818, allocations: 23.94 kB / 0.9689 GB, free: 4.898 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002422/0.3842, allocations: 0.7412 MB / 0.9696 GB, free: 4.129 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001544/0.3858, allocations: 383.4 kB / 0.97 GB, free: 3.754 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0179/0.4037, allocations: 17.06 MB / 0.9867 GB, free: 1.434 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001318/0.405, allocations: 99.91 kB / 0.9868 GB, free: 1.336 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001517/0.4052, allocations: 75.98 kB / 0.9868 GB, free: 1.262 MB / 0.7325 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.3084/0.7136, allocations: 1.305 MB / 0.9881 GB, free: 146.5 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004751/0.7141, allocations: 209.3 kB / 0.9883 GB, free: 146.5 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004936/0.719, allocations: 2.768 MB / 0.991 GB, free: 146.3 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.133e-05/0.719, allocations: 13.84 kB / 0.991 GB, free: 146.3 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.204e-05/0.719, allocations: 7.562 kB / 0.991 GB, free: 146.3 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.057e-05/0.719, allocations: 6.891 kB / 0.991 GB, free: 146.3 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00859/0.7276, allocations: 6.204 MB / 0.9971 GB, free: 144.4 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.318e-06/0.7276, allocations: 5.219 kB / 0.9971 GB, free: 144.4 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001114/0.7287, allocations: 234.2 kB / 0.9973 GB, free: 144.4 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00194/0.7307, allocations: 0.6622 MB / 0.998 GB, free: 144.2 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.104e-05/0.7308, allocations: 34.67 kB / 0.998 GB, free: 144.2 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01234/0.7431, allocations: 16.79 MB / 1.014 GB, free: 129.8 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.851e-06/0.7431, allocations: 5.531 kB / 1.014 GB, free: 129.8 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00531/0.7484, allocations: 4 MB / 1.018 GB, free: 128.1 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007848/0.7492, allocations: 466.6 kB / 1.019 GB, free: 127.9 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003433/0.7496, allocations: 32.89 kB / 1.019 GB, free: 127.9 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009398/0.7505, allocations: 83.78 kB / 1.019 GB, free: 127.9 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002455/0.7507, allocations: 114.2 kB / 1.019 GB, free: 127.8 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.723e-05/0.7508, allocations: 37.97 kB / 1.019 GB, free: 127.8 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001112/0.7519, allocations: 0.9975 MB / 1.02 GB, free: 127.4 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1e-07/0.7519, allocations: 7 kB / 1.02 GB, free: 127.4 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.001983/0.7539, allocations: 0.6848 MB / 1.021 GB, free: 127.4 MB / 0.7325 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.004672/0.7586, allocations: 4.603 MB / 1.025 GB, free: 125.1 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.003907/0.7625, allocations: 3.381 MB / 1.028 GB, free: 123.2 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 4.849e-06/0.7625, allocations: 0.875 kB / 1.028 GB, free: 123.2 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.002446/0.765, allocations: 2.248 MB / 1.031 GB, free: 121.7 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002284/0.7672, allocations: 0.6755 MB / 1.031 GB, free: 121.5 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02281/0.79, allocations: 21.22 MB / 1.052 GB, free: 102.4 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001946/0.792, allocations: 2.66 MB / 1.055 GB, free: 99.68 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001034/0.793, allocations: 489.4 kB / 1.055 GB, free: 99.2 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001043/0.7941, allocations: 1.284 MB / 1.056 GB, free: 97.92 MB / 0.7325 GB Notification: Performance of SimCode: time 6.61e-07/0.7941, allocations: 0 / 1.056 GB, free: 97.92 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1029/0.897, allocations: 57.64 MB / 1.113 GB, free: 41.08 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.7/13.59, allocations: 23.2 kB / 1.113 GB, free: 41.06 MB / 0.7325 GB " [Timeout remaining time 646] (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.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 BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL.fmu > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 17.560714712832123] Failed to read output from testmodel.py, exit status != 0: 13.701995860785246 13.71139451 13.438094337 Calling exit ...