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.001833/0.001833, allocations: 78.09 kB / 19.76 MB, free: 1.875 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.002248/0.002248, allocations: 157.4 kB / 23.01 MB, free: 4.605 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.427/1.427, allocations: 177.2 MB / 203.4 MB, free: 8.938 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.002497/0.002497, allocations: 238 kB / 260 MB, free: 428 kB / 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 0.9228/0.9228, allocations: 138.5 MB / 455 MB, free: 15.07 MB / 430.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.003272/0.003272, allocations: 94.64 kB / 0.6474 GB, free: 7.562 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4017/0.405, allocations: 95.35 MB / 0.7405 GB, free: 17.43 MB / 0.5919 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL): time 0.02368/0.4287, allocations: 25.57 MB / 0.7654 GB, free: 0.8867 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01521/0.4439, allocations: 8.086 MB / 0.7733 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002477/0.4464, allocations: 158.4 kB / 0.7735 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.007201/0.4536, allocations: 2.764 MB / 0.7762 GB, free: 8.441 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.004325/0.4579, allocations: 1.669 MB / 0.7778 GB, free: 7.066 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.004148/0.462, allocations: 1.69 MB / 0.7795 GB, free: 5.691 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.007185/0.4692, allocations: 6.142 MB / 0.7855 GB, free: 2.156 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005063/0.4743, allocations: 3.733 MB / 0.7891 GB, free: 15.77 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004471/0.4788, allocations: 2.677 MB / 0.7917 GB, free: 14.23 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005109/0.4839, allocations: 2.815 MB / 0.7945 GB, free: 11.41 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0008167/0.4847, allocations: 0.5117 MB / 0.795 GB, free: 10.89 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002578/0.4873, allocations: 1.197 MB / 0.7961 GB, free: 9.695 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.002403/0.4897, allocations: 2.104 MB / 0.7982 GB, free: 7.586 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.003157/0.4928, allocations: 1.93 MB / 0.8001 GB, free: 5.648 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.009962/0.5028, allocations: 8.119 MB / 0.808 GB, free: 13.51 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 6.883e-06/0.5028, allocations: 0 / 0.808 GB, free: 13.51 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.994e-06/0.5028, allocations: 0 / 0.808 GB, free: 13.51 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 0.0001941/0.503, allocations: 4 kB / 0.808 GB, free: 13.5 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: 976 * Number of variables: 976 Notification: Performance of Generate backend data structure: time 0.009009/0.512, allocations: 4.26 MB / 0.8122 GB, free: 9.191 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.157e-05/0.512, allocations: 12.69 kB / 0.8122 GB, free: 9.18 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004415/0.5165, allocations: 0.8296 MB / 0.813 GB, free: 8.348 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005793/0.5222, allocations: 2.53 MB / 0.8155 GB, free: 5.754 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002365/0.5225, allocations: 271.6 kB / 0.8157 GB, free: 5.488 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007474/0.5232, allocations: 380.6 kB / 0.8161 GB, free: 5.117 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01085/0.5341, allocations: 6.448 MB / 0.8224 GB, free: 14.3 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.873e-05/0.5342, allocations: 19.83 kB / 0.8224 GB, free: 14.29 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003969/0.5346, allocations: 160 kB / 0.8226 GB, free: 14.13 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006429/0.5352, allocations: 286.9 kB / 0.8228 GB, free: 13.85 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007797/0.543, allocations: 4.512 MB / 0.8272 GB, free: 9.328 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02456/0.5676, allocations: 17.41 MB / 0.8442 GB, free: 7.402 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001744/0.5693, allocations: 1.054 MB / 0.8453 GB, free: 6.344 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001482/0.5708, allocations: 0.9641 MB / 0.8462 GB, free: 5.379 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 7.159e-05/0.5709, allocations: 17 kB / 0.8462 GB, free: 5.359 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.348e-05/0.5709, allocations: 43.56 kB / 0.8463 GB, free: 5.309 MB / 0.67 GB Notification: Performance of pre-optimization done (n=110): time 3.466e-06/0.5709, allocations: 0 / 0.8463 GB, free: 5.309 MB / 0.67 GB Notification: Performance of matching and sorting (n=131): time 0.02275/0.5937, allocations: 9.085 MB / 0.8551 GB, free: 12.17 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.651e-05/0.5937, allocations: 64.72 kB / 0.8552 GB, free: 12.09 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002138/0.5959, allocations: 1.397 MB / 0.8566 GB, free: 10.69 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0001119/0.596, allocations: 49.7 kB / 0.8566 GB, free: 10.64 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.001354/0.5973, allocations: 1.73 MB / 0.8583 GB, free: 8.895 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004684/0.5978, allocations: 495.7 kB / 0.8588 GB, free: 8.406 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005675/0.5984, allocations: 331.4 kB / 0.8591 GB, free: 8.078 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001317/0.5985, allocations: 305.1 kB / 0.8594 GB, free: 7.777 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001441/0.6, allocations: 0.9135 MB / 0.8603 GB, free: 6.863 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001969/0.6019, allocations: 1.463 MB / 0.8617 GB, free: 5.164 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003575/0.6055, allocations: 2.542 MB / 0.8642 GB, free: 2.383 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.63e-05/0.6055, allocations: 11.94 kB / 0.8642 GB, free: 2.371 MB / 0.6856 GB Notification: Performance of matching and sorting (n=226) (initialization): time 0.006362/0.6119, allocations: 3.259 MB / 0.8674 GB, free: 15.07 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 3.51e-05/0.6119, allocations: 15.94 kB / 0.8674 GB, free: 15.06 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.059e-05/0.6119, allocations: 20 kB / 0.8674 GB, free: 15.04 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002421/0.6144, allocations: 0.7381 MB / 0.8681 GB, free: 14.27 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001602/0.616, allocations: 383.4 kB / 0.8685 GB, free: 13.9 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01772/0.6337, allocations: 15.83 MB / 0.884 GB, free: 13.14 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001626/0.6353, allocations: 99.91 kB / 0.8841 GB, free: 13.04 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002622/0.6356, allocations: 79.98 kB / 0.8841 GB, free: 12.96 MB / 0.7169 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.002401/0.638, allocations: 1.301 MB / 0.8854 GB, free: 11.65 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005021/0.6385, allocations: 198.8 kB / 0.8856 GB, free: 11.46 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005539/0.644, allocations: 2.761 MB / 0.8883 GB, free: 8.648 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.609e-05/0.644, allocations: 20 kB / 0.8883 GB, free: 8.629 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.059e-05/0.644, allocations: 4 kB / 0.8883 GB, free: 8.625 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.352e-05/0.6441, allocations: 7.969 kB / 0.8883 GB, free: 8.617 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01069/0.6548, allocations: 5.342 MB / 0.8935 GB, free: 3.133 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.124e-05/0.6548, allocations: 4 kB / 0.8935 GB, free: 3.129 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001234/0.656, allocations: 231.6 kB / 0.8938 GB, free: 2.902 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002165/0.6582, allocations: 0.6633 MB / 0.8944 GB, free: 2.211 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001077/0.6583, allocations: 36 kB / 0.8944 GB, free: 2.176 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01727/0.6755, allocations: 15.56 MB / 0.9096 GB, free: 1.695 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.845e-06/0.6755, allocations: 4 kB / 0.9096 GB, free: 1.691 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007023/0.6826, allocations: 3.985 MB / 0.9135 GB, free: 13.59 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001121/0.6837, allocations: 374.7 kB / 0.9139 GB, free: 13.23 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003666/0.6841, allocations: 40.05 kB / 0.9139 GB, free: 13.19 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001074/0.6851, allocations: 83.89 kB / 0.914 GB, free: 13.11 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003093/0.6854, allocations: 120.7 kB / 0.9141 GB, free: 12.98 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000107/0.6855, allocations: 40 kB / 0.9142 GB, free: 12.95 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.001426/0.687, allocations: 0.9048 MB / 0.915 GB, free: 12.05 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.1e-07/0.687, allocations: 0 / 0.915 GB, free: 12.05 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.002335/0.6893, allocations: 0.6797 MB / 0.9157 GB, free: 11.37 MB / 0.7481 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.0002575/0.6896, allocations: 147.6 kB / 0.9159 GB, free: 11.21 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.005566/0.6951, allocations: 3.389 MB / 0.9192 GB, free: 7.715 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 6.723e-06/0.6951, allocations: 4 kB / 0.9192 GB, free: 7.711 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.003445/0.6986, allocations: 2.241 MB / 0.9214 GB, free: 5.352 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00316/0.7017, allocations: 0.6417 MB / 0.922 GB, free: 4.738 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01211/0.7138, allocations: 6.631 MB / 0.9285 GB, free: 14.02 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003312/0.7172, allocations: 2.105 MB / 0.9305 GB, free: 11.88 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.001507/0.7187, allocations: 472.4 kB / 0.931 GB, free: 11.42 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003737/0.719, allocations: 120.5 kB / 0.9311 GB, free: 11.3 MB / 0.7637 GB Notification: Performance of SimCode: time 1.122e-06/0.719, allocations: 0 / 0.9311 GB, free: 11.3 MB / 0.7637 GB Notification: Performance of Templates: time 0.06178/0.7808, allocations: 33.71 MB / 0.964 GB, free: 10.29 MB / 0.795 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 -s ida -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.139615366002545] Failed to read output from testmodel.py, exit status != 0: 0.790186848025769 0.8049279619999999 0.298896763 Calling exit ...