Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001835/0.001835, allocations: 118.2 kB / 17.13 MB, free: 5.918 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00218/0.00218, allocations: 194.2 kB / 20.08 MB, free: 2.988 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.7/1.7, allocations: 225.6 MB / 248.5 MB, free: 3.594 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002396/0.002396, allocations: 284.8 kB / 303.6 MB, free: 3.742 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.106/1.106, allocations: 180.9 MB / 0.5268 GB, free: 2.715 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 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N") translateModel(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002896/0.002896, allocations: 99.84 kB / 0.7259 GB, free: 8.828 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4966/0.4995, allocations: 94.16 MB / 0.8179 GB, free: 7.637 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N): time 0.04877/0.5483, allocations: 41.82 MB / 0.8587 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.03052/0.5788, allocations: 15.28 MB / 0.8736 GB, free: 180 kB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006304/0.5851, allocations: 188 kB / 0.8738 GB, free: 120 kB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.01305/0.5982, allocations: 4.535 MB / 0.8782 GB, free: 12.62 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.009597/0.6078, allocations: 2.932 MB / 0.8811 GB, free: 10.19 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.0101/0.6179, allocations: 3.156 MB / 0.8842 GB, free: 7.598 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.01774/0.6356, allocations: 11.4 MB / 0.8953 GB, free: 1.074 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0182/0.6538, allocations: 9.236 MB / 0.9043 GB, free: 8.469 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01002/0.6638, allocations: 4.9 MB / 0.9091 GB, free: 3.555 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01114/0.675, allocations: 5.76 MB / 0.9148 GB, free: 13.78 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.003537/0.6785, allocations: 0.9531 MB / 0.9157 GB, free: 12.82 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00713/0.6856, allocations: 2.068 MB / 0.9177 GB, free: 10.75 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.009677/0.6953, allocations: 3.792 MB / 0.9214 GB, free: 6.953 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.01084/0.7062, allocations: 4.291 MB / 0.9256 GB, free: 2.645 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.02117/0.7273, allocations: 14.31 MB / 0.9396 GB, free: 4.285 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 7.023e-06/0.7273, allocations: 0 / 0.9396 GB, free: 4.285 MB / 0.67 GB Notification: Performance of FrontEnd: time 2.114e-06/0.7273, allocations: 0 / 0.9396 GB, free: 4.285 MB / 0.67 GB Notification: Performance of Transformations before backend: time 0.0004579/0.7278, allocations: 3.938 kB / 0.9396 GB, free: 4.281 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: 1668 * Number of variables: 1668 Notification: Performance of Generate backend data structure: time 0.02248/0.7503, allocations: 7.794 MB / 0.9472 GB, free: 12.39 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.254e-05/0.7503, allocations: 12.03 kB / 0.9472 GB, free: 12.38 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01125/0.7616, allocations: 1.561 MB / 0.9487 GB, free: 10.82 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01057/0.7721, allocations: 4.466 MB / 0.9531 GB, free: 6.277 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005367/0.7727, allocations: 452.5 kB / 0.9535 GB, free: 5.832 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002471/0.7751, allocations: 0.594 MB / 0.9541 GB, free: 5.238 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02615/0.8013, allocations: 10.69 MB / 0.9645 GB, free: 10.17 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000281/0.8016, allocations: 27.78 kB / 0.9646 GB, free: 10.14 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001813/0.8034, allocations: 267.9 kB / 0.9648 GB, free: 9.879 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003285/0.8067, allocations: 0.7768 MB / 0.9656 GB, free: 9.098 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0196/0.8263, allocations: 8.561 MB / 0.9739 GB, free: 0.5156 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07107/0.8973, allocations: 46.6 MB / 1.019 GB, free: 14.16 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00676/0.9041, allocations: 3.983 MB / 1.023 GB, free: 10.16 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00604/0.9101, allocations: 3.376 MB / 1.027 GB, free: 6.777 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004115/0.9105, allocations: 38.78 kB / 1.027 GB, free: 6.738 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.654e-05/0.9106, allocations: 73.34 kB / 1.027 GB, free: 6.656 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=353): time 5.54e-06/0.9106, allocations: 0 / 1.027 GB, free: 6.656 MB / 0.7637 GB Notification: Performance of matching and sorting (n=578): time 0.9615/1.872, allocations: 122.6 MB / 1.146 GB, free: 273.8 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.616e-05/1.872, allocations: 114.8 kB / 1.147 GB, free: 273.8 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003765/1.876, allocations: 2.683 MB / 1.149 GB, free: 272.8 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 0.001085/1.877, allocations: 122.3 kB / 1.149 GB, free: 272.7 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.001658/1.879, allocations: 2.749 MB / 1.152 GB, free: 271.8 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.002198/1.881, allocations: 2.055 MB / 1.154 GB, free: 270.6 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001879/1.883, allocations: 0.9261 MB / 1.155 GB, free: 270.1 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 4.344e-05/1.883, allocations: 306.2 kB / 1.155 GB, free: 269.8 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00579/1.889, allocations: 4.079 MB / 1.159 GB, free: 268.1 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007785/1.896, allocations: 5.015 MB / 1.164 GB, free: 265.5 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01593/1.912, allocations: 9.847 MB / 1.174 GB, free: 260.2 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.991e-05/1.912, allocations: 6.469 kB / 1.174 GB, free: 260.2 MB / 0.8731 GB Notification: Performance of matching and sorting (n=713) (initialization): time 0.04172/1.954, allocations: 16.74 MB / 1.19 GB, free: 253.7 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 6.01e-05/1.954, allocations: 17.45 kB / 1.19 GB, free: 253.7 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.291e-05/1.954, allocations: 27.06 kB / 1.19 GB, free: 253.7 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03137/1.986, allocations: 9.093 MB / 1.199 GB, free: 251.2 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002386/1.988, allocations: 0.5245 MB / 1.2 GB, free: 251 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.09037/2.078, allocations: 77.02 MB / 1.275 GB, free: 180.8 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005495/2.084, allocations: 283.8 kB / 1.275 GB, free: 180.5 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001153/2.085, allocations: 192 kB / 1.275 GB, free: 180.3 MB / 0.8731 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 (274): * Single equations (assignments): 263 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 11 systems {(5,17,84.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (14,72,59.2%), (14,72,59.2%), (6,40,77.8%), (8,70,73.4%), (8,70,70.3%), (6,40,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004826/2.09, allocations: 2.42 MB / 1.278 GB, free: 177.9 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001543/2.091, allocations: 0.4893 MB / 1.278 GB, free: 177.4 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03693/2.128, allocations: 16.54 MB / 1.294 GB, free: 160.7 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.347e-05/2.128, allocations: 59.98 kB / 1.294 GB, free: 160.6 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0002314/2.129, allocations: 72 kB / 1.294 GB, free: 160.6 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001181/2.129, allocations: 31.89 kB / 1.294 GB, free: 160.5 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05283/2.181, allocations: 25.38 MB / 1.319 GB, free: 134.9 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.211e-05/2.182, allocations: 8 kB / 1.319 GB, free: 134.9 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001841/2.183, allocations: 323.5 kB / 1.319 GB, free: 134.6 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02828/2.212, allocations: 8.27 MB / 1.328 GB, free: 126.3 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001017/2.213, allocations: 108 kB / 1.328 GB, free: 126.2 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.08727/2.3, allocations: 73.91 MB / 1.4 GB, free: 50.76 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.873e-06/2.3, allocations: 8 kB / 1.4 GB, free: 50.75 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04025/2.34, allocations: 21.31 MB / 1.421 GB, free: 29.09 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003146/2.343, allocations: 1.376 MB / 1.422 GB, free: 27.69 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0015/2.345, allocations: 108 kB / 1.422 GB, free: 27.58 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004122/2.349, allocations: 287.6 kB / 1.422 GB, free: 27.3 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002088/2.351, allocations: 0.5221 MB / 1.423 GB, free: 26.77 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006818/2.352, allocations: 152 kB / 1.423 GB, free: 26.62 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.002665/2.354, allocations: 1.772 MB / 1.425 GB, free: 24.86 MB / 0.8731 GB Notification: Performance of sort global known variables: time 7e-08/2.354, allocations: 0 / 1.425 GB, free: 24.86 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.008631/2.363, allocations: 2.465 MB / 1.427 GB, free: 22.39 MB / 0.8731 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * Number of states: 8 (RLCLine_sc.phase1.Vc[1],RLCLine_sc.phase1.Vc[2],RLCLine_sc.phase2.Vc[1],RLCLine_sc.phase2.Vc[2],RLCLine_sc.phase3.Vc[1],RLCLine_sc.phase3.Vc[2],RLCLine_sc.neutral.Vc[1],RLCLine_sc.neutral.Vc[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 (142): * Single equations (assignments): 131 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 11 systems {(6,40,77.8%), (8,70,70.3%), (14,72,51.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (5,17,84.0%), (6,40,83.3%), (8,70,70.3%), (14,72,51.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.00106/2.364, allocations: 243.1 kB / 1.427 GB, free: 22.16 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.02432/2.388, allocations: 13.74 MB / 1.441 GB, free: 8.23 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.744e-05/2.388, allocations: 4 kB / 1.441 GB, free: 8.227 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.01694/2.405, allocations: 9.028 MB / 1.45 GB, free: 15.05 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008378/2.414, allocations: 1.385 MB / 1.451 GB, free: 13.73 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03708/2.451, allocations: 16.7 MB / 1.467 GB, free: 12.92 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009665/2.46, allocations: 4.991 MB / 1.472 GB, free: 7.887 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001294/2.462, allocations: 219.4 kB / 1.472 GB, free: 7.672 MB / 0.9044 GB Notification: Performance of SimCode: time 1.333e-06/2.462, allocations: 0 / 1.472 GB, free: 7.672 MB / 0.9044 GB Notification: Performance of Templates: time 1.194/3.655, allocations: 475.3 MB / 1.936 GB, free: 279.3 MB / 0.9512 GB " [Timeout remaining time 656] make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 30.47302975691855] Failed to read output from testmodel.py, exit status != 0: 3.6646284330636263 3.673622749 2.943706209 Calling exit ...