Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.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.001312/0.001312, allocations: 110.2 kB / 19.69 MB, free: 2.254 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.001473/0.001473, allocations: 212.7 kB / 23.01 MB, free: 4.57 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.412/1.412, allocations: 230.6 MB / 256.8 MB, free: 8.008 MB / 206.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.002502/0.002502, allocations: 273.6 kB / 313.5 MB, free: 2.887 MB / 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 1.193/1.193, allocations: 180.6 MB / 0.5377 GB, free: 12.92 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 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_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL") translateModel(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL") [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.002925/0.002925, allocations: 104.4 kB / 0.7408 GB, free: 27.84 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1589/0.1618, allocations: 95.38 MB / 0.834 GB, free: 8.09 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL): time 0.03467/0.1965, allocations: 27.92 MB / 0.8612 GB, free: 12.07 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.01497/0.2115, allocations: 8.387 MB / 0.8694 GB, free: 3.664 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002306/0.2138, allocations: 154.8 kB / 0.8696 GB, free: 3.512 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.007743/0.2215, allocations: 2.884 MB / 0.8724 GB, free: 0.6211 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.004547/0.2261, allocations: 1.671 MB / 0.874 GB, free: 14.94 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.004531/0.2306, allocations: 1.73 MB / 0.8757 GB, free: 13.21 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.008032/0.2386, allocations: 6.139 MB / 0.8817 GB, free: 7.051 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006331/0.2449, allocations: 3.788 MB / 0.8854 GB, free: 3.172 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004316/0.2493, allocations: 2.652 MB / 0.888 GB, free: 0.5117 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005031/0.2543, allocations: 2.994 MB / 0.8909 GB, free: 13.51 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.001299/0.2556, allocations: 0.5156 MB / 0.8914 GB, free: 12.99 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003244/0.2588, allocations: 1.307 MB / 0.8927 GB, free: 11.68 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.003029/0.2619, allocations: 2.097 MB / 0.8948 GB, free: 9.582 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.003607/0.2655, allocations: 2.385 MB / 0.8971 GB, free: 7.188 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.0092/0.2747, allocations: 8.079 MB / 0.905 GB, free: 15.08 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.2747, allocations: 0 / 0.905 GB, free: 15.08 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.433e-06/0.2747, allocations: 0 / 0.905 GB, free: 15.08 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 0.0001848/0.2749, allocations: 3.938 kB / 0.905 GB, free: 15.08 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: 976 * Number of variables: 976 Notification: Performance of Generate backend data structure: time 0.009105/0.284, allocations: 4.264 MB / 0.9091 GB, free: 10.76 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.043e-05/0.284, allocations: 8.75 kB / 0.9092 GB, free: 10.75 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004186/0.2882, allocations: 0.8179 MB / 0.91 GB, free: 9.934 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005598/0.2938, allocations: 2.526 MB / 0.9124 GB, free: 7.344 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002236/0.294, allocations: 279.6 kB / 0.9127 GB, free: 7.07 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008098/0.2948, allocations: 376.6 kB / 0.913 GB, free: 6.703 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01044/0.3053, allocations: 6 MB / 0.9189 GB, free: 460 kB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.47e-05/0.3054, allocations: 19.83 kB / 0.9189 GB, free: 440 kB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003801/0.3057, allocations: 156 kB / 0.9191 GB, free: 284 kB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005773/0.3063, allocations: 282.9 kB / 0.9193 GB, free: 0 / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007945/0.3143, allocations: 4.52 MB / 0.9238 GB, free: 11.47 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02963/0.3439, allocations: 27.24 MB / 0.9504 GB, free: 13.71 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001648/0.3455, allocations: 1.057 MB / 0.9514 GB, free: 12.65 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001351/0.3469, allocations: 0.9654 MB / 0.9523 GB, free: 11.69 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 7.862e-05/0.347, allocations: 13 kB / 0.9523 GB, free: 11.67 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.352e-05/0.347, allocations: 47.56 kB / 0.9524 GB, free: 11.62 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=110): time 2.976e-06/0.347, allocations: 0 / 0.9524 GB, free: 11.62 MB / 0.7012 GB Notification: Performance of matching and sorting (n=131): time 0.02193/0.3689, allocations: 9.094 MB / 0.9613 GB, free: 2.465 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.389e-05/0.369, allocations: 64.72 kB / 0.9613 GB, free: 2.387 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002018/0.371, allocations: 1.498 MB / 0.9628 GB, free: 0.8906 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0001076/0.3711, allocations: 49.7 kB / 0.9628 GB, free: 0.8359 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.001297/0.3724, allocations: 1.711 MB / 0.9645 GB, free: 15.11 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004382/0.3729, allocations: 0.4919 MB / 0.965 GB, free: 14.61 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005047/0.3734, allocations: 327.4 kB / 0.9653 GB, free: 14.29 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001214/0.3735, allocations: 305.1 kB / 0.9656 GB, free: 13.98 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001384/0.3749, allocations: 0.9174 MB / 0.9665 GB, free: 13.07 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001836/0.3767, allocations: 1.463 MB / 0.9679 GB, free: 11.37 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003401/0.3801, allocations: 2.55 MB / 0.9704 GB, free: 8.578 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.775e-06/0.3801, allocations: 4 kB / 0.9704 GB, free: 8.574 MB / 0.7169 GB Notification: Performance of matching and sorting (n=226) (initialization): time 0.005955/0.3861, allocations: 3.267 MB / 0.9736 GB, free: 5.27 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.685e-05/0.3861, allocations: 16 kB / 0.9736 GB, free: 5.254 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.065e-05/0.3861, allocations: 16 kB / 0.9736 GB, free: 5.238 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002324/0.3884, allocations: 0.742 MB / 0.9744 GB, free: 4.469 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001556/0.39, allocations: 387.4 kB / 0.9747 GB, free: 4.09 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01714/0.4071, allocations: 16.14 MB / 0.9905 GB, free: 2.922 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001524/0.4087, allocations: 99.91 kB / 0.9906 GB, free: 2.824 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001342/0.4088, allocations: 75.98 kB / 0.9907 GB, free: 2.75 MB / 0.7325 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 (193): * Single equations (assignments): 184 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 9 systems {(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,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002056/0.4108, allocations: 1.306 MB / 0.9919 GB, free: 1.434 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003692/0.4112, allocations: 218.7 kB / 0.9921 GB, free: 1.219 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3536/0.7649, allocations: 2.756 MB / 0.9948 GB, free: 145.6 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.789e-05/0.7649, allocations: 15.19 kB / 0.9949 GB, free: 145.6 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.338e-05/0.7649, allocations: 8.453 kB / 0.9949 GB, free: 145.6 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.498e-05/0.7649, allocations: 6.219 kB / 0.9949 GB, free: 145.6 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009903/0.7748, allocations: 6.178 MB / 1.001 GB, free: 144.1 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.427e-06/0.7748, allocations: 7.594 kB / 1.001 GB, free: 144.1 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001134/0.7759, allocations: 229.2 kB / 1.001 GB, free: 144.1 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001838/0.7778, allocations: 0.6682 MB / 1.002 GB, free: 143.9 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.969e-05/0.7779, allocations: 37.45 kB / 1.002 GB, free: 143.9 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0128/0.7907, allocations: 15.86 MB / 1.017 GB, free: 130.7 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.024e-05/0.7907, allocations: 9.938 kB / 1.017 GB, free: 130.7 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006076/0.7968, allocations: 4.001 MB / 1.021 GB, free: 128.9 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001206/0.798, allocations: 393.9 kB / 1.022 GB, free: 128.8 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002782/0.7982, allocations: 36.16 kB / 1.022 GB, free: 128.8 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000884/0.7991, allocations: 83.78 kB / 1.022 GB, free: 128.8 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003155/0.7994, allocations: 122.7 kB / 1.022 GB, free: 128.8 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.669e-05/0.7995, allocations: 40.06 kB / 1.022 GB, free: 128.8 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001365/0.8009, allocations: 0.994 MB / 1.023 GB, free: 128.4 MB / 0.7325 GB Notification: Performance of sort global known variables: time 9e-08/0.8009, allocations: 3.562 kB / 1.023 GB, free: 128.4 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.002296/0.8032, allocations: 0.6851 MB / 1.024 GB, free: 128.3 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 22 * Number of states: 6 (RL_3.phase1.i_p[1],RL_3.phase1.i_p[2],RL_3.phase2.i_p[1],RL_3.phase2.i_p[2],RL_3.phase3.i_p[1],RL_3.phase3.i_p[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 (101): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 9 systems {(2,2,100.0%), (2,2,100.0%), (2,2,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%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000229/0.8034, allocations: 150.5 kB / 1.024 GB, free: 128.2 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.004504/0.8079, allocations: 3.386 MB / 1.027 GB, free: 126.3 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 8.326e-06/0.8079, allocations: 0.5625 kB / 1.027 GB, free: 126.3 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.002614/0.8105, allocations: 2.241 MB / 1.029 GB, free: 124.9 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00272/0.8133, allocations: 0.6805 MB / 1.03 GB, free: 124.7 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009315/0.8226, allocations: 7.153 MB / 1.037 GB, free: 121.2 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001995/0.8246, allocations: 2.723 MB / 1.039 GB, free: 119.7 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004916/0.8251, allocations: 126.7 kB / 1.04 GB, free: 119.7 MB / 0.7325 GB Notification: Performance of SimCode: time 1.032e-06/0.8251, allocations: 3.938 kB / 1.04 GB, free: 119.7 MB / 0.7325 GB Notification: Performance of Templates: time 0.1642/0.9893, allocations: 210 MB / 1.245 GB, free: 6.949 MB / 0.8262 GB " [Timeout remaining time 659] make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 17.738428164971992] Failed to read output from testmodel.py, exit status != 0: 0.9971058228984475 1.012291267 0.734324801 Calling exit ...