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.001495/0.001495, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.001548/0.001548, allocations: 218.5 kB / 22.99 MB, free: 4.945 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.419/1.419, allocations: 230.6 MB / 256.8 MB, free: 7.812 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.002625/0.002625, allocations: 291.8 kB / 313.5 MB, free: 2.613 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.216/1.216, allocations: 180.6 MB / 0.5377 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: translateModel(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R") translateModel(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R") [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.00301/0.00301, allocations: 106.4 kB / 0.7407 GB, free: 27.77 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.179/0.182, allocations: 95.38 MB / 0.8339 GB, free: 7.836 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R): time 0.0444/0.2264, allocations: 33.67 MB / 0.8668 GB, free: 6.055 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.01921/0.2456, allocations: 10.02 MB / 0.8765 GB, free: 12.01 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003497/0.2491, allocations: 190.6 kB / 0.8767 GB, free: 11.82 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.01093/0.2601, allocations: 3.828 MB / 0.8805 GB, free: 7.988 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.006817/0.2669, allocations: 2.146 MB / 0.8826 GB, free: 5.832 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.006212/0.2731, allocations: 1.967 MB / 0.8845 GB, free: 3.867 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.01168/0.2848, allocations: 7.964 MB / 0.8923 GB, free: 11.88 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0118/0.2966, allocations: 5.229 MB / 0.8974 GB, free: 6.523 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00729/0.3039, allocations: 3.494 MB / 0.9008 GB, free: 3.02 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007764/0.3116, allocations: 3.699 MB / 0.9044 GB, free: 15.31 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.002617/0.3142, allocations: 0.6797 MB / 0.9051 GB, free: 14.63 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004739/0.319, allocations: 1.354 MB / 0.9064 GB, free: 13.27 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.004896/0.3239, allocations: 2.681 MB / 0.909 GB, free: 10.59 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.007412/0.3313, allocations: 2.521 MB / 0.9115 GB, free: 8.055 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.01688/0.3482, allocations: 10.46 MB / 0.9217 GB, free: 13.56 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 6.893e-06/0.3482, allocations: 0 / 0.9217 GB, free: 13.56 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.833e-06/0.3482, allocations: 0 / 0.9217 GB, free: 13.56 MB / 0.67 GB Notification: Performance of Transformations before backend: time 0.0004182/0.3486, allocations: 0 / 0.9217 GB, free: 13.56 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.01746/0.3661, allocations: 5.459 MB / 0.927 GB, free: 8.043 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 5.101e-05/0.3661, allocations: 12.75 kB / 0.927 GB, free: 8.031 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006246/0.3724, allocations: 0.9966 MB / 0.928 GB, free: 7.031 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009096/0.3815, allocations: 3.128 MB / 0.931 GB, free: 3.836 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004453/0.3819, allocations: 357.9 kB / 0.9314 GB, free: 3.484 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001996/0.3839, allocations: 480.3 kB / 0.9318 GB, free: 3.016 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02085/0.4047, allocations: 8.671 MB / 0.9403 GB, free: 9.797 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003285/0.4051, allocations: 15.88 kB / 0.9403 GB, free: 9.781 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002296/0.4074, allocations: 208 kB / 0.9405 GB, free: 9.578 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007506/0.4081, allocations: 369.1 kB / 0.9409 GB, free: 9.215 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0144/0.4225, allocations: 5.929 MB / 0.9467 GB, free: 3.27 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04023/0.4627, allocations: 22.94 MB / 0.9691 GB, free: 11.66 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003612/0.4664, allocations: 1.984 MB / 0.971 GB, free: 9.668 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002034/0.4684, allocations: 1.337 MB / 0.9723 GB, free: 8.332 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 8.396e-05/0.4685, allocations: 17.31 kB / 0.9723 GB, free: 8.312 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.28e-05/0.4685, allocations: 51.88 kB / 0.9724 GB, free: 8.254 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=157): time 3.757e-06/0.4685, allocations: 0 / 0.9724 GB, free: 8.254 MB / 0.7169 GB Notification: Performance of matching and sorting (n=160): time 0.01426/0.4828, allocations: 6.655 MB / 0.9789 GB, free: 1.551 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.336e-05/0.4829, allocations: 72.66 kB / 0.979 GB, free: 1.469 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.3899/0.8727, allocations: 1.704 MB / 0.9806 GB, free: 132.5 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.00031/0.8731, allocations: 53.36 kB / 0.9807 GB, free: 132.5 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.001363/0.8744, allocations: 2.2 MB / 0.9828 GB, free: 132.3 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006154/0.875, allocations: 0.5827 MB / 0.9834 GB, free: 132 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006601/0.8757, allocations: 402.2 kB / 0.9838 GB, free: 132 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.457e-05/0.8757, allocations: 306.8 kB / 0.9841 GB, free: 131.7 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001622/0.8774, allocations: 1.059 MB / 0.9851 GB, free: 131.3 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001807/0.8792, allocations: 1.762 MB / 0.9868 GB, free: 130 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003399/0.8826, allocations: 3.05 MB / 0.9898 GB, free: 128.1 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.301e-05/0.8826, allocations: 9.625 kB / 0.9898 GB, free: 128.1 MB / 0.7169 GB Notification: Performance of matching and sorting (n=281) (initialization): time 0.006231/0.8888, allocations: 3.881 MB / 0.9936 GB, free: 126.5 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.755e-05/0.8889, allocations: 18.66 kB / 0.9936 GB, free: 126.5 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.113e-05/0.8889, allocations: 23.73 kB / 0.9936 GB, free: 126.5 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002653/0.8915, allocations: 0.938 MB / 0.9946 GB, free: 126.2 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001663/0.8932, allocations: 424.5 kB / 0.995 GB, free: 126.1 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01726/0.9105, allocations: 21.11 MB / 1.016 GB, free: 108.7 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002034/0.9125, allocations: 124.4 kB / 1.016 GB, free: 108.7 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001593/0.9127, allocations: 92.09 kB / 1.016 GB, free: 108.6 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.002356/0.915, allocations: 1.651 MB / 1.017 GB, free: 107.9 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003892/0.9154, allocations: 252.8 kB / 1.018 GB, free: 107.8 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004464/0.9199, allocations: 3.223 MB / 1.021 GB, free: 106.4 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.072e-05/0.9199, allocations: 23.06 kB / 1.021 GB, free: 106.4 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.258e-05/0.9199, allocations: 7.5 kB / 1.021 GB, free: 106.4 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.206e-05/0.9199, allocations: 8.344 kB / 1.021 GB, free: 106.4 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009044/0.929, allocations: 6.441 MB / 1.027 GB, free: 103.4 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.126e-06/0.929, allocations: 3.812 kB / 1.027 GB, free: 103.4 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008445/0.9298, allocations: 217.4 kB / 1.027 GB, free: 103.3 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001931/0.9317, allocations: 0.8947 MB / 1.028 GB, free: 102.8 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.706e-05/0.9318, allocations: 32.25 kB / 1.028 GB, free: 102.8 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01397/0.9458, allocations: 21.1 MB / 1.049 GB, free: 80.8 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.787e-06/0.9458, allocations: 4 kB / 1.049 GB, free: 80.79 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00455/0.9504, allocations: 3.34 MB / 1.052 GB, free: 77.34 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001246/0.9516, allocations: 456.2 kB / 1.053 GB, free: 76.89 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002783/0.9519, allocations: 35.98 kB / 1.053 GB, free: 76.86 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001014/0.9529, allocations: 87.89 kB / 1.053 GB, free: 76.77 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003072/0.9532, allocations: 144.9 kB / 1.053 GB, free: 76.63 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.029e-05/0.9533, allocations: 48 kB / 1.053 GB, free: 76.59 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001187/0.9545, allocations: 1.094 MB / 1.054 GB, free: 75.47 MB / 0.7169 GB Notification: Performance of sort global known variables: time 9e-08/0.9545, allocations: 0 / 1.054 GB, free: 75.47 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.002531/0.957, allocations: 0.8984 MB / 1.055 GB, free: 74.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.0002309/0.9572, allocations: 157.8 kB / 1.055 GB, free: 74.41 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.005112/0.9623, allocations: 4.294 MB / 1.059 GB, free: 69.98 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 7.003e-06/0.9624, allocations: 4 kB / 1.059 GB, free: 69.97 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.003141/0.9655, allocations: 2.908 MB / 1.062 GB, free: 66.91 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002744/0.9682, allocations: 0.7637 MB / 1.063 GB, free: 66.18 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01074/0.979, allocations: 8.441 MB / 1.071 GB, free: 57.67 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002569/0.9816, allocations: 2.739 MB / 1.074 GB, free: 54.89 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005707/0.9821, allocations: 143.4 kB / 1.074 GB, free: 54.75 MB / 0.7169 GB Notification: Performance of SimCode: time 9.12e-07/0.9821, allocations: 3.938 kB / 1.074 GB, free: 54.75 MB / 0.7169 GB Notification: Performance of Templates: time 0.6768/1.659, allocations: 340.6 MB / 1.406 GB, free: 270.7 MB / 0.92 GB " [Timeout remaining time 658] make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.makefile [Timeout 660] (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 & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 20.79689689166844] Failed to read output from testmodel.py, exit status != 0: 1.6671362570486963 1.676597241 1.325894058 Calling exit ...