Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.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.001533/0.001533, allocations: 112.7 kB / 18.94 MB, free: 2.93 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.001379/0.001379, allocations: 189.4 kB / 22.22 MB, free: 5.102 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.383/1.383, allocations: 225.6 MB / 251 MB, free: 13.05 MB / 206.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.002475/0.002475, allocations: 287.7 kB / 306.5 MB, free: 8.363 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.185/1.185, allocations: 180.9 MB / 0.53 GB, free: 14.45 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_RLC,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC") translateModel(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002759/0.002759, allocations: 97.91 kB / 0.7309 GB, free: 38.93 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1637/0.1664, allocations: 94.2 MB / 0.8229 GB, free: 1.875 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC): time 0.04744/0.2139, allocations: 39.27 MB / 0.8612 GB, free: 10.47 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0262/0.2401, allocations: 13.58 MB / 0.8745 GB, free: 12.86 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004562/0.2446, allocations: 222.2 kB / 0.8747 GB, free: 12.64 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.01165/0.2563, allocations: 4.079 MB / 0.8787 GB, free: 8.547 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.008424/0.2647, allocations: 2.608 MB / 0.8812 GB, free: 5.926 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.008134/0.2728, allocations: 2.797 MB / 0.8839 GB, free: 3.129 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.0146/0.2874, allocations: 9.58 MB / 0.8933 GB, free: 9.52 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009671/0.2971, allocations: 5.252 MB / 0.8984 GB, free: 4.133 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008033/0.3051, allocations: 4.121 MB / 0.9024 GB, free: 0 / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009556/0.3147, allocations: 4.669 MB / 0.907 GB, free: 11.31 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.002738/0.3174, allocations: 0.7734 MB / 0.9078 GB, free: 10.54 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005565/0.323, allocations: 1.81 MB / 0.9095 GB, free: 8.73 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.005218/0.3282, allocations: 3.11 MB / 0.9126 GB, free: 5.613 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.007059/0.3353, allocations: 3.587 MB / 0.9161 GB, free: 2.012 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0164/0.3517, allocations: 11.89 MB / 0.9277 GB, free: 6.086 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.3517, allocations: 3.938 kB / 0.9277 GB, free: 6.082 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.803e-06/0.3517, allocations: 4 kB / 0.9277 GB, free: 6.078 MB / 0.67 GB Notification: Performance of Transformations before backend: time 0.0003125/0.352, allocations: 0 / 0.9277 GB, free: 6.078 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: 1394 * Number of variables: 1394 Notification: Performance of Generate backend data structure: time 0.01709/0.3691, allocations: 6.439 MB / 0.934 GB, free: 15.57 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.354e-05/0.3691, allocations: 8.625 kB / 0.934 GB, free: 15.57 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009249/0.3784, allocations: 1.328 MB / 0.9353 GB, free: 14.23 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008802/0.3872, allocations: 3.729 MB / 0.9389 GB, free: 10.42 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003673/0.3876, allocations: 382.5 kB / 0.9393 GB, free: 10.04 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001711/0.3893, allocations: 0.4963 MB / 0.9398 GB, free: 9.547 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01706/0.4063, allocations: 8.89 MB / 0.9485 GB, free: 312 kB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001247/0.4064, allocations: 27.77 kB / 0.9485 GB, free: 284 kB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006375/0.4071, allocations: 227.9 kB / 0.9487 GB, free: 56 kB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00246/0.4095, allocations: 0.6343 MB / 0.9493 GB, free: 15.42 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01381/0.4234, allocations: 7.01 MB / 0.9562 GB, free: 8.395 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05423/0.4776, allocations: 39.8 MB / 0.995 GB, free: 13.35 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00451/0.4821, allocations: 2.648 MB / 0.9976 GB, free: 10.69 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003988/0.4861, allocations: 2.425 MB / 1 GB, free: 8.258 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002069/0.4863, allocations: 26.09 kB / 1 GB, free: 8.23 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.787e-05/0.4864, allocations: 72.59 kB / 1 GB, free: 8.148 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=265): time 4.418e-06/0.4864, allocations: 3.938 kB / 1 GB, free: 8.145 MB / 0.7481 GB Notification: Performance of matching and sorting (n=424): time 0.657/1.143, allocations: 72.91 MB / 1.071 GB, free: 126.4 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.665e-05/1.143, allocations: 98.67 kB / 1.071 GB, free: 126.3 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002494/1.146, allocations: 2.365 MB / 1.074 GB, free: 123.9 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 0.0004743/1.146, allocations: 97.7 kB / 1.074 GB, free: 123.8 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009234/1.147, allocations: 2.397 MB / 1.076 GB, free: 121.7 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.001019/1.148, allocations: 1.512 MB / 1.078 GB, free: 120.3 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001181/1.15, allocations: 0.7256 MB / 1.078 GB, free: 119.6 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 3.522e-05/1.15, allocations: 305.1 kB / 1.079 GB, free: 119.3 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00333/1.153, allocations: 2.995 MB / 1.082 GB, free: 116.3 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00361/1.157, allocations: 3.847 MB / 1.085 GB, free: 112.1 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007611/1.164, allocations: 7.384 MB / 1.092 GB, free: 104.4 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.287e-05/1.164, allocations: 8 kB / 1.092 GB, free: 104.4 MB / 0.7481 GB Notification: Performance of matching and sorting (n=551) (initialization): time 0.02534/1.189, allocations: 12.39 MB / 1.105 GB, free: 91.93 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.966e-05/1.19, allocations: 12 kB / 1.105 GB, free: 91.92 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.711e-05/1.19, allocations: 25.78 kB / 1.105 GB, free: 91.9 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02176/1.211, allocations: 6.028 MB / 1.111 GB, free: 85.81 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00203/1.213, allocations: 487.2 kB / 1.111 GB, free: 85.33 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06892/1.282, allocations: 70.6 MB / 1.18 GB, free: 12.1 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00415/1.286, allocations: 215.8 kB / 1.18 GB, free: 11.89 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003736/1.287, allocations: 156 kB / 1.18 GB, free: 11.74 MB / 0.7481 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 (269): * Single equations (assignments): 245 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 24 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 24 systems {(2,2,100.0%), (1,1,100.0%), (2,2,100.0%), (1,1,100.0%), (2,2,100.0%), (1,1,100.0%), (4,16,100.0%), (4,16,100.0%), (4,16,100.0%), (4,16,100.0%), (4,16,100.0%), (4,16,100.0%), (2,8,100.0%), (2,16,100.0%), (3,15,100.0%), (2,8,100.0%), (2,8,100.0%), (2,16,100.0%), (3,15,100.0%), (2,8,100.0%), (2,8,100.0%), (2,16,100.0%), (3,15,100.0%), (2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002803/1.29, allocations: 1.985 MB / 1.182 GB, free: 9.742 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008209/1.29, allocations: 409.5 kB / 1.183 GB, free: 9.34 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02665/1.317, allocations: 12.05 MB / 1.194 GB, free: 13.18 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.308e-05/1.317, allocations: 43.94 kB / 1.194 GB, free: 13.13 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001294/1.317, allocations: 48 kB / 1.194 GB, free: 13.09 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.84e-05/1.317, allocations: 19.92 kB / 1.194 GB, free: 13.07 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0422/1.359, allocations: 18.94 MB / 1.213 GB, free: 9.945 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.281e-05/1.36, allocations: 8 kB / 1.213 GB, free: 9.938 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001573/1.361, allocations: 287.6 kB / 1.213 GB, free: 9.656 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02296/1.384, allocations: 5.573 MB / 1.219 GB, free: 4.02 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00063/1.385, allocations: 84 kB / 1.219 GB, free: 3.938 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0944/1.479, allocations: 68.22 MB / 1.285 GB, free: 13.05 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.616e-06/1.479, allocations: 8 kB / 1.285 GB, free: 13.04 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0335/1.513, allocations: 15.45 MB / 1.301 GB, free: 13.35 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003049/1.516, allocations: 0.9855 MB / 1.301 GB, free: 12.36 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006406/1.516, allocations: 84.11 kB / 1.302 GB, free: 12.28 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002604/1.519, allocations: 219.7 kB / 1.302 GB, free: 12.07 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00141/1.52, allocations: 426 kB / 1.302 GB, free: 11.65 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003096/1.521, allocations: 111.9 kB / 1.302 GB, free: 11.54 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.002315/1.523, allocations: 1.553 MB / 1.304 GB, free: 9.988 MB / 0.8731 GB Notification: Performance of sort global known variables: time 8e-08/1.523, allocations: 0 / 1.304 GB, free: 9.988 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.005713/1.529, allocations: 1.867 MB / 1.306 GB, free: 8.121 MB / 0.8731 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * Number of states: 6 (RLCLine_sc.phase1.Vc[1],RLCLine_sc.phase1.Vc[2],RLCLine_sc.phase2.Vc[1],RLCLine_sc.phase2.Vc[2],RLCLine_sc.phase3.Vc[1],RLCLine_sc.phase3.Vc[2]) * 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 (145): * Single equations (assignments): 121 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 24 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 24 systems {(2,8,100.0%), (2,8,100.0%), (2,8,100.0%), (3,15,100.0%), (3,15,100.0%), (3,15,100.0%), (4,16,100.0%), (4,16,100.0%), (4,16,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,15,100.0%), (4,16,100.0%), (4,16,100.0%), (4,16,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005051/1.529, allocations: 220 kB / 1.306 GB, free: 7.898 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.02164/1.551, allocations: 11.59 MB / 1.317 GB, free: 12 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 1.111e-05/1.551, allocations: 4 kB / 1.317 GB, free: 11.99 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.01581/1.567, allocations: 8.125 MB / 1.325 GB, free: 3.559 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005299/1.572, allocations: 1.195 MB / 1.326 GB, free: 2.41 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02136/1.593, allocations: 12.51 MB / 1.338 GB, free: 5.805 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005167/1.598, allocations: 4.087 MB / 1.342 GB, free: 1.68 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.002221/1.601, allocations: 0.6669 MB / 1.343 GB, free: 1.008 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005085/1.601, allocations: 183.4 kB / 1.343 GB, free: 0.8281 MB / 0.9044 GB Notification: Performance of SimCode: time 8.22e-07/1.601, allocations: 0 / 1.343 GB, free: 0.8281 MB / 0.9044 GB Notification: Performance of Templates: time 0.5085/2.11, allocations: 115.6 MB / 1.456 GB, free: 241.8 MB / 0.92 GB " [Timeout remaining time 658] make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 10.873949248343706] Failed to read output from testmodel.py, exit status != 0: 2.1174820978194475 2.126794388 1.77263229 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7f5728e757b0>