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.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.001727/0.001727, allocations: 74.36 kB / 19.01 MB, free: 2.867 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.002062/0.002062, allocations: 157.2 kB / 22.26 MB, free: 5.129 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.47/1.47, allocations: 177.2 MB / 202.6 MB, free: 9.266 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.002606/0.002606, allocations: 238 kB / 259.3 MB, free: 0.5781 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.073/1.073, allocations: 138.5 MB / 454.2 MB, free: 2.027 MB / 366.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_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: 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.003314/0.003314, allocations: 111.8 kB / 0.6466 GB, free: 5.18 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4026/0.4059, allocations: 95.35 MB / 0.7397 GB, free: 15.18 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N): time 0.02494/0.4309, allocations: 19.26 MB / 0.7586 GB, free: 11.85 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01162/0.4425, allocations: 6.422 MB / 0.7648 GB, free: 5.414 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001855/0.4444, allocations: 111.2 kB / 0.7649 GB, free: 5.305 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.00607/0.4504, allocations: 2.249 MB / 0.7671 GB, free: 3.051 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.00374/0.4542, allocations: 1.244 MB / 0.7683 GB, free: 1.801 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.003498/0.4577, allocations: 1.286 MB / 0.7696 GB, free: 0.5156 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.006522/0.4642, allocations: 4.847 MB / 0.7743 GB, free: 11.66 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00499/0.4692, allocations: 3.147 MB / 0.7774 GB, free: 8.441 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005009/0.4742, allocations: 3.059 MB / 0.7804 GB, free: 5.375 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003843/0.478, allocations: 2.332 MB / 0.7827 GB, free: 3.035 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0006708/0.4787, allocations: 428 kB / 0.7831 GB, free: 2.617 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001935/0.4806, allocations: 0.944 MB / 0.784 GB, free: 1.672 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.001816/0.4825, allocations: 1.711 MB / 0.7857 GB, free: 15.96 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.002071/0.4845, allocations: 1.549 MB / 0.7872 GB, free: 14.4 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.006637/0.4912, allocations: 6.57 MB / 0.7936 GB, free: 7.812 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.4912, allocations: 0 / 0.7936 GB, free: 7.812 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.352e-06/0.4912, allocations: 0 / 0.7936 GB, free: 7.812 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 8.693e-05/0.4913, allocations: 4 kB / 0.7936 GB, free: 7.809 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.006031/0.4973, allocations: 3.466 MB / 0.797 GB, free: 4.293 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.353e-05/0.4973, allocations: 8.75 kB / 0.797 GB, free: 4.285 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003181/0.5005, allocations: 0.6623 MB / 0.7976 GB, free: 3.621 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003549/0.504, allocations: 1.99 MB / 0.7996 GB, free: 1.578 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001965/0.5042, allocations: 230.2 kB / 0.7998 GB, free: 1.352 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004699/0.5047, allocations: 296.3 kB / 0.8001 GB, free: 1.062 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007964/0.5127, allocations: 5.238 MB / 0.8052 GB, free: 11.54 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.688e-05/0.5128, allocations: 11.92 kB / 0.8052 GB, free: 11.53 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003243/0.5131, allocations: 132 kB / 0.8053 GB, free: 11.4 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004266/0.5135, allocations: 229.7 kB / 0.8056 GB, free: 11.18 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006147/0.5197, allocations: 3.75 MB / 0.8092 GB, free: 7.414 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01797/0.5376, allocations: 13.1 MB / 0.822 GB, free: 9.965 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001863/0.5395, allocations: 1.226 MB / 0.8232 GB, free: 8.73 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001498/0.541, allocations: 0.992 MB / 0.8242 GB, free: 7.734 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 7.069e-05/0.5411, allocations: 13 kB / 0.8242 GB, free: 7.719 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.11e-05/0.5411, allocations: 43.56 kB / 0.8242 GB, free: 7.668 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=107): time 3.035e-06/0.5411, allocations: 0 / 0.8242 GB, free: 7.668 MB / 0.6544 GB Notification: Performance of matching and sorting (n=138): time 0.02408/0.5652, allocations: 8.417 MB / 0.8325 GB, free: 15.25 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.509e-05/0.5652, allocations: 64.72 kB / 0.8325 GB, free: 15.18 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001454/0.5667, allocations: 1.063 MB / 0.8336 GB, free: 14.1 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0001005/0.5668, allocations: 49.7 kB / 0.8336 GB, free: 14.05 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009726/0.5678, allocations: 1.35 MB / 0.8349 GB, free: 12.68 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004527/0.5682, allocations: 0.4919 MB / 0.8354 GB, free: 12.19 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004942/0.5687, allocations: 291.5 kB / 0.8357 GB, free: 11.9 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001304/0.5688, allocations: 309.1 kB / 0.836 GB, free: 11.59 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001367/0.5702, allocations: 0.9135 MB / 0.8369 GB, free: 10.68 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001736/0.5719, allocations: 1.326 MB / 0.8382 GB, free: 9.184 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003275/0.5752, allocations: 2.426 MB / 0.8405 GB, free: 6.586 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.546e-06/0.5752, allocations: 4 kB / 0.8405 GB, free: 6.582 MB / 0.67 GB Notification: Performance of matching and sorting (n=203) (initialization): time 0.006264/0.5815, allocations: 3.43 MB / 0.8439 GB, free: 3.133 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.658e-05/0.5815, allocations: 8.188 kB / 0.8439 GB, free: 3.125 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.299e-05/0.5815, allocations: 19.98 kB / 0.8439 GB, free: 3.105 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003309/0.5848, allocations: 1.177 MB / 0.8451 GB, free: 1.922 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009106/0.5858, allocations: 255.6 kB / 0.8453 GB, free: 1.672 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01864/0.6044, allocations: 13.26 MB / 0.8583 GB, free: 4.117 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001233/0.6056, allocations: 87.97 kB / 0.8583 GB, free: 4.031 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001253/0.6058, allocations: 67.92 kB / 0.8584 GB, free: 3.965 MB / 0.6856 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.001846/0.6076, allocations: 1.118 MB / 0.8595 GB, free: 2.836 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003024/0.6079, allocations: 159 kB / 0.8596 GB, free: 2.68 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005881/0.6138, allocations: 3.137 MB / 0.8627 GB, free: 15.52 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.413e-05/0.6138, allocations: 12 kB / 0.8627 GB, free: 15.5 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.54e-05/0.6138, allocations: 12 kB / 0.8627 GB, free: 15.49 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.065e-05/0.6138, allocations: 7.984 kB / 0.8627 GB, free: 15.48 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009788/0.6236, allocations: 5.468 MB / 0.8681 GB, free: 9.91 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.217e-06/0.6236, allocations: 4 kB / 0.8681 GB, free: 9.906 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006075/0.6242, allocations: 155.7 kB / 0.8682 GB, free: 9.754 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002966/0.6272, allocations: 1.068 MB / 0.8693 GB, free: 8.68 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.127e-05/0.6273, allocations: 28 kB / 0.8693 GB, free: 8.652 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01789/0.6452, allocations: 12.96 MB / 0.882 GB, free: 11.39 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.45e-06/0.6452, allocations: 8 kB / 0.882 GB, free: 11.38 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005563/0.6508, allocations: 3.115 MB / 0.885 GB, free: 8.184 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008231/0.6516, allocations: 338.9 kB / 0.8853 GB, free: 7.852 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001922/0.6518, allocations: 31.98 kB / 0.8854 GB, free: 7.82 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007489/0.6525, allocations: 79.91 kB / 0.8854 GB, free: 7.742 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003335/0.6528, allocations: 132.6 kB / 0.8856 GB, free: 7.613 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.134e-05/0.6529, allocations: 36 kB / 0.8856 GB, free: 7.578 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0009973/0.6539, allocations: 0.7059 MB / 0.8863 GB, free: 6.867 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.6539, allocations: 4 kB / 0.8863 GB, free: 6.863 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.001895/0.6558, allocations: 0.6602 MB / 0.8869 GB, free: 6.203 MB / 0.7169 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.0002173/0.656, allocations: 135.1 kB / 0.8871 GB, free: 6.059 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.00546/0.6615, allocations: 3.017 MB / 0.89 GB, free: 3.008 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.47e-05/0.6615, allocations: 0 / 0.89 GB, free: 3.008 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.004126/0.6656, allocations: 1.893 MB / 0.8919 GB, free: 1.078 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002977/0.6686, allocations: 481 kB / 0.8923 GB, free: 0.6328 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01136/0.68, allocations: 5.521 MB / 0.8977 GB, free: 11.03 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002706/0.6827, allocations: 1.765 MB / 0.8994 GB, free: 9.223 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001316/0.684, allocations: 345.3 kB / 0.8998 GB, free: 8.879 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002191/0.6842, allocations: 84.5 kB / 0.8998 GB, free: 8.797 MB / 0.7325 GB Notification: Performance of SimCode: time 1.413e-06/0.6842, allocations: 0 / 0.8998 GB, free: 8.797 MB / 0.7325 GB Notification: Performance of Templates: time 0.05895/0.7432, allocations: 33.13 MB / 0.9322 GB, free: 8.281 MB / 0.7637 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.21582493558526] Failed to read output from testmodel.py, exit status != 0: 0.752478888258338 1.060460505 0.56642991 Calling exit ...