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.0013/0.0013, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001567/0.001567, allocations: 213.4 kB / 22.25 MB, free: 5.125 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 MB, free: 7.961 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.00252/0.00252, allocations: 286.5 kB / 312.7 MB, free: 2.789 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.267/1.267, allocations: 180.6 MB / 0.5369 GB, free: 13.12 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 master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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.002854/0.002854, allocations: 102.2 kB / 0.7396 GB, free: 28.07 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1798/0.1826, allocations: 95.38 MB / 0.8327 GB, free: 8.656 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL): time 0.03858/0.2212, allocations: 27.94 MB / 0.86 GB, free: 12.62 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.01535/0.2366, allocations: 8.379 MB / 0.8682 GB, free: 4.223 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002717/0.2393, allocations: 154.8 kB / 0.8684 GB, free: 4.07 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.008055/0.2473, allocations: 2.883 MB / 0.8712 GB, free: 1.18 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.005224/0.2526, allocations: 1.671 MB / 0.8728 GB, free: 15.5 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.0047/0.2573, allocations: 1.727 MB / 0.8745 GB, free: 13.77 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.008849/0.2661, allocations: 6.135 MB / 0.8805 GB, free: 7.617 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008597/0.2747, allocations: 3.792 MB / 0.8842 GB, free: 3.734 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006557/0.2813, allocations: 2.648 MB / 0.8868 GB, free: 1.078 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005719/0.287, allocations: 3.002 MB / 0.8897 GB, free: 14.06 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.001083/0.2881, allocations: 0.5078 MB / 0.8902 GB, free: 13.55 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002841/0.2909, allocations: 1.307 MB / 0.8915 GB, free: 12.25 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.002351/0.2933, allocations: 2.108 MB / 0.8935 GB, free: 10.14 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.005083/0.2983, allocations: 2.377 MB / 0.8959 GB, free: 7.75 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.01202/0.3104, allocations: 8.079 MB / 0.9038 GB, free: 15.64 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 7.464e-06/0.3104, allocations: 0 / 0.9038 GB, free: 15.64 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.475e-06/0.3104, allocations: 4 kB / 0.9038 GB, free: 15.64 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 0.0002544/0.3106, allocations: 0 / 0.9038 GB, free: 15.64 MB / 0.6544 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.01095/0.3216, allocations: 4.26 MB / 0.9079 GB, free: 11.33 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.334e-05/0.3216, allocations: 17.34 kB / 0.9079 GB, free: 11.31 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008338/0.3225, allocations: 0.5382 MB / 0.9085 GB, free: 10.77 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004207/0.3267, allocations: 0.8179 MB / 0.9093 GB, free: 9.945 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006144/0.3328, allocations: 2.534 MB / 0.9117 GB, free: 7.348 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002261/0.333, allocations: 267.7 kB / 0.912 GB, free: 7.086 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000921/0.334, allocations: 384.3 kB / 0.9124 GB, free: 6.711 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01098/0.3449, allocations: 5.988 MB / 0.9182 GB, free: 480 kB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.338e-05/0.345, allocations: 23.81 kB / 0.9182 GB, free: 456 kB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003698/0.3454, allocations: 156 kB / 0.9184 GB, free: 300 kB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005736/0.346, allocations: 282.9 kB / 0.9186 GB, free: 16 kB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007828/0.3538, allocations: 4.516 MB / 0.9231 GB, free: 11.49 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03987/0.3937, allocations: 27.25 MB / 0.9497 GB, free: 13.73 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001875/0.3955, allocations: 1.056 MB / 0.9507 GB, free: 12.66 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001443/0.397, allocations: 0.9641 MB / 0.9516 GB, free: 11.7 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 9.362e-05/0.3971, allocations: 13 kB / 0.9516 GB, free: 11.68 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.065e-05/0.3971, allocations: 47.5 kB / 0.9517 GB, free: 11.63 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=110): time 3.025e-06/0.3971, allocations: 0 / 0.9517 GB, free: 11.63 MB / 0.7012 GB Notification: Performance of matching and sorting (n=131): time 0.0231/0.4202, allocations: 9.088 MB / 0.9606 GB, free: 2.484 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.46e-05/0.4203, allocations: 64.72 kB / 0.9606 GB, free: 2.406 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002268/0.4225, allocations: 1.498 MB / 0.9621 GB, free: 0.9102 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0001363/0.4227, allocations: 49.7 kB / 0.9621 GB, free: 0.8555 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.001291/0.424, allocations: 1.715 MB / 0.9638 GB, free: 15.12 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004869/0.4245, allocations: 491.8 kB / 0.9643 GB, free: 14.63 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005406/0.425, allocations: 335.4 kB / 0.9646 GB, free: 14.3 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001228/0.4251, allocations: 312.9 kB / 0.9649 GB, free: 14 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001434/0.4266, allocations: 0.9135 MB / 0.9658 GB, free: 13.08 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001822/0.4284, allocations: 1.467 MB / 0.9672 GB, free: 11.38 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003382/0.4318, allocations: 2.539 MB / 0.9697 GB, free: 8.602 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.183e-05/0.4318, allocations: 8 kB / 0.9697 GB, free: 8.594 MB / 0.7169 GB Notification: Performance of matching and sorting (n=226) (initialization): time 0.006022/0.4378, allocations: 3.275 MB / 0.9729 GB, free: 5.281 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 4.146e-05/0.4378, allocations: 13.88 kB / 0.9729 GB, free: 5.27 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.478e-05/0.4379, allocations: 20 kB / 0.9729 GB, free: 5.25 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002433/0.4403, allocations: 0.7375 MB / 0.9737 GB, free: 4.484 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001801/0.4421, allocations: 383.4 kB / 0.974 GB, free: 4.109 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01918/0.4613, allocations: 16.14 MB / 0.9898 GB, free: 2.938 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002414/0.4637, allocations: 99.91 kB / 0.9899 GB, free: 2.84 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002292/0.4639, allocations: 72 kB / 0.99 GB, free: 2.77 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.003395/0.4673, allocations: 1.306 MB / 0.9912 GB, free: 1.453 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006417/0.468, allocations: 214.6 kB / 0.9914 GB, free: 1.242 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.4194/0.8874, allocations: 2.766 MB / 0.9941 GB, free: 145.8 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-05/0.8874, allocations: 16.16 kB / 0.9942 GB, free: 145.8 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.286e-05/0.8874, allocations: 6.344 kB / 0.9942 GB, free: 145.8 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.481e-05/0.8874, allocations: 7.516 kB / 0.9942 GB, free: 145.8 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01057/0.898, allocations: 6.175 MB / 1 GB, free: 144.4 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.021e-05/0.898, allocations: 5.812 kB / 1 GB, free: 144.4 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001153/0.8992, allocations: 231.6 kB / 1 GB, free: 144.4 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001887/0.9011, allocations: 0.6712 MB / 1.001 GB, free: 144.2 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.291e-05/0.9012, allocations: 31.45 kB / 1.001 GB, free: 144.2 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01354/0.9147, allocations: 15.87 MB / 1.017 GB, free: 131 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.982e-06/0.9147, allocations: 9.281 kB / 1.017 GB, free: 131 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006289/0.921, allocations: 4.005 MB / 1.021 GB, free: 129.2 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001364/0.9224, allocations: 384.4 kB / 1.021 GB, free: 129.1 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003034/0.9227, allocations: 38.86 kB / 1.021 GB, free: 129.1 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000938/0.9236, allocations: 88.22 kB / 1.021 GB, free: 129.1 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003874/0.924, allocations: 120.4 kB / 1.021 GB, free: 129.1 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.313e-05/0.9241, allocations: 42.25 kB / 1.021 GB, free: 129.1 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001493/0.9256, allocations: 0.9938 MB / 1.022 GB, free: 128.7 MB / 0.7325 GB Notification: Performance of sort global known variables: time 6e-08/0.9256, allocations: 0 / 1.022 GB, free: 128.7 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.002483/0.9281, allocations: 0.6879 MB / 1.023 GB, free: 128.6 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.005347/0.9334, allocations: 4.59 MB / 1.027 GB, free: 126.3 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.004217/0.9376, allocations: 3.386 MB / 1.031 GB, free: 124.5 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 9.878e-06/0.9376, allocations: 3.938 kB / 1.031 GB, free: 124.5 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.002835/0.9405, allocations: 2.232 MB / 1.033 GB, free: 123 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002817/0.9433, allocations: 0.6881 MB / 1.033 GB, free: 122.8 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02701/0.9703, allocations: 21.3 MB / 1.054 GB, free: 104.8 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002208/0.9725, allocations: 2.664 MB / 1.057 GB, free: 102.1 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001286/0.9738, allocations: 493.4 kB / 1.057 GB, free: 101.6 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001085/0.9749, allocations: 1.28 MB / 1.059 GB, free: 100.3 MB / 0.7325 GB Notification: Performance of SimCode: time 1.273e-06/0.9749, allocations: 0 / 1.059 GB, free: 100.3 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1348/1.11, allocations: 59.11 MB / 1.116 GB, free: 41.86 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.08/15.19, allocations: 7.922 kB / 1.116 GB, free: 41.86 MB / 0.7325 GB " [Timeout remaining time 645] (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: 19.50868864000222] Failed to read output from testmodel.py, exit status != 0: 15.32973527500144 15.349529248 15.035116558 Calling exit ...