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.001359/0.001359, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.00166/0.00166, allocations: 219.5 kB / 23.01 MB, free: 4.609 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.43/1.43, allocations: 230.6 MB / 256.8 MB, free: 8.031 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.002585/0.002585, allocations: 285.2 kB / 313.5 MB, free: 2.922 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.201/1.201, allocations: 180.6 MB / 0.5377 GB, free: 13.05 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.002877/0.002877, allocations: 97.91 kB / 0.7408 GB, free: 27.9 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.156/0.1589, allocations: 95.38 MB / 0.834 GB, free: 8.145 MB / 0.5763 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R): time 0.04381/0.2027, allocations: 36.81 MB / 0.8699 GB, free: 3.219 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.01811/0.2208, allocations: 10.35 MB / 0.88 GB, free: 8.84 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002972/0.2238, allocations: 186.6 kB / 0.8802 GB, free: 8.656 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.01033/0.2341, allocations: 3.988 MB / 0.8841 GB, free: 4.66 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.005824/0.2399, allocations: 2.134 MB / 0.8862 GB, free: 2.516 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.005164/0.2451, allocations: 2.03 MB / 0.8882 GB, free: 500 kB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.01027/0.2553, allocations: 7.976 MB / 0.896 GB, free: 8.488 MB / 0.6388 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009531/0.2649, allocations: 5.276 MB / 0.9011 GB, free: 3.086 MB / 0.6388 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005693/0.2706, allocations: 3.474 MB / 0.9045 GB, free: 15.6 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006753/0.2773, allocations: 3.941 MB / 0.9083 GB, free: 11.65 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.001853/0.2792, allocations: 0.6797 MB / 0.909 GB, free: 10.97 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003852/0.283, allocations: 1.463 MB / 0.9104 GB, free: 9.504 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.004171/0.2872, allocations: 2.685 MB / 0.9131 GB, free: 6.812 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.006067/0.2933, allocations: 3.104 MB / 0.9161 GB, free: 3.695 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.01422/0.3075, allocations: 10.41 MB / 0.9263 GB, free: 9.25 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 6.191e-06/0.3075, allocations: 0 / 0.9263 GB, free: 9.25 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.392e-06/0.3075, allocations: 4 kB / 0.9263 GB, free: 9.246 MB / 0.67 GB Notification: Performance of Transformations before backend: time 0.0003189/0.3078, allocations: 3.984 kB / 0.9263 GB, free: 9.242 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.01378/0.3216, allocations: 5.463 MB / 0.9316 GB, free: 3.719 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.06e-05/0.3216, allocations: 8.75 kB / 0.9316 GB, free: 3.711 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004929/0.3266, allocations: 0.9929 MB / 0.9326 GB, free: 2.715 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007263/0.3338, allocations: 3.132 MB / 0.9356 GB, free: 15.51 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003055/0.3341, allocations: 361.8 kB / 0.936 GB, free: 15.16 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001029/0.3352, allocations: 472.3 kB / 0.9364 GB, free: 14.7 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0141/0.3493, allocations: 7.903 MB / 0.9442 GB, free: 6.434 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001093/0.3494, allocations: 19.88 kB / 0.9442 GB, free: 6.414 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005108/0.3499, allocations: 212 kB / 0.9444 GB, free: 6.207 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004983/0.3504, allocations: 369 kB / 0.9447 GB, free: 5.844 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01074/0.3611, allocations: 5.937 MB / 0.9505 GB, free: 15.89 MB / 0.7013 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03856/0.3997, allocations: 35.68 MB / 0.9854 GB, free: 8.965 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003291/0.403, allocations: 1.995 MB / 0.9873 GB, free: 6.961 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001874/0.4048, allocations: 1.34 MB / 0.9886 GB, free: 5.625 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 9.627e-05/0.4049, allocations: 17.31 kB / 0.9886 GB, free: 5.605 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.612e-05/0.405, allocations: 55.81 kB / 0.9887 GB, free: 5.543 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=157): time 3.185e-06/0.405, allocations: 0 / 0.9887 GB, free: 5.543 MB / 0.7325 GB Notification: Performance of matching and sorting (n=160): time 0.3436/0.7486, allocations: 6.659 MB / 0.9952 GB, free: 146.1 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.811e-05/0.7487, allocations: 68.22 kB / 0.9953 GB, free: 146 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002544/0.7512, allocations: 1.87 MB / 0.9971 GB, free: 145.8 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.000186/0.7514, allocations: 52.33 kB / 0.9971 GB, free: 145.8 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009266/0.7523, allocations: 2.184 MB / 0.9993 GB, free: 145.1 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003781/0.7527, allocations: 0.5904 MB / 0.9998 GB, free: 144.7 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005631/0.7533, allocations: 406.6 kB / 1 GB, free: 144.5 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 3.252e-05/0.7533, allocations: 302.5 kB / 1.001 GB, free: 144.2 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001481/0.7548, allocations: 1.061 MB / 1.002 GB, free: 143.8 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001532/0.7563, allocations: 1.764 MB / 1.003 GB, free: 142.5 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002904/0.7592, allocations: 3.05 MB / 1.006 GB, free: 140.6 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.928e-06/0.7592, allocations: 5.094 kB / 1.006 GB, free: 140.6 MB / 0.7325 GB Notification: Performance of matching and sorting (n=281) (initialization): time 0.006724/0.766, allocations: 3.902 MB / 1.01 GB, free: 139 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 4.392e-05/0.766, allocations: 19.62 kB / 1.01 GB, free: 139 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.284e-05/0.766, allocations: 21.84 kB / 1.01 GB, free: 139 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002549/0.7686, allocations: 0.9305 MB / 1.011 GB, free: 138.6 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001601/0.7702, allocations: 436.1 kB / 1.011 GB, free: 138.6 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01494/0.7851, allocations: 21.54 MB / 1.032 GB, free: 120.7 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001901/0.787, allocations: 119.3 kB / 1.033 GB, free: 120.6 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001465/0.7872, allocations: 108 kB / 1.033 GB, free: 120.6 MB / 0.7325 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.001984/0.7892, allocations: 1.65 MB / 1.034 GB, free: 119.9 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003327/0.7895, allocations: 264.4 kB / 1.035 GB, free: 119.7 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004205/0.7937, allocations: 3.233 MB / 1.038 GB, free: 118.3 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.498e-06/0.7937, allocations: 15.62 kB / 1.038 GB, free: 118.3 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.003e-05/0.7937, allocations: 7.844 kB / 1.038 GB, free: 118.3 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.245e-05/0.7937, allocations: 7.969 kB / 1.038 GB, free: 118.3 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009273/0.803, allocations: 7.516 MB / 1.045 GB, free: 113.9 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.374e-06/0.803, allocations: 3.812 kB / 1.045 GB, free: 113.9 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008155/0.8038, allocations: 216.2 kB / 1.045 GB, free: 113.9 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001869/0.8057, allocations: 0.896 MB / 1.046 GB, free: 113.4 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.098e-05/0.8058, allocations: 31.16 kB / 1.046 GB, free: 113.3 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01441/0.8202, allocations: 21.52 MB / 1.067 GB, free: 92.19 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.977e-06/0.8202, allocations: 7.938 kB / 1.067 GB, free: 92.18 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004267/0.8245, allocations: 3.369 MB / 1.071 GB, free: 88.7 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001135/0.8256, allocations: 470.7 kB / 1.071 GB, free: 88.23 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002939/0.8259, allocations: 32 kB / 1.071 GB, free: 88.2 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009598/0.8269, allocations: 98.06 kB / 1.071 GB, free: 88.11 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002998/0.8272, allocations: 148.9 kB / 1.071 GB, free: 87.96 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.676e-05/0.8272, allocations: 52.17 kB / 1.071 GB, free: 87.91 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001246/0.8285, allocations: 1.221 MB / 1.072 GB, free: 86.68 MB / 0.7325 GB Notification: Performance of sort global known variables: time 5.1e-08/0.8285, allocations: 0 / 1.072 GB, free: 86.68 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.002342/0.8308, allocations: 0.9101 MB / 1.073 GB, free: 85.77 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 (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.0002177/0.8311, allocations: 153 kB / 1.074 GB, free: 85.61 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.004894/0.8359, allocations: 4.298 MB / 1.078 GB, free: 81.18 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 5.851e-06/0.836, allocations: 256 / 1.078 GB, free: 81.18 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.003071/0.839, allocations: 2.909 MB / 1.081 GB, free: 78.11 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003073/0.8421, allocations: 0.8306 MB / 1.081 GB, free: 77.32 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01045/0.8525, allocations: 8.462 MB / 1.09 GB, free: 68.77 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002396/0.8549, allocations: 3.279 MB / 1.093 GB, free: 65.46 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005955/0.8555, allocations: 159.4 kB / 1.093 GB, free: 65.3 MB / 0.7325 GB Notification: Performance of SimCode: time 9.02e-07/0.8555, allocations: 0 / 1.093 GB, free: 65.3 MB / 0.7325 GB Notification: Performance of Templates: time 0.6106/1.466, allocations: 340.1 MB / 1.425 GB, free: 265.9 MB / 0.92 GB " [Timeout remaining time 659] 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.7424797618296] Failed to read output from testmodel.py, exit status != 0: 1.4729634609539062 1.482518655 1.172661665 Calling exit ...