Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_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.001557/0.001557, allocations: 110 kB / 18.94 MB, free: 2.949 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.00177/0.00177, allocations: 189.1 kB / 22.23 MB, free: 5.137 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.388/1.388, allocations: 225.6 MB / 251 MB, free: 13 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.002582/0.002582, allocations: 283.8 kB / 306.5 MB, free: 8.309 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.227/1.227, allocations: 180.8 MB / 0.53 GB, free: 14.46 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_RL_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N") translateModel(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002751/0.002751, allocations: 104.1 kB / 0.7309 GB, free: 39.12 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1447/0.1474, allocations: 94.21 MB / 0.8229 GB, free: 1.754 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N): time 0.02871/0.1761, allocations: 21.19 MB / 0.8436 GB, free: 12.48 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01344/0.1896, allocations: 6.687 MB / 0.8501 GB, free: 5.781 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00181/0.1914, allocations: 111.2 kB / 0.8502 GB, free: 5.672 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.006329/0.1977, allocations: 2.34 MB / 0.8525 GB, free: 3.324 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.00344/0.2012, allocations: 1.236 MB / 0.8537 GB, free: 2.082 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.003479/0.2046, allocations: 1.324 MB / 0.855 GB, free: 0.7578 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.006381/0.211, allocations: 4.854 MB / 0.8597 GB, free: 11.89 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005383/0.2164, allocations: 2.96 MB / 0.8626 GB, free: 8.863 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003456/0.2199, allocations: 2.146 MB / 0.8647 GB, free: 6.711 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004242/0.2241, allocations: 2.473 MB / 0.8671 GB, free: 4.23 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.00117/0.2253, allocations: 432 kB / 0.8675 GB, free: 3.809 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002712/0.228, allocations: 1.018 MB / 0.8685 GB, free: 2.789 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.002577/0.2306, allocations: 1.711 MB / 0.8702 GB, free: 1.074 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.004012/0.2346, allocations: 1.914 MB / 0.8721 GB, free: 15.15 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.009118/0.2437, allocations: 6.545 MB / 0.8785 GB, free: 8.586 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 5.531e-06/0.2437, allocations: 0 / 0.8785 GB, free: 8.586 MB / 0.6231 GB Notification: Performance of FrontEnd: time 2.144e-06/0.2437, allocations: 0 / 0.8785 GB, free: 8.586 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 0.000187/0.2439, allocations: 0 / 0.8785 GB, free: 8.586 MB / 0.6231 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 798 * Number of variables: 798 Notification: Performance of Generate backend data structure: time 0.008159/0.252, allocations: 3.466 MB / 0.8818 GB, free: 5.07 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.069e-05/0.2521, allocations: 16.62 kB / 0.8819 GB, free: 5.055 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00343/0.2555, allocations: 0.6429 MB / 0.8825 GB, free: 4.41 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00397/0.2595, allocations: 1.993 MB / 0.8844 GB, free: 2.363 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001952/0.2597, allocations: 222.3 kB / 0.8846 GB, free: 2.145 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005094/0.2602, allocations: 300.3 kB / 0.8849 GB, free: 1.852 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008402/0.2686, allocations: 4.89 MB / 0.8897 GB, free: 12.77 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.741e-05/0.2687, allocations: 11.94 kB / 0.8897 GB, free: 12.75 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000321/0.269, allocations: 124 kB / 0.8898 GB, free: 12.63 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004673/0.2695, allocations: 233.7 kB / 0.8901 GB, free: 12.4 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006311/0.2758, allocations: 3.75 MB / 0.8937 GB, free: 8.641 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02397/0.2997, allocations: 21.23 MB / 0.9145 GB, free: 1.406 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001903/0.3016, allocations: 1.235 MB / 0.9157 GB, free: 168 kB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00155/0.3032, allocations: 0.9841 MB / 0.9166 GB, free: 15.18 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 6.31e-05/0.3032, allocations: 9 kB / 0.9166 GB, free: 15.16 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.811e-05/0.3033, allocations: 55.48 kB / 0.9167 GB, free: 15.1 MB / 0.67 GB Notification: Performance of pre-optimization done (n=107): time 2.895e-06/0.3033, allocations: 0 / 0.9167 GB, free: 15.1 MB / 0.67 GB Notification: Performance of matching and sorting (n=138): time 0.02599/0.3293, allocations: 8.432 MB / 0.9249 GB, free: 6.672 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.183e-05/0.3293, allocations: 64.72 kB / 0.925 GB, free: 6.598 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001611/0.331, allocations: 1.134 MB / 0.9261 GB, free: 5.457 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0001187/0.3311, allocations: 45.7 kB / 0.9261 GB, free: 5.406 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.001052/0.3321, allocations: 1.343 MB / 0.9274 GB, free: 4.051 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004676/0.3326, allocations: 0.4918 MB / 0.9279 GB, free: 3.555 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004955/0.3331, allocations: 295.4 kB / 0.9282 GB, free: 3.262 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001398/0.3332, allocations: 309.1 kB / 0.9285 GB, free: 2.957 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001398/0.3346, allocations: 0.9135 MB / 0.9294 GB, free: 2.043 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00178/0.3364, allocations: 1.322 MB / 0.9307 GB, free: 0.5547 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003469/0.3399, allocations: 2.43 MB / 0.9331 GB, free: 13.95 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.331e-05/0.3399, allocations: 4 kB / 0.9331 GB, free: 13.95 MB / 0.6856 GB Notification: Performance of matching and sorting (n=203) (initialization): time 0.00646/0.3464, allocations: 3.425 MB / 0.9364 GB, free: 10.5 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.724e-05/0.3464, allocations: 12 kB / 0.9364 GB, free: 10.49 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.074e-05/0.3464, allocations: 12 kB / 0.9364 GB, free: 10.48 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003439/0.3498, allocations: 1.19 MB / 0.9376 GB, free: 9.281 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000984/0.3508, allocations: 259.5 kB / 0.9378 GB, free: 9.027 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01928/0.3701, allocations: 13.54 MB / 0.9511 GB, free: 11.15 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001392/0.3715, allocations: 87.97 kB / 0.9511 GB, free: 11.06 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001256/0.3716, allocations: 71.92 kB / 0.9512 GB, free: 10.99 MB / 0.7012 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * 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 (132): * Single equations (assignments): 129 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(5,17,84.0%), (5,17,92.0%), (5,25,88.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001863/0.3735, allocations: 1.111 MB / 0.9523 GB, free: 9.871 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003312/0.3738, allocations: 167 kB / 0.9525 GB, free: 9.707 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006277/0.3801, allocations: 3.138 MB / 0.9555 GB, free: 6.543 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.437e-05/0.3801, allocations: 12 kB / 0.9555 GB, free: 6.531 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.025e-05/0.3801, allocations: 19.88 kB / 0.9556 GB, free: 6.512 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.535e-05/0.3801, allocations: 7.969 kB / 0.9556 GB, free: 6.504 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01148/0.3916, allocations: 6.182 MB / 0.9616 GB, free: 196 kB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.018e-05/0.3916, allocations: 4 kB / 0.9616 GB, free: 192 kB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006417/0.3923, allocations: 147.8 kB / 0.9617 GB, free: 44 kB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00314/0.3954, allocations: 1.072 MB / 0.9628 GB, free: 14.96 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000117/0.3955, allocations: 32 kB / 0.9628 GB, free: 14.93 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01881/0.4143, allocations: 13.25 MB / 0.9758 GB, free: 1.344 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.903e-06/0.4144, allocations: 7.938 kB / 0.9758 GB, free: 1.336 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005796/0.4201, allocations: 3.116 MB / 0.9788 GB, free: 14.13 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001146/0.4213, allocations: 358.8 kB / 0.9792 GB, free: 13.78 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002026/0.4215, allocations: 35.92 kB / 0.9792 GB, free: 13.75 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008381/0.4223, allocations: 79.91 kB / 0.9793 GB, free: 13.67 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003608/0.4227, allocations: 136.6 kB / 0.9794 GB, free: 13.54 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.926e-05/0.4228, allocations: 36 kB / 0.9794 GB, free: 13.5 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001138/0.4239, allocations: 0.771 MB / 0.9802 GB, free: 12.73 MB / 0.7325 GB Notification: Performance of sort global known variables: time 8e-08/0.4239, allocations: 0 / 0.9802 GB, free: 12.73 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.002017/0.4259, allocations: 0.6601 MB / 0.9808 GB, free: 12.07 MB / 0.7325 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 (70): * Single equations (assignments): 67 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(5,17,84.0%), (5,25,88.0%), (5,17,92.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002505/0.4262, allocations: 139.1 kB / 0.981 GB, free: 11.92 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.005273/0.4315, allocations: 3.002 MB / 0.9839 GB, free: 8.875 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 4.809e-06/0.4315, allocations: 8.062 kB / 0.9839 GB, free: 8.867 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.003234/0.4347, allocations: 1.88 MB / 0.9857 GB, free: 6.949 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002242/0.4369, allocations: 0.4935 MB / 0.9862 GB, free: 6.477 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009604/0.4465, allocations: 5.52 MB / 0.9916 GB, free: 0.8672 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002618/0.4492, allocations: 2.34 MB / 0.9939 GB, free: 14.49 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.001067/0.4502, allocations: 358.1 kB / 0.9942 GB, free: 14.14 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002377/0.4505, allocations: 83.44 kB / 0.9943 GB, free: 14.05 MB / 0.7481 GB Notification: Performance of SimCode: time 8.02e-07/0.4505, allocations: 0 / 0.9943 GB, free: 14.05 MB / 0.7481 GB Notification: Performance of Templates: time 0.3753/0.8258, allocations: 34.81 MB / 1.028 GB, free: 163.1 MB / 0.7481 GB " [Timeout remaining time 659] make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.287407472729683] Failed to read output from testmodel.py, exit status != 0: 0.8333343509584665 0.84304403 0.5970622250000001 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7f558b8d97b0>