Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.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.001333/0.001333, allocations: 120.3 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.001375/0.001375, allocations: 191.7 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.455/1.455, allocations: 225.6 MB / 248.5 MB, free: 3.652 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.002477/0.002477, allocations: 282.4 kB / 303.6 MB, free: 3.781 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.073/1.073, allocations: 180.9 MB / 0.5268 GB, free: 2.707 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_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R") translateModel(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002776/0.002776, allocations: 103.8 kB / 0.7259 GB, free: 8.852 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5425/0.5452, allocations: 94.16 MB / 0.8179 GB, free: 7.445 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R): time 0.0411/0.5863, allocations: 35.69 MB / 0.8527 GB, free: 15.36 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.01996/0.6063, allocations: 10.05 MB / 0.8625 GB, free: 8.441 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004135/0.6104, allocations: 148.4 kB / 0.8627 GB, free: 8.395 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.01107/0.6215, allocations: 3.87 MB / 0.8665 GB, free: 5.848 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.007114/0.6286, allocations: 2.148 MB / 0.8686 GB, free: 4.07 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.006171/0.6348, allocations: 1.967 MB / 0.8705 GB, free: 2.445 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.01098/0.6458, allocations: 7.966 MB / 0.8783 GB, free: 13.86 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01252/0.6583, allocations: 7.139 MB / 0.8852 GB, free: 10.38 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006316/0.6646, allocations: 3.417 MB / 0.8886 GB, free: 8.406 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007577/0.6722, allocations: 3.944 MB / 0.8924 GB, free: 4.566 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.00237/0.6745, allocations: 0.6758 MB / 0.8931 GB, free: 3.891 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004669/0.6792, allocations: 1.463 MB / 0.8945 GB, free: 2.426 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.005075/0.6843, allocations: 2.689 MB / 0.8971 GB, free: 15.73 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.009036/0.6933, allocations: 3.097 MB / 0.9002 GB, free: 12.62 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.01688/0.7102, allocations: 10.42 MB / 0.9103 GB, free: 2.168 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 5.11e-06/0.7102, allocations: 0 / 0.9103 GB, free: 2.168 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.833e-06/0.7102, allocations: 0 / 0.9103 GB, free: 2.168 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 0.0003297/0.7105, allocations: 7.938 kB / 0.9103 GB, free: 2.16 MB / 0.6387 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1286 * Number of variables: 1286 Notification: Performance of Generate backend data structure: time 0.01581/0.7263, allocations: 5.536 MB / 0.9157 GB, free: 12.54 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.187e-05/0.7264, allocations: 12.03 kB / 0.9158 GB, free: 12.53 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005943/0.7323, allocations: 0.989 MB / 0.9167 GB, free: 11.54 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007963/0.7403, allocations: 3.2 MB / 0.9199 GB, free: 8.285 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004209/0.7407, allocations: 353.9 kB / 0.9202 GB, free: 7.934 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00179/0.7425, allocations: 472.3 kB / 0.9206 GB, free: 7.473 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01925/0.7618, allocations: 7.905 MB / 0.9284 GB, free: 15.2 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002116/0.762, allocations: 15.88 kB / 0.9284 GB, free: 15.19 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001383/0.7633, allocations: 215.9 kB / 0.9286 GB, free: 14.98 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006094/0.764, allocations: 365.1 kB / 0.9289 GB, free: 14.62 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01319/0.7771, allocations: 5.941 MB / 0.9347 GB, free: 8.66 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04483/0.822, allocations: 36 MB / 0.9699 GB, free: 1.43 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003751/0.8257, allocations: 1.998 MB / 0.9718 GB, free: 15.41 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002362/0.8281, allocations: 1.34 MB / 0.9731 GB, free: 14.07 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001435/0.8282, allocations: 21.31 kB / 0.9732 GB, free: 14.05 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.848e-05/0.8283, allocations: 55.88 kB / 0.9732 GB, free: 13.99 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=157): time 3.687e-06/0.8283, allocations: 3.938 kB / 0.9732 GB, free: 13.99 MB / 0.7169 GB Notification: Performance of matching and sorting (n=160): time 0.01569/0.844, allocations: 7.571 MB / 0.9806 GB, free: 6.152 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.975e-05/0.8441, allocations: 68.72 kB / 0.9807 GB, free: 6.074 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002954/0.847, allocations: 1.864 MB / 0.9825 GB, free: 4.184 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0001865/0.8472, allocations: 53.7 kB / 0.9826 GB, free: 4.125 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.00166/0.8489, allocations: 2.196 MB / 0.9847 GB, free: 1.91 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006177/0.8495, allocations: 0.5809 MB / 0.9853 GB, free: 1.324 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007375/0.8502, allocations: 408 kB / 0.9857 GB, free: 0.918 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001269/0.8503, allocations: 309.1 kB / 0.9859 GB, free: 0.6133 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001791/0.8521, allocations: 1.062 MB / 0.987 GB, free: 15.54 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002349/0.8545, allocations: 1.76 MB / 0.9887 GB, free: 13.46 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004387/0.8589, allocations: 3.049 MB / 0.9917 GB, free: 10.1 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.805e-05/0.8589, allocations: 7.938 kB / 0.9917 GB, free: 10.09 MB / 0.7325 GB Notification: Performance of matching and sorting (n=281) (initialization): time 0.007322/0.8662, allocations: 3.903 MB / 0.9955 GB, free: 6.145 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 3.973e-05/0.8662, allocations: 19.94 kB / 0.9955 GB, free: 6.125 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.276e-05/0.8663, allocations: 20 kB / 0.9955 GB, free: 6.105 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002738/0.869, allocations: 0.9236 MB / 0.9964 GB, free: 5.145 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001664/0.8707, allocations: 427.3 kB / 0.9968 GB, free: 4.727 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02399/0.8947, allocations: 22.78 MB / 1.019 GB, free: 12.27 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002202/0.8969, allocations: 123.9 kB / 1.019 GB, free: 12.15 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004089/0.8973, allocations: 95.98 kB / 1.019 GB, free: 12.06 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 (227): * Single equations (assignments): 215 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(2,6,100.0%), (2,6,100.0%), (2,6,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003154/0.9004, allocations: 1.651 MB / 1.021 GB, free: 10.4 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006941/0.9011, allocations: 262.4 kB / 1.021 GB, free: 10.14 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006311/0.9074, allocations: 3.236 MB / 1.024 GB, free: 6.852 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.88e-05/0.9075, allocations: 16 kB / 1.024 GB, free: 6.836 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.29e-05/0.9075, allocations: 11.94 kB / 1.024 GB, free: 6.824 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.796e-05/0.9075, allocations: 11.95 kB / 1.024 GB, free: 6.812 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01447/0.922, allocations: 7.526 MB / 1.032 GB, free: 15.13 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.235e-05/0.922, allocations: 8.062 kB / 1.032 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009926/0.923, allocations: 211.7 kB / 1.032 GB, free: 14.92 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002582/0.9256, allocations: 0.8884 MB / 1.033 GB, free: 13.99 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001527/0.9257, allocations: 32 kB / 1.033 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02357/0.9493, allocations: 22.74 MB / 1.055 GB, free: 5.535 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.941e-06/0.9493, allocations: 4.188 kB / 1.055 GB, free: 5.531 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006491/0.9558, allocations: 3.365 MB / 1.058 GB, free: 2.051 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001513/0.9573, allocations: 0.5422 MB / 1.059 GB, free: 1.488 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006704/0.958, allocations: 39.94 kB / 1.059 GB, free: 1.449 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001405/0.9594, allocations: 95.88 kB / 1.059 GB, free: 1.355 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000435/0.9598, allocations: 137 kB / 1.059 GB, free: 1.223 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001292/0.9599, allocations: 48 kB / 1.059 GB, free: 1.176 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.002113/0.962, allocations: 1.225 MB / 1.06 GB, free: 15.93 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.01e-07/0.962, allocations: 0 / 1.06 GB, free: 15.93 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.003222/0.9653, allocations: 0.9023 MB / 1.061 GB, free: 15.03 MB / 0.8106 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 (109): * Single equations (assignments): 97 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,6,100.0%), (2,6,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000329/0.9656, allocations: 158.9 kB / 1.061 GB, free: 14.87 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.007035/0.9726, allocations: 4.295 MB / 1.066 GB, free: 10.43 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 7.123e-06/0.9726, allocations: 0 / 1.066 GB, free: 10.43 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.004576/0.9772, allocations: 2.903 MB / 1.068 GB, free: 7.367 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003951/0.9812, allocations: 0.8239 MB / 1.069 GB, free: 6.562 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01636/0.9975, allocations: 8.361 MB / 1.077 GB, free: 14.1 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004611/1.002, allocations: 3.279 MB / 1.081 GB, free: 10.79 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007846/1.003, allocations: 155.4 kB / 1.081 GB, free: 10.64 MB / 0.8262 GB Notification: Performance of SimCode: time 7.61e-07/1.003, allocations: 3.938 kB / 1.081 GB, free: 10.63 MB / 0.8262 GB Notification: Performance of Templates: time 0.6587/1.662, allocations: 340.1 MB / 1.413 GB, free: 29.45 MB / 0.8731 GB " [Timeout remaining time 658] make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 21.95735752186738] Failed to read output from testmodel.py, exit status != 0: 1.6702745780348778 1.679361785 0.966717391 Calling exit ...