Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_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.001329/0.001329, allocations: 79.73 kB / 19.76 MB, free: 1.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.001396/0.001396, allocations: 157.7 kB / 23.01 MB, free: 4.602 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: 177.2 MB / 203.4 MB, free: 8.883 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.002496/0.002496, allocations: 245.9 kB / 260 MB, free: 440 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.9206/0.9206, allocations: 138.5 MB / 455 MB, free: 15.07 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_L_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N") translateModel(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_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: 99.84 kB / 0.6474 GB, free: 7.531 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4235/0.4266, allocations: 95.34 MB / 0.7405 GB, free: 17.43 MB / 0.5919 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N): time 0.034/0.4606, allocations: 33.76 MB / 0.7734 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.02107/0.4817, allocations: 11.54 MB / 0.7847 GB, free: 2.133 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003509/0.4852, allocations: 211.2 kB / 0.7849 GB, free: 2.035 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.01214/0.4973, allocations: 4.275 MB / 0.7891 GB, free: 14.85 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.00645/0.5038, allocations: 2.097 MB / 0.7911 GB, free: 13.12 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.006736/0.5105, allocations: 2.41 MB / 0.7935 GB, free: 11.16 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.01142/0.5219, allocations: 8.456 MB / 0.8017 GB, free: 4.012 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01015/0.5321, allocations: 6.17 MB / 0.8078 GB, free: 13.73 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006621/0.5387, allocations: 3.876 MB / 0.8116 GB, free: 9.84 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007464/0.5462, allocations: 4.147 MB / 0.8156 GB, free: 5.68 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.002105/0.5483, allocations: 0.7812 MB / 0.8164 GB, free: 4.898 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004843/0.5531, allocations: 1.896 MB / 0.8182 GB, free: 3 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.004406/0.5575, allocations: 3.141 MB / 0.8213 GB, free: 15.85 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.004858/0.5624, allocations: 2.755 MB / 0.824 GB, free: 13.09 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.01499/0.5774, allocations: 12.06 MB / 0.8358 GB, free: 0.9922 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 6.743e-06/0.5774, allocations: 0 / 0.8358 GB, free: 0.9922 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.613e-06/0.5774, allocations: 3.938 kB / 0.8358 GB, free: 0.9883 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 0.0003021/0.5777, allocations: 3.938 kB / 0.8358 GB, free: 0.9844 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: 1488 * Number of variables: 1488 Notification: Performance of Generate backend data structure: time 0.01335/0.591, allocations: 5.859 MB / 0.8415 GB, free: 11.06 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.213e-05/0.5911, allocations: 8.75 kB / 0.8415 GB, free: 11.05 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006222/0.5973, allocations: 1.106 MB / 0.8426 GB, free: 9.945 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007723/0.605, allocations: 3.419 MB / 0.8459 GB, free: 6.457 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003752/0.6054, allocations: 415.5 kB / 0.8463 GB, free: 6.051 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001427/0.6068, allocations: 0.5393 MB / 0.8468 GB, free: 5.512 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01816/0.625, allocations: 9.38 MB / 0.856 GB, free: 11.74 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001579/0.6251, allocations: 27.81 kB / 0.856 GB, free: 11.71 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006094/0.6257, allocations: 236 kB / 0.8562 GB, free: 11.48 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003977/0.6261, allocations: 350.8 kB / 0.8566 GB, free: 11.14 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01337/0.6395, allocations: 6.814 MB / 0.8632 GB, free: 4.312 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03819/0.6777, allocations: 24.26 MB / 0.8869 GB, free: 11.45 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003767/0.6814, allocations: 2.29 MB / 0.8892 GB, free: 9.168 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002707/0.6842, allocations: 1.779 MB / 0.8909 GB, free: 7.395 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 8.625e-05/0.6842, allocations: 21.98 kB / 0.8909 GB, free: 7.375 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.216e-05/0.6843, allocations: 56.5 kB / 0.891 GB, free: 7.309 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=179): time 4.218e-06/0.6843, allocations: 3.938 kB / 0.891 GB, free: 7.305 MB / 0.7169 GB Notification: Performance of matching and sorting (n=182): time 0.02494/0.7092, allocations: 9.667 MB / 0.9004 GB, free: 13.62 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.6e-05/0.7093, allocations: 69.41 kB / 0.9005 GB, free: 13.54 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001948/0.7112, allocations: 1.453 MB / 0.9019 GB, free: 12.09 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0001132/0.7114, allocations: 53.7 kB / 0.902 GB, free: 12.03 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.001624/0.713, allocations: 2.323 MB / 0.9042 GB, free: 9.688 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005919/0.7136, allocations: 0.6662 MB / 0.9049 GB, free: 9.016 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006243/0.7142, allocations: 404.2 kB / 0.9053 GB, free: 8.613 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001223/0.7143, allocations: 305.1 kB / 0.9056 GB, free: 8.312 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001768/0.7161, allocations: 1.176 MB / 0.9067 GB, free: 7.133 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002359/0.7184, allocations: 1.881 MB / 0.9085 GB, free: 4.93 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004504/0.723, allocations: 3.371 MB / 0.9118 GB, free: 1.246 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.256e-05/0.723, allocations: 11.94 kB / 0.9118 GB, free: 1.234 MB / 0.7325 GB Notification: Performance of matching and sorting (n=285) (initialization): time 0.008616/0.7316, allocations: 4.531 MB / 0.9163 GB, free: 12.68 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 3.849e-05/0.7316, allocations: 16 kB / 0.9163 GB, free: 12.66 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.423e-05/0.7317, allocations: 24 kB / 0.9163 GB, free: 12.64 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003923/0.7356, allocations: 1.576 MB / 0.9178 GB, free: 11.06 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00128/0.7369, allocations: 347.4 kB / 0.9182 GB, free: 10.72 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02495/0.7618, allocations: 17.83 MB / 0.9356 GB, free: 8.492 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001672/0.7635, allocations: 115.9 kB / 0.9357 GB, free: 8.379 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001718/0.7637, allocations: 100 kB / 0.9358 GB, free: 8.281 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 (177): * Single equations (assignments): 173 * 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 {(12,26,30.6%), (6,24,66.7%), (6,16,66.7%), (6,16,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002982/0.7666, allocations: 1.898 MB / 0.9376 GB, free: 6.371 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004452/0.7671, allocations: 226.6 kB / 0.9379 GB, free: 6.148 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007278/0.7744, allocations: 4.04 MB / 0.9418 GB, free: 2.078 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.167e-05/0.7744, allocations: 19.98 kB / 0.9418 GB, free: 2.059 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.548e-05/0.7744, allocations: 23.98 kB / 0.9418 GB, free: 2.035 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.661e-05/0.7744, allocations: 7.969 kB / 0.9419 GB, free: 2.027 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01423/0.7886, allocations: 7.833 MB / 0.9495 GB, free: 10.07 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.145e-05/0.7887, allocations: 7.938 kB / 0.9495 GB, free: 10.06 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008596/0.7895, allocations: 179.7 kB / 0.9497 GB, free: 9.887 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003603/0.7931, allocations: 1.353 MB / 0.951 GB, free: 8.523 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001182/0.7932, allocations: 36 kB / 0.951 GB, free: 8.488 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02298/0.8162, allocations: 16.61 MB / 0.9673 GB, free: 7.477 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.482e-06/0.8162, allocations: 4.5 kB / 0.9673 GB, free: 7.473 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007206/0.8234, allocations: 4.028 MB / 0.9712 GB, free: 3.355 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001227/0.8247, allocations: 458.4 kB / 0.9716 GB, free: 2.906 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000234/0.8249, allocations: 39.98 kB / 0.9717 GB, free: 2.867 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009459/0.8258, allocations: 87.91 kB / 0.9718 GB, free: 2.781 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004445/0.8263, allocations: 169.5 kB / 0.9719 GB, free: 2.617 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001168/0.8264, allocations: 52 kB / 0.972 GB, free: 2.566 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.001296/0.8277, allocations: 0.9232 MB / 0.9729 GB, free: 1.652 MB / 0.795 GB Notification: Performance of sort global known variables: time 8e-08/0.8277, allocations: 0 / 0.9729 GB, free: 1.652 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.002918/0.8306, allocations: 0.9882 MB / 0.9738 GB, free: 0.6641 MB / 0.795 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 (85): * Single equations (assignments): 81 * 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 {(6,16,66.7%), (6,16,66.7%), (6,24,66.7%), (6,24,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002551/0.8309, allocations: 143 kB / 0.974 GB, free: 0.5117 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.007094/0.838, allocations: 4.176 MB / 0.978 GB, free: 12.28 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 6.262e-06/0.838, allocations: 320 / 0.978 GB, free: 12.28 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.004476/0.8424, allocations: 2.572 MB / 0.9806 GB, free: 9.664 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003251/0.8457, allocations: 0.7713 MB / 0.9813 GB, free: 8.938 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3228/1.168, allocations: 8.871 MB / 0.99 GB, free: 207.1 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006114/1.175, allocations: 3.033 MB / 0.9929 GB, free: 206.9 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.001515/1.176, allocations: 451.9 kB / 0.9934 GB, free: 206.9 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003125/1.176, allocations: 110.8 kB / 0.9935 GB, free: 206.9 MB / 0.8106 GB Notification: Performance of SimCode: time 8.51e-07/1.176, allocations: 0.6875 kB / 0.9935 GB, free: 206.9 MB / 0.8106 GB Notification: Performance of Templates: time 0.06935/1.246, allocations: 44.78 MB / 1.037 GB, free: 190.9 MB / 0.8106 GB " [Timeout remaining time 659] make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.641349795041606] Failed to read output from testmodel.py, exit status != 0: 1.2543588900007308 1.2636390450000001 0.683867796 Calling exit ...