Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_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.001359/0.001359, allocations: 78.73 kB / 19 MB, free: 2.871 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.00165/0.00165, allocations: 161.9 kB / 22.25 MB, free: 5.141 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.394/1.394, allocations: 177.2 MB / 202.6 MB, free: 9.27 MB / 190.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.002488/0.002488, allocations: 245.5 kB / 259.3 MB, free: 0.5781 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.042/1.042, allocations: 138.5 MB / 454.2 MB, free: 2.039 MB / 366.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_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N") translateModel(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N") [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.002979/0.002979, allocations: 103.8 kB / 0.6466 GB, free: 5.203 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3614/0.3644, allocations: 95.36 MB / 0.7397 GB, free: 15.18 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N): time 0.04411/0.4085, allocations: 35.93 MB / 0.7748 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.01969/0.4282, allocations: 11.01 MB / 0.7856 GB, free: 104 kB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003659/0.4319, allocations: 198.6 kB / 0.7858 GB, free: 15.9 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.01207/0.4439, allocations: 4.387 MB / 0.7901 GB, free: 11.51 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.006471/0.4504, allocations: 2.332 MB / 0.7923 GB, free: 9.168 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.005652/0.4561, allocations: 2.173 MB / 0.7945 GB, free: 6.996 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.01457/0.4706, allocations: 9.273 MB / 0.8035 GB, free: 13.7 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01719/0.4878, allocations: 6.339 MB / 0.8097 GB, free: 7.238 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01567/0.5035, allocations: 5.866 MB / 0.8154 GB, free: 1.359 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01142/0.5149, allocations: 4.466 MB / 0.8198 GB, free: 12.88 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.004527/0.5194, allocations: 0.8242 MB / 0.8206 GB, free: 12.05 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005827/0.5253, allocations: 1.498 MB / 0.8221 GB, free: 10.55 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.005717/0.531, allocations: 3.235 MB / 0.8252 GB, free: 7.312 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.007374/0.5384, allocations: 2.969 MB / 0.8281 GB, free: 4.332 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0174/0.5558, allocations: 12.4 MB / 0.8402 GB, free: 7.891 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 6.302e-06/0.5558, allocations: 0 / 0.8402 GB, free: 7.891 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.814e-06/0.5558, allocations: 0 / 0.8402 GB, free: 7.891 MB / 0.67 GB Notification: Performance of Transformations before backend: time 0.0004268/0.5562, allocations: 3.984 kB / 0.8402 GB, free: 7.887 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: 1524 * Number of variables: 1524 Notification: Performance of Generate backend data structure: time 0.01931/0.5755, allocations: 6.399 MB / 0.8465 GB, free: 1.426 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.224e-05/0.5755, allocations: 12.69 kB / 0.8465 GB, free: 1.414 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006164/0.5817, allocations: 1.109 MB / 0.8476 GB, free: 308 kB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009914/0.5916, allocations: 3.568 MB / 0.8511 GB, free: 12.67 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005001/0.5921, allocations: 423.8 kB / 0.8515 GB, free: 12.25 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001978/0.5941, allocations: 0.5394 MB / 0.852 GB, free: 11.71 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02259/0.6167, allocations: 10.29 MB / 0.862 GB, free: 0.8672 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002503/0.6169, allocations: 23.77 kB / 0.8621 GB, free: 0.8438 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001537/0.6185, allocations: 244 kB / 0.8623 GB, free: 0.6055 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006389/0.6191, allocations: 426.9 kB / 0.8627 GB, free: 192 kB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01476/0.6339, allocations: 7.116 MB / 0.8697 GB, free: 9.062 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03955/0.6734, allocations: 25.36 MB / 0.8944 GB, free: 15.08 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004552/0.678, allocations: 2.896 MB / 0.8972 GB, free: 12.16 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002895/0.6809, allocations: 1.94 MB / 0.8991 GB, free: 10.23 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001011/0.681, allocations: 22 kB / 0.8992 GB, free: 10.21 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.721e-05/0.681, allocations: 56.56 kB / 0.8992 GB, free: 10.14 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=209): time 4.779e-06/0.681, allocations: 3.938 kB / 0.8992 GB, free: 10.14 MB / 0.7325 GB Notification: Performance of matching and sorting (n=212): time 0.02415/0.7052, allocations: 10.25 MB / 0.9092 GB, free: 15.87 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.516e-05/0.7053, allocations: 73.41 kB / 0.9093 GB, free: 15.79 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002378/0.7076, allocations: 1.837 MB / 0.9111 GB, free: 13.92 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 0.0001334/0.7078, allocations: 61.7 kB / 0.9112 GB, free: 13.86 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.001741/0.7095, allocations: 2.485 MB / 0.9136 GB, free: 11.35 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006689/0.7102, allocations: 0.7669 MB / 0.9143 GB, free: 10.57 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007879/0.711, allocations: 481.5 kB / 0.9148 GB, free: 10.1 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001257/0.7111, allocations: 301.1 kB / 0.9151 GB, free: 9.801 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002067/0.7132, allocations: 1.379 MB / 0.9164 GB, free: 8.418 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002693/0.7158, allocations: 2.108 MB / 0.9185 GB, free: 5.992 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00512/0.721, allocations: 3.766 MB / 0.9222 GB, free: 1.914 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.284e-05/0.721, allocations: 8 kB / 0.9222 GB, free: 1.906 MB / 0.7481 GB Notification: Performance of matching and sorting (n=339) (initialization): time 0.008254/0.7292, allocations: 4.996 MB / 0.927 GB, free: 12.89 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 3.473e-05/0.7293, allocations: 24.19 kB / 0.9271 GB, free: 12.86 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.851e-05/0.7293, allocations: 24 kB / 0.9271 GB, free: 12.84 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003627/0.7329, allocations: 1.581 MB / 0.9286 GB, free: 11.25 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00163/0.7346, allocations: 455.2 kB / 0.9291 GB, free: 10.8 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3336/1.068, allocations: 17.78 MB / 0.9464 GB, free: 174 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002161/1.07, allocations: 147.8 kB / 0.9466 GB, free: 174 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001962/1.07, allocations: 105.6 kB / 0.9467 GB, free: 174 MB / 0.7637 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 (231): * Single equations (assignments): 227 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(7,31,57.1%), (6,24,66.7%), (4,18,100.0%), (4,18,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003121/1.074, allocations: 1.943 MB / 0.9486 GB, free: 173.2 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004163/1.074, allocations: 279 kB / 0.9488 GB, free: 173.2 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006618/1.081, allocations: 4.394 MB / 0.9531 GB, free: 171.4 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.301e-05/1.081, allocations: 31.45 kB / 0.9532 GB, free: 171.4 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.519e-05/1.081, allocations: 14.84 kB / 0.9532 GB, free: 171.4 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.483e-05/1.081, allocations: 11.66 kB / 0.9532 GB, free: 171.4 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01118/1.092, allocations: 8.354 MB / 0.9613 GB, free: 168 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.987e-06/1.092, allocations: 7.75 kB / 0.9613 GB, free: 168 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009088/1.093, allocations: 229 kB / 0.9616 GB, free: 168 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002817/1.096, allocations: 1.434 MB / 0.963 GB, free: 167.7 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001255/1.096, allocations: 46.12 kB / 0.963 GB, free: 167.6 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01663/1.112, allocations: 17.78 MB / 0.9804 GB, free: 151.9 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.448e-06/1.112, allocations: 8 kB / 0.9804 GB, free: 151.9 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005549/1.118, allocations: 4.475 MB / 0.9848 GB, free: 147.5 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001363/1.119, allocations: 0.5542 MB / 0.9853 GB, free: 147 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003177/1.12, allocations: 36 kB / 0.9853 GB, free: 147 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00122/1.121, allocations: 119.8 kB / 0.9854 GB, free: 146.9 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000402/1.121, allocations: 189.5 kB / 0.9856 GB, free: 146.7 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001255/1.121, allocations: 67.98 kB / 0.9857 GB, free: 146.6 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.001224/1.123, allocations: 1.165 MB / 0.9868 GB, free: 145.5 MB / 0.7637 GB Notification: Performance of sort global known variables: time 9e-08/1.123, allocations: 2.188 kB / 0.9868 GB, free: 145.5 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.002667/1.125, allocations: 1.137 MB / 0.9879 GB, free: 144.3 MB / 0.7637 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 (107): * Single equations (assignments): 103 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(4,18,100.0%), (6,24,66.7%), (4,18,100.0%), (6,32,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002336/1.125, allocations: 162 kB / 0.9881 GB, free: 144.1 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.005777/1.131, allocations: 4.546 MB / 0.9925 GB, free: 139.6 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 7.504e-06/1.131, allocations: 6.438 kB / 0.9925 GB, free: 139.6 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.003446/1.135, allocations: 2.791 MB / 0.9953 GB, free: 136.8 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002976/1.138, allocations: 0.8251 MB / 0.9961 GB, free: 136 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0116/1.149, allocations: 9.55 MB / 1.005 GB, free: 126.4 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002913/1.152, allocations: 3.162 MB / 1.008 GB, free: 123.2 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.001426/1.154, allocations: 0.5343 MB / 1.009 GB, free: 122.6 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003552/1.154, allocations: 140.5 kB / 1.009 GB, free: 122.5 MB / 0.7637 GB Notification: Performance of SimCode: time 1.072e-06/1.154, allocations: 0 / 1.009 GB, free: 122.5 MB / 0.7637 GB Notification: Performance of Templates: time 0.06237/1.216, allocations: 52.39 MB / 1.06 GB, free: 71.14 MB / 0.7637 GB " [Timeout remaining time 659] make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.807632002979517] Failed to read output from testmodel.py, exit status != 0: 1.2241801172494888 1.232493007 0.6742523370000001 Calling exit ...