Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.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.001375/0.001375, allocations: 107.6 kB / 18.95 MB, free: 2.805 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.001541/0.001541, allocations: 210.3 kB / 22.24 MB, free: 5.121 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.449/1.449, allocations: 230.6 MB / 256 MB, free: 7.734 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.002573/0.002573, allocations: 294.1 kB / 312.7 MB, free: 2.574 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.236/1.236, allocations: 180.6 MB / 0.5369 GB, free: 14.38 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_R,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R",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.002966/0.002966, allocations: 97.55 kB / 0.7395 GB, free: 28.54 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1634/0.1664, allocations: 95.39 MB / 0.8327 GB, free: 8.422 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R): time 0.04363/0.21, allocations: 33.68 MB / 0.8655 GB, free: 6.637 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.01848/0.2285, allocations: 10.02 MB / 0.8753 GB, free: 12.59 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003381/0.2319, allocations: 190.6 kB / 0.8755 GB, free: 12.41 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.01113/0.243, allocations: 3.826 MB / 0.8792 GB, free: 8.574 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.006384/0.2494, allocations: 2.146 MB / 0.8813 GB, free: 6.418 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.005647/0.2551, allocations: 1.962 MB / 0.8833 GB, free: 4.457 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.01118/0.2662, allocations: 7.964 MB / 0.891 GB, free: 12.47 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008621/0.2749, allocations: 5.233 MB / 0.8961 GB, free: 7.109 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006037/0.2809, allocations: 3.486 MB / 0.8995 GB, free: 3.613 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006641/0.2875, allocations: 3.703 MB / 0.9032 GB, free: 15.89 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.001832/0.2894, allocations: 0.6797 MB / 0.9038 GB, free: 15.21 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00391/0.2933, allocations: 1.354 MB / 0.9052 GB, free: 13.86 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.003873/0.2972, allocations: 2.689 MB / 0.9078 GB, free: 11.17 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.004845/0.302, allocations: 2.514 MB / 0.9102 GB, free: 8.645 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.01377/0.3158, allocations: 10.47 MB / 0.9205 GB, free: 14.14 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 9.037e-06/0.3158, allocations: 0 / 0.9205 GB, free: 14.14 MB / 0.67 GB Notification: Performance of FrontEnd: time 2.665e-06/0.3158, allocations: 0 / 0.9205 GB, free: 14.14 MB / 0.67 GB Notification: Performance of Transformations before backend: time 0.0004648/0.3162, allocations: 0 / 0.9205 GB, free: 14.14 MB / 0.67 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1286 * Number of variables: 1286 Notification: Performance of Generate backend data structure: time 0.01429/0.3305, allocations: 5.455 MB / 0.9258 GB, free: 8.625 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.968e-05/0.3306, allocations: 13.34 kB / 0.9258 GB, free: 8.613 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001428/0.332, allocations: 0.7062 MB / 0.9265 GB, free: 7.898 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004973/0.337, allocations: 0.9812 MB / 0.9274 GB, free: 6.914 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007832/0.3448, allocations: 3.132 MB / 0.9305 GB, free: 3.715 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003409/0.3452, allocations: 361.9 kB / 0.9308 GB, free: 3.359 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001229/0.3464, allocations: 480.3 kB / 0.9313 GB, free: 2.891 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01643/0.3628, allocations: 8.671 MB / 0.9398 GB, free: 9.672 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000128/0.3629, allocations: 15.88 kB / 0.9398 GB, free: 9.656 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007597/0.3637, allocations: 208 kB / 0.94 GB, free: 9.453 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005958/0.3643, allocations: 365.1 kB / 0.9403 GB, free: 9.094 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0125/0.3768, allocations: 5.929 MB / 0.9461 GB, free: 3.148 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03702/0.4138, allocations: 23.75 MB / 0.9693 GB, free: 10.72 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003431/0.4173, allocations: 1.984 MB / 0.9713 GB, free: 8.727 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001944/0.4192, allocations: 1.337 MB / 0.9726 GB, free: 7.391 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 8.433e-05/0.4193, allocations: 17.31 kB / 0.9726 GB, free: 7.371 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.304e-05/0.4193, allocations: 55.81 kB / 0.9726 GB, free: 7.309 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=157): time 3.636e-06/0.4193, allocations: 0 / 0.9726 GB, free: 7.309 MB / 0.7169 GB Notification: Performance of matching and sorting (n=160): time 0.01388/0.4332, allocations: 6.671 MB / 0.9791 GB, free: 0.5898 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.882e-05/0.4333, allocations: 72.72 kB / 0.9792 GB, free: 0.5078 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.3921/0.8254, allocations: 1.902 MB / 0.9811 GB, free: 134.1 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0003757/0.8257, allocations: 54.58 kB / 0.9811 GB, free: 134.1 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.001562/0.8273, allocations: 2.188 MB / 0.9833 GB, free: 133.5 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006215/0.8279, allocations: 0.583 MB / 0.9838 GB, free: 133 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006671/0.8286, allocations: 406.8 kB / 0.9842 GB, free: 132.8 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.145e-05/0.8286, allocations: 305.5 kB / 0.9845 GB, free: 132.5 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001503/0.8301, allocations: 1.06 MB / 0.9855 GB, free: 132.1 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00193/0.8321, allocations: 1.764 MB / 0.9873 GB, free: 130.9 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00315/0.8352, allocations: 3.047 MB / 0.9902 GB, free: 129 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.22e-05/0.8352, allocations: 7.234 kB / 0.9902 GB, free: 129 MB / 0.7169 GB Notification: Performance of matching and sorting (n=281) (initialization): time 0.006565/0.8418, allocations: 3.908 MB / 0.9941 GB, free: 127.3 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.767e-05/0.8418, allocations: 15.72 kB / 0.9941 GB, free: 127.3 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.089e-05/0.8419, allocations: 25.78 kB / 0.9941 GB, free: 127.3 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002732/0.8446, allocations: 0.9243 MB / 0.995 GB, free: 127 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001768/0.8464, allocations: 432.6 kB / 0.9954 GB, free: 127 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01593/0.8623, allocations: 21.38 MB / 1.016 GB, free: 109.2 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002074/0.8644, allocations: 125.1 kB / 1.016 GB, free: 109.1 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001604/0.8645, allocations: 107 kB / 1.017 GB, free: 109.1 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (227): * Single equations (assignments): 215 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(2,6,100.0%), (2,6,100.0%), (2,6,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%), (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 prepare postOptimizeDAE: time 0.002012/0.8666, allocations: 1.64 MB / 1.018 GB, free: 108.4 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003617/0.8669, allocations: 268.2 kB / 1.018 GB, free: 108.2 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0044/0.8713, allocations: 3.241 MB / 1.022 GB, free: 106.8 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.989e-06/0.8713, allocations: 17.61 kB / 1.022 GB, free: 106.8 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.193e-05/0.8713, allocations: 10.94 kB / 1.022 GB, free: 106.8 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.163e-05/0.8713, allocations: 8.766 kB / 1.022 GB, free: 106.8 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009601/0.8809, allocations: 7.163 MB / 1.029 GB, free: 102.8 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.167e-06/0.881, allocations: 5.266 kB / 1.029 GB, free: 102.8 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008321/0.8818, allocations: 211.6 kB / 1.029 GB, free: 102.6 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00189/0.8837, allocations: 0.8889 MB / 1.03 GB, free: 101.7 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001058/0.8838, allocations: 32 kB / 1.03 GB, free: 101.7 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01392/0.8977, allocations: 21.36 MB / 1.051 GB, free: 78.98 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.309e-06/0.8977, allocations: 4 kB / 1.051 GB, free: 78.98 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004538/0.9022, allocations: 3.361 MB / 1.054 GB, free: 75.5 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001264/0.9035, allocations: 478.2 kB / 1.054 GB, free: 75.04 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003045/0.9038, allocations: 35.81 kB / 1.054 GB, free: 75 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001054/0.9049, allocations: 95.89 kB / 1.054 GB, free: 74.91 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003443/0.9052, allocations: 153 kB / 1.055 GB, free: 74.76 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.36e-05/0.9053, allocations: 52 kB / 1.055 GB, free: 74.71 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001373/0.9067, allocations: 1.221 MB / 1.056 GB, free: 73.48 MB / 0.7169 GB Notification: Performance of sort global known variables: time 8e-08/0.9067, allocations: 0 / 1.056 GB, free: 73.48 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.00249/0.9092, allocations: 0.9062 MB / 1.057 GB, free: 72.57 MB / 0.7169 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 (109): * Single equations (assignments): 97 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(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%), (2,4,100.0%), (2,2,100.0%), (2,6,100.0%), (2,6,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.004239/0.9134, allocations: 3.966 MB / 1.061 GB, free: 68.48 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.005093/0.9185, allocations: 4.296 MB / 1.065 GB, free: 64.04 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.589e-05/0.9185, allocations: 4 kB / 1.065 GB, free: 64.04 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.003182/0.9217, allocations: 2.899 MB / 1.068 GB, free: 60.99 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00318/0.9249, allocations: 0.8313 MB / 1.068 GB, free: 60.19 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03009/0.955, allocations: 25.23 MB / 1.093 GB, free: 33.87 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002569/0.9575, allocations: 2.661 MB / 1.096 GB, free: 31.17 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.001484/0.959, allocations: 0.5332 MB / 1.096 GB, free: 30.63 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001403/0.9604, allocations: 1.651 MB / 1.098 GB, free: 28.98 MB / 0.7169 GB Notification: Performance of SimCode: time 8.62e-07/0.9604, allocations: 4 kB / 1.098 GB, free: 28.98 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1833/1.144, allocations: 75.05 MB / 1.171 GB, free: 3.16 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.49/15.64, allocations: 7.797 kB / 1.171 GB, free: 3.152 MB / 0.7637 GB " [Timeout remaining time 644] (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_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_R.fmu > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 20.078488991130143] Failed to read output from testmodel.py, exit status != 0: 15.797280902042985 15.819821408 15.499765737 Calling exit ...