Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.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.001294/0.001294, allocations: 114.3 kB / 18.94 MB, free: 2.957 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.001435/0.001435, allocations: 216.9 kB / 22.25 MB, free: 5.113 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.435/1.435, allocations: 230.6 MB / 256 MB, free: 8.012 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.002505/0.002505, allocations: 281.7 kB / 312.7 MB, free: 2.82 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.264/1.264, allocations: 180.6 MB / 0.5369 GB, free: 12.98 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_N,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N",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.002907/0.002907, allocations: 103 kB / 0.7396 GB, free: 28.57 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1774/0.1803, allocations: 95.38 MB / 0.8328 GB, free: 8.621 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N): time 0.0262/0.2065, allocations: 21.22 MB / 0.8535 GB, free: 3.324 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01176/0.2183, allocations: 6.718 MB / 0.86 GB, free: 12.59 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001618/0.2199, allocations: 111.2 kB / 0.8601 GB, free: 12.48 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.005861/0.2258, allocations: 2.34 MB / 0.8624 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.003337/0.2291, allocations: 1.24 MB / 0.8636 GB, free: 8.891 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.003263/0.2324, allocations: 1.323 MB / 0.8649 GB, free: 7.566 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.006128/0.2385, allocations: 4.843 MB / 0.8697 GB, free: 2.711 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004564/0.2431, allocations: 3.186 MB / 0.8728 GB, free: 15.45 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003362/0.2464, allocations: 2.146 MB / 0.8749 GB, free: 13.3 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003994/0.2504, allocations: 2.473 MB / 0.8773 GB, free: 10.82 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0007573/0.2512, allocations: 432 kB / 0.8777 GB, free: 10.4 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002131/0.2533, allocations: 1.022 MB / 0.8787 GB, free: 9.375 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.001844/0.2552, allocations: 1.715 MB / 0.8804 GB, free: 7.656 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.002392/0.2576, allocations: 1.91 MB / 0.8822 GB, free: 5.738 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.0079/0.2655, allocations: 6.538 MB / 0.8886 GB, free: 15.18 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 6.562e-06/0.2655, allocations: 0 / 0.8886 GB, free: 15.18 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.473e-06/0.2655, allocations: 0 / 0.8886 GB, free: 15.18 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 0.0001522/0.2656, allocations: 0 / 0.8886 GB, free: 15.18 MB / 0.6387 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 798 * Number of variables: 798 Notification: Performance of Generate backend data structure: time 0.006742/0.2724, allocations: 3.469 MB / 0.892 GB, free: 11.66 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.49e-05/0.2724, allocations: 17.34 kB / 0.892 GB, free: 11.64 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005876/0.273, allocations: 454.5 kB / 0.8925 GB, free: 11.19 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003207/0.2762, allocations: 0.6507 MB / 0.8931 GB, free: 10.54 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004213/0.2804, allocations: 1.99 MB / 0.895 GB, free: 8.492 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001832/0.2806, allocations: 226.3 kB / 0.8952 GB, free: 8.27 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000463/0.2811, allocations: 308 kB / 0.8955 GB, free: 7.969 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008334/0.2894, allocations: 4.886 MB / 0.9003 GB, free: 2.887 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.962e-05/0.2895, allocations: 11.89 kB / 0.9003 GB, free: 2.875 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003129/0.2898, allocations: 128 kB / 0.9004 GB, free: 2.75 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004311/0.2902, allocations: 229.7 kB / 0.9007 GB, free: 2.523 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00651/0.2967, allocations: 3.75 MB / 0.9043 GB, free: 14.76 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02379/0.3205, allocations: 21.23 MB / 0.9251 GB, free: 7.523 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001815/0.3223, allocations: 1.234 MB / 0.9263 GB, free: 6.281 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00151/0.3238, allocations: 0.9841 MB / 0.9272 GB, free: 5.297 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 8.273e-05/0.3239, allocations: 13 kB / 0.9272 GB, free: 5.281 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.192e-05/0.324, allocations: 51.55 kB / 0.9273 GB, free: 5.223 MB / 0.67 GB Notification: Performance of pre-optimization done (n=107): time 3.546e-06/0.324, allocations: 0 / 0.9273 GB, free: 5.223 MB / 0.67 GB Notification: Performance of matching and sorting (n=138): time 0.02422/0.3482, allocations: 8.428 MB / 0.9355 GB, free: 12.79 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.7e-05/0.3483, allocations: 64.72 kB / 0.9356 GB, free: 12.71 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001585/0.3498, allocations: 1.138 MB / 0.9367 GB, free: 11.57 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0001091/0.35, allocations: 45.7 kB / 0.9367 GB, free: 11.52 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.000996/0.3509, allocations: 1.339 MB / 0.938 GB, free: 10.17 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004623/0.3514, allocations: 0.4957 MB / 0.9385 GB, free: 9.668 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004623/0.3519, allocations: 287.5 kB / 0.9388 GB, free: 9.383 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001337/0.352, allocations: 313.1 kB / 0.9391 GB, free: 9.074 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001356/0.3534, allocations: 0.9096 MB / 0.94 GB, free: 8.164 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001706/0.3551, allocations: 1.326 MB / 0.9413 GB, free: 6.672 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003309/0.3584, allocations: 2.426 MB / 0.9437 GB, free: 4.074 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.937e-06/0.3584, allocations: 7.938 kB / 0.9437 GB, free: 4.066 MB / 0.6856 GB Notification: Performance of matching and sorting (n=203) (initialization): time 0.006479/0.3649, allocations: 3.425 MB / 0.947 GB, free: 0.6211 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 3.15e-05/0.3649, allocations: 12 kB / 0.947 GB, free: 0.6094 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.063e-05/0.3649, allocations: 12 kB / 0.947 GB, free: 0.5977 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003339/0.3683, allocations: 1.189 MB / 0.9482 GB, free: 15.4 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001011/0.3693, allocations: 255.6 kB / 0.9484 GB, free: 15.15 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01876/0.388, allocations: 13.55 MB / 0.9617 GB, free: 1.262 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001442/0.3895, allocations: 87.97 kB / 0.9618 GB, free: 1.176 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001304/0.3896, allocations: 71.91 kB / 0.9618 GB, free: 1.105 MB / 0.7012 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * 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 (132): * Single equations (assignments): 129 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(5,17,84.0%), (5,17,92.0%), (5,25,88.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002019/0.3916, allocations: 1.111 MB / 0.9629 GB, free: 15.98 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000309/0.3919, allocations: 174.9 kB / 0.9631 GB, free: 15.81 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005827/0.3978, allocations: 3.126 MB / 0.9661 GB, free: 12.66 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.453e-05/0.3978, allocations: 12 kB / 0.9661 GB, free: 12.64 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.874e-05/0.3978, allocations: 15.94 kB / 0.9662 GB, free: 12.63 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.406e-05/0.3978, allocations: 7.969 kB / 0.9662 GB, free: 12.62 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01054/0.4083, allocations: 6.185 MB / 0.9722 GB, free: 6.309 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.949e-06/0.4083, allocations: 4 kB / 0.9722 GB, free: 6.305 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005906/0.4089, allocations: 147.8 kB / 0.9723 GB, free: 6.16 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002937/0.4119, allocations: 1.071 MB / 0.9734 GB, free: 5.082 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.536e-05/0.412, allocations: 36 kB / 0.9734 GB, free: 5.047 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01807/0.43, allocations: 13.24 MB / 0.9864 GB, free: 7.469 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.891e-06/0.43, allocations: 4 kB / 0.9864 GB, free: 7.465 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005623/0.4357, allocations: 3.127 MB / 0.9894 GB, free: 4.254 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009789/0.4366, allocations: 358.8 kB / 0.9898 GB, free: 3.902 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002021/0.4368, allocations: 35.92 kB / 0.9898 GB, free: 3.867 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007739/0.4376, allocations: 79.91 kB / 0.9899 GB, free: 3.789 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003347/0.438, allocations: 132.6 kB / 0.99 GB, free: 3.66 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.797e-05/0.438, allocations: 36 kB / 0.99 GB, free: 3.625 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001064/0.4391, allocations: 0.771 MB / 0.9908 GB, free: 2.852 MB / 0.7325 GB Notification: Performance of sort global known variables: time 9e-08/0.4391, allocations: 0 / 0.9908 GB, free: 2.852 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.001878/0.441, allocations: 0.6562 MB / 0.9914 GB, free: 2.195 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 simulation (70): * Single equations (assignments): 67 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(5,17,84.0%), (5,25,88.0%), (5,17,92.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.3834/0.8244, allocations: 3.699 MB / 0.995 GB, free: 146.5 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.004635/0.8291, allocations: 3.007 MB / 0.998 GB, free: 146.1 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 9.016e-06/0.8291, allocations: 2.031 kB / 0.998 GB, free: 146.1 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.002829/0.8319, allocations: 1.891 MB / 0.9998 GB, free: 145.6 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002122/0.834, allocations: 0.4982 MB / 1 GB, free: 145.6 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02817/0.8622, allocations: 19.19 MB / 1.019 GB, free: 137.3 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001764/0.864, allocations: 2.327 MB / 1.021 GB, free: 136.2 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0009625/0.8649, allocations: 362.8 kB / 1.022 GB, free: 136.2 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008138/0.8657, allocations: 1.009 MB / 1.023 GB, free: 135.3 MB / 0.7325 GB Notification: Performance of SimCode: time 9.52e-07/0.8657, allocations: 0 / 1.023 GB, free: 135.3 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1103/0.976, allocations: 54.18 MB / 1.076 GB, free: 87.55 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.45/14.43, allocations: 6.984 kB / 1.076 GB, free: 87.55 MB / 0.7325 GB " [Timeout remaining time 645] (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N_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_N.fmu > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 18.727575340999465] Failed to read output from testmodel.py, exit status != 0: 14.56661012100085 14.584229709 14.315503672 Calling exit ...