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.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.001768/0.001768, allocations: 118.1 kB / 17.13 MB, free: 5.781 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.002044/0.002044, allocations: 192.6 kB / 20.08 MB, free: 2.871 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.442/1.442, allocations: 225.6 MB / 248.5 MB, free: 3.602 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.002567/0.002567, allocations: 285.5 kB / 303.6 MB, free: 3.816 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.114/1.114, allocations: 180.9 MB / 0.5268 GB, free: 2.711 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_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: Performance of FrontEnd - loaded program: time 0.002804/0.002804, allocations: 99.84 kB / 0.7259 GB, free: 8.812 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6926/0.6954, allocations: 94.15 MB / 0.8179 GB, free: 7.441 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N): time 0.07156/0.767, allocations: 33.83 MB / 0.8509 GB, free: 0.5 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.04473/0.8117, allocations: 14.95 MB / 0.8655 GB, free: 6.152 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005441/0.8171, allocations: 153.6 kB / 0.8657 GB, free: 6.105 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.01731/0.8344, allocations: 3.717 MB / 0.8693 GB, free: 3.402 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.01618/0.8506, allocations: 2.993 MB / 0.8722 GB, free: 0.9766 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.01228/0.8629, allocations: 2.336 MB / 0.8745 GB, free: 15.06 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.02051/0.8834, allocations: 8.826 MB / 0.8831 GB, free: 10.05 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01657/0.9, allocations: 7.217 MB / 0.8902 GB, free: 6.445 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008761/0.9087, allocations: 4.014 MB / 0.8941 GB, free: 2.852 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008929/0.9177, allocations: 4.268 MB / 0.8983 GB, free: 14.57 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.003981/0.9217, allocations: 0.7148 MB / 0.899 GB, free: 13.85 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006455/0.9281, allocations: 1.748 MB / 0.9007 GB, free: 12.1 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.005764/0.9339, allocations: 2.899 MB / 0.9035 GB, free: 9.195 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.01054/0.9444, allocations: 3.392 MB / 0.9068 GB, free: 5.789 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.01859/0.963, allocations: 11.21 MB / 0.9178 GB, free: 10.54 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 7.164e-06/0.963, allocations: 0 / 0.9178 GB, free: 10.54 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.244e-06/0.963, allocations: 0 / 0.9178 GB, free: 10.54 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 0.0004742/0.9635, allocations: 0 / 0.9178 GB, free: 10.54 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.01822/0.9817, allocations: 6.14 MB / 0.9238 GB, free: 4.312 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.234e-05/0.9817, allocations: 8.031 kB / 0.9238 GB, free: 4.305 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008006/0.9897, allocations: 1.176 MB / 0.9249 GB, free: 3.125 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008936/0.9987, allocations: 3.538 MB / 0.9284 GB, free: 15.51 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004712/0.9992, allocations: 378.4 kB / 0.9287 GB, free: 15.14 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002152/1.001, allocations: 0.4883 MB / 0.9292 GB, free: 14.65 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01963/1.021, allocations: 7.997 MB / 0.937 GB, free: 6.375 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002499/1.021, allocations: 31.83 kB / 0.937 GB, free: 6.344 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001434/1.023, allocations: 212 kB / 0.9372 GB, free: 6.137 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001254/1.024, allocations: 433.6 kB / 0.9377 GB, free: 5.711 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0143/1.038, allocations: 6.092 MB / 0.9436 GB, free: 15.61 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05345/1.092, allocations: 34.95 MB / 0.9777 GB, free: 9.488 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003318/1.095, allocations: 1.913 MB / 0.9796 GB, free: 7.562 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002958/1.098, allocations: 1.756 MB / 0.9813 GB, free: 5.801 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001766/1.098, allocations: 21.94 kB / 0.9813 GB, free: 5.781 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.463e-05/1.098, allocations: 64.5 kB / 0.9814 GB, free: 5.707 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=171): time 4.208e-06/1.098, allocations: 0 / 0.9814 GB, free: 5.707 MB / 0.7169 GB Notification: Performance of matching and sorting (n=276): time 0.1601/1.258, allocations: 38.85 MB / 1.019 GB, free: 14.77 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.705e-05/1.258, allocations: 81.58 kB / 1.019 GB, free: 14.67 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00376/1.262, allocations: 2.282 MB / 1.022 GB, free: 12.38 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 0.0003017/1.262, allocations: 73.7 kB / 1.022 GB, free: 12.3 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.001822/1.264, allocations: 2.341 MB / 1.024 GB, free: 9.938 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.001012/1.265, allocations: 0.9798 MB / 1.025 GB, free: 8.949 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001119/1.266, allocations: 0.5103 MB / 1.025 GB, free: 8.43 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.000137/1.267, allocations: 309.1 kB / 1.026 GB, free: 8.125 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003134/1.27, allocations: 1.973 MB / 1.028 GB, free: 6.148 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003676/1.273, allocations: 2.599 MB / 1.03 GB, free: 3.305 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007113/1.28, allocations: 4.929 MB / 1.035 GB, free: 14.1 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-05/1.28, allocations: 12 kB / 1.035 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of matching and sorting (n=376) (initialization): time 0.01547/1.296, allocations: 7.65 MB / 1.043 GB, free: 6.371 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 3.54e-05/1.296, allocations: 20.23 kB / 1.043 GB, free: 6.352 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.96e-05/1.296, allocations: 20 kB / 1.043 GB, free: 6.332 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009919/1.306, allocations: 3.204 MB / 1.046 GB, free: 3.109 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001654/1.308, allocations: 399.3 kB / 1.046 GB, free: 2.719 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05094/1.359, allocations: 33.91 MB / 1.079 GB, free: 15.96 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002978/1.361, allocations: 167.8 kB / 1.079 GB, free: 15.8 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004496/1.362, allocations: 108 kB / 1.079 GB, free: 15.7 MB / 0.8262 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.003278/1.365, allocations: 1.793 MB / 1.081 GB, free: 13.89 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008415/1.366, allocations: 345.9 kB / 1.082 GB, free: 13.55 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01556/1.382, allocations: 7.24 MB / 1.089 GB, free: 6.234 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.849e-05/1.382, allocations: 28 kB / 1.089 GB, free: 6.207 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.631e-05/1.382, allocations: 28 kB / 1.089 GB, free: 6.18 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.893e-05/1.382, allocations: 15.95 kB / 1.089 GB, free: 6.164 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02653/1.408, allocations: 12.8 MB / 1.101 GB, free: 9.184 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.132e-05/1.408, allocations: 11.94 kB / 1.101 GB, free: 9.172 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001128/1.409, allocations: 235.6 kB / 1.101 GB, free: 8.941 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009176/1.419, allocations: 2.851 MB / 1.104 GB, free: 6.074 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004284/1.419, allocations: 56 kB / 1.104 GB, free: 6.02 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0493/1.468, allocations: 32.7 MB / 1.136 GB, free: 4.473 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.166e-06/1.468, allocations: 4 kB / 1.136 GB, free: 4.469 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.4185/1.887, allocations: 6.783 MB / 1.143 GB, free: 271.4 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002098/1.889, allocations: 0.7919 MB / 1.144 GB, free: 271.3 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005637/1.89, allocations: 65.59 kB / 1.144 GB, free: 271.3 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001862/1.891, allocations: 169.5 kB / 1.144 GB, free: 271.3 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008895/1.892, allocations: 246.8 kB / 1.144 GB, free: 271.3 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001685/1.892, allocations: 76.23 kB / 1.144 GB, free: 271.3 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.002192/1.895, allocations: 1.529 MB / 1.146 GB, free: 271.1 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1e-07/1.895, allocations: 5.062 kB / 1.146 GB, free: 271.1 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.004223/1.899, allocations: 1.367 MB / 1.147 GB, free: 271.1 MB / 0.8731 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.0003775/1.899, allocations: 178.4 kB / 1.147 GB, free: 271 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.01113/1.91, allocations: 6.558 MB / 1.153 GB, free: 270 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 1.399e-05/1.91, allocations: 3 kB / 1.154 GB, free: 270 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.008661/1.919, allocations: 4.25 MB / 1.158 GB, free: 268.4 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00537/1.924, allocations: 1.123 MB / 1.159 GB, free: 268 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02092/1.945, allocations: 10.94 MB / 1.169 GB, free: 263 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00672/1.952, allocations: 3.752 MB / 1.173 GB, free: 261.7 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008751/1.953, allocations: 172.6 kB / 1.173 GB, free: 261.7 MB / 0.8731 GB Notification: Performance of SimCode: time 1.293e-06/1.953, allocations: 3.938 kB / 1.173 GB, free: 261.7 MB / 0.8731 GB Notification: Performance of Templates: time 0.1776/2.131, allocations: 227.9 MB / 1.396 GB, free: 55.39 MB / 0.8731 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 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 23.22074843593873] Failed to read output from testmodel.py, exit status != 0: 2.1393275349400938 2.147174042 1.181604453 Calling exit ...