Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_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.00144/0.00144, allocations: 77.55 kB / 19.76 MB, free: 2.031 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.001559/0.001559, allocations: 162.9 kB / 23.01 MB, free: 4.949 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: 177.2 MB / 203.4 MB, free: 8.945 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.00246/0.00246, allocations: 242.2 kB / 260 MB, free: 424 kB / 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 0.9343/0.9343, allocations: 138.5 MB / 455 MB, free: 15.06 MB / 430.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_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N") translateModel(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_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.003078/0.003078, allocations: 103.8 kB / 0.6474 GB, free: 7.531 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4128/0.4158, allocations: 95.34 MB / 0.7405 GB, free: 17.46 MB / 0.5919 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N): time 0.03094/0.4468, allocations: 31.69 MB / 0.7714 GB, free: 12.39 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.02491/0.4717, allocations: 14.47 MB / 0.7856 GB, free: 1.195 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003891/0.4756, allocations: 203.9 kB / 0.7857 GB, free: 1.098 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.01019/0.4858, allocations: 3.662 MB / 0.7893 GB, free: 14.34 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.008972/0.4948, allocations: 2.985 MB / 0.7922 GB, free: 11.93 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.006489/0.5012, allocations: 2.332 MB / 0.7945 GB, free: 10.03 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.01396/0.5152, allocations: 8.82 MB / 0.8031 GB, free: 2.566 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00927/0.5245, allocations: 5.484 MB / 0.8085 GB, free: 12.96 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006917/0.5314, allocations: 4.098 MB / 0.8125 GB, free: 8.848 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007587/0.539, allocations: 3.998 MB / 0.8164 GB, free: 4.836 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.001708/0.5407, allocations: 0.7188 MB / 0.8171 GB, free: 4.117 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004238/0.5449, allocations: 1.619 MB / 0.8187 GB, free: 2.496 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.003497/0.5484, allocations: 2.899 MB / 0.8215 GB, free: 15.59 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.004775/0.5532, allocations: 2.755 MB / 0.8242 GB, free: 12.82 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.01308/0.5663, allocations: 11.28 MB / 0.8352 GB, free: 1.512 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.62e-06/0.5663, allocations: 0 / 0.8352 GB, free: 1.512 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.873e-06/0.5663, allocations: 3.938 kB / 0.8352 GB, free: 1.508 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 0.0002643/0.5665, allocations: 0 / 0.8352 GB, free: 1.508 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1338 * Number of variables: 1338 Notification: Performance of Generate backend data structure: time 0.01269/0.5792, allocations: 6.057 MB / 0.8411 GB, free: 11.38 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 3.663e-05/0.5793, allocations: 8.75 kB / 0.8411 GB, free: 11.37 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006758/0.586, allocations: 1.18 MB / 0.8423 GB, free: 10.19 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008064/0.5941, allocations: 3.474 MB / 0.8457 GB, free: 6.625 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003208/0.5944, allocations: 370.4 kB / 0.846 GB, free: 6.262 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001178/0.5956, allocations: 0.4922 MB / 0.8465 GB, free: 5.77 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01542/0.611, allocations: 8.859 MB / 0.8552 GB, free: 12.43 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001379/0.6112, allocations: 27.75 kB / 0.8552 GB, free: 12.4 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000555/0.6117, allocations: 216 kB / 0.8554 GB, free: 12.19 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00114/0.6128, allocations: 437.6 kB / 0.8558 GB, free: 11.76 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01199/0.6248, allocations: 6.077 MB / 0.8617 GB, free: 5.668 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03575/0.6606, allocations: 21.22 MB / 0.8825 GB, free: 15.97 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002994/0.6636, allocations: 1.911 MB / 0.8843 GB, free: 14.05 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002645/0.6662, allocations: 1.744 MB / 0.886 GB, free: 12.32 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000101/0.6663, allocations: 18 kB / 0.8861 GB, free: 12.3 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.819e-05/0.6664, allocations: 52.56 kB / 0.8861 GB, free: 12.24 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=171): time 3.827e-06/0.6664, allocations: 4 kB / 0.8861 GB, free: 12.24 MB / 0.7169 GB Notification: Performance of matching and sorting (n=276): time 0.1612/0.8276, allocations: 38.68 MB / 0.9239 GB, free: 5.5 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.829e-05/0.8277, allocations: 81.58 kB / 0.924 GB, free: 5.406 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003141/0.8308, allocations: 2.036 MB / 0.9259 GB, free: 3.352 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 0.0003912/0.8312, allocations: 73.7 kB / 0.926 GB, free: 3.273 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.00174/0.833, allocations: 2.355 MB / 0.9283 GB, free: 0.8945 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.001078/0.8341, allocations: 0.98 MB / 0.9293 GB, free: 15.9 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009589/0.835, allocations: 0.5063 MB / 0.9298 GB, free: 15.39 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001246/0.8351, allocations: 301.1 kB / 0.9301 GB, free: 15.09 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003094/0.8382, allocations: 1.973 MB / 0.932 GB, free: 13.11 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003631/0.8419, allocations: 2.599 MB / 0.9345 GB, free: 10.27 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007257/0.8491, allocations: 4.941 MB / 0.9393 GB, free: 5.055 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.428e-05/0.8491, allocations: 8 kB / 0.9394 GB, free: 5.047 MB / 0.7637 GB Notification: Performance of matching and sorting (n=376) (initialization): time 0.01573/0.8649, allocations: 7.623 MB / 0.9468 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 3.498e-05/0.8649, allocations: 12 kB / 0.9468 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.981e-05/0.8649, allocations: 16 kB / 0.9468 GB, free: 13.33 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009786/0.8747, allocations: 3.211 MB / 0.95 GB, free: 10.1 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001813/0.8765, allocations: 395.4 kB / 0.9503 GB, free: 9.715 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04859/0.9251, allocations: 32.58 MB / 0.9822 GB, free: 8.52 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002961/0.9281, allocations: 163.8 kB / 0.9823 GB, free: 8.359 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003369/0.9284, allocations: 107.9 kB / 0.9824 GB, free: 8.254 MB / 0.8106 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * 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 (202): * Single equations (assignments): 196 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(10,28,71.0%), (10,28,65.0%), (6,24,77.8%), (6,24,77.8%), (5,17,84.0%), (5,17,84.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003154/0.9316, allocations: 1.797 MB / 0.9842 GB, free: 6.445 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006838/0.9323, allocations: 314.1 kB / 0.9845 GB, free: 6.137 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3451/1.277, allocations: 7.227 MB / 0.9915 GB, free: 208.1 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.281e-05/1.277, allocations: 26.38 kB / 0.9916 GB, free: 208.1 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.024e-05/1.278, allocations: 29.84 kB / 0.9916 GB, free: 208.1 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.933e-05/1.278, allocations: 17.06 kB / 0.9916 GB, free: 208.1 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02191/1.3, allocations: 11.41 MB / 1.003 GB, free: 205.4 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.29e-05/1.3, allocations: 6.469 kB / 1.003 GB, free: 205.4 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001023/1.301, allocations: 227 kB / 1.003 GB, free: 205.4 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008051/1.309, allocations: 2.845 MB / 1.006 GB, free: 204.7 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003346/1.309, allocations: 54.78 kB / 1.006 GB, free: 204.7 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03702/1.346, allocations: 31.34 MB / 1.036 GB, free: 187.1 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.271e-06/1.346, allocations: 6.75 kB / 1.036 GB, free: 187.1 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01118/1.357, allocations: 6.761 MB / 1.043 GB, free: 183.6 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001567/1.359, allocations: 0.6901 MB / 1.044 GB, free: 183.4 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000367/1.359, allocations: 58.12 kB / 1.044 GB, free: 183.3 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001693/1.361, allocations: 171.1 kB / 1.044 GB, free: 183.2 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007437/1.362, allocations: 271 kB / 1.044 GB, free: 183.1 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001744/1.362, allocations: 71.56 kB / 1.044 GB, free: 183 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.001633/1.363, allocations: 1.335 MB / 1.046 GB, free: 182.3 MB / 0.8106 GB Notification: Performance of sort global known variables: time 8e-08/1.363, allocations: 0 / 1.046 GB, free: 182.3 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.003631/1.367, allocations: 1.364 MB / 1.047 GB, free: 182.2 MB / 0.8106 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (105): * Single equations (assignments): 99 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(5,17,84.0%), (6,24,77.8%), (10,28,65.0%), (5,17,92.0%), (6,24,77.8%), (10,28,65.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003063/1.367, allocations: 176.4 kB / 1.047 GB, free: 182 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.009302/1.377, allocations: 6.567 MB / 1.053 GB, free: 178.3 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.152e-05/1.377, allocations: 3.969 kB / 1.053 GB, free: 178.3 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.006473/1.383, allocations: 4.257 MB / 1.058 GB, free: 175.6 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00398/1.387, allocations: 1.009 MB / 1.059 GB, free: 175.1 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01442/1.401, allocations: 10.36 MB / 1.069 GB, free: 165 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003717/1.405, allocations: 3.111 MB / 1.072 GB, free: 161.9 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.00168/1.407, allocations: 0.5259 MB / 1.072 GB, free: 161.4 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003347/1.407, allocations: 144.5 kB / 1.072 GB, free: 161.2 MB / 0.8106 GB Notification: Performance of SimCode: time 1.032e-06/1.407, allocations: 0 / 1.072 GB, free: 161.2 MB / 0.8106 GB Notification: Performance of Templates: time 0.0927/1.5, allocations: 75.7 MB / 1.146 GB, free: 86.89 MB / 0.8106 GB " [Timeout remaining time 658] make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.966836400097236] Failed to read output from testmodel.py, exit status != 0: 1.508579149027355 1.517079457 0.948434331 Calling exit ...