Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_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.001361/0.001361, allocations: 102.1 kB / 19.7 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.001477/0.001477, allocations: 221.9 kB / 23.01 MB, free: 4.609 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.415/1.415, allocations: 230.6 MB / 256.8 MB, free: 8.043 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.002521/0.002521, allocations: 283.3 kB / 313.5 MB, free: 2.828 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.226/1.226, allocations: 180.6 MB / 0.5377 GB, free: 13.02 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.ACLineMatrix_RL_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N") translateModel(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_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.002917/0.002917, allocations: 106 kB / 0.7408 GB, free: 27.76 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1705/0.1735, allocations: 95.39 MB / 0.834 GB, free: 8.125 MB / 0.5763 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N): time 0.02939/0.2029, allocations: 24.45 MB / 0.8579 GB, free: 15.59 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.01232/0.2152, allocations: 6.71 MB / 0.8644 GB, free: 8.859 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002073/0.2173, allocations: 127.1 kB / 0.8645 GB, free: 8.734 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.00418/0.2214, allocations: 1.553 MB / 0.866 GB, free: 7.176 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.004442/0.2259, allocations: 1.941 MB / 0.8679 GB, free: 5.227 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.003573/0.2294, allocations: 1.514 MB / 0.8694 GB, free: 3.715 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.008209/0.2377, allocations: 6.905 MB / 0.8762 GB, free: 12.79 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006443/0.2441, allocations: 3.761 MB / 0.8798 GB, free: 8.93 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00477/0.2489, allocations: 2.917 MB / 0.8827 GB, free: 6.004 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006065/0.2549, allocations: 3.739 MB / 0.8863 GB, free: 2.254 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.00161/0.2565, allocations: 0.5273 MB / 0.8869 GB, free: 1.727 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00347/0.26, allocations: 1.202 MB / 0.888 GB, free: 0.5234 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.003775/0.2638, allocations: 2.521 MB / 0.8905 GB, free: 14 MB / 0.6388 GB Notification: Performance of NFVerifyModel.verify: time 0.004914/0.2687, allocations: 2.532 MB / 0.893 GB, free: 11.45 MB / 0.6388 GB Notification: Performance of NFConvertDAE.convert: time 0.01112/0.2798, allocations: 8.546 MB / 0.9013 GB, free: 2.879 MB / 0.6388 GB Notification: Performance of FrontEnd - DAE generated: time 5.01e-06/0.2798, allocations: 0 / 0.9013 GB, free: 2.879 MB / 0.6388 GB Notification: Performance of FrontEnd: time 1.332e-06/0.2798, allocations: 4 kB / 0.9013 GB, free: 2.875 MB / 0.6388 GB Notification: Performance of Transformations before backend: time 0.0002323/0.2801, allocations: 0 / 0.9013 GB, free: 2.875 MB / 0.6388 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1053 * Number of variables: 1053 Notification: Performance of Generate backend data structure: time 0.009803/0.2899, allocations: 4.472 MB / 0.9057 GB, free: 14.35 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.053e-05/0.2899, allocations: 12.75 kB / 0.9057 GB, free: 14.34 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008521/0.2984, allocations: 1.695 MB / 0.9073 GB, free: 12.64 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006611/0.305, allocations: 2.665 MB / 0.9099 GB, free: 9.93 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002472/0.3053, allocations: 275.7 kB / 0.9102 GB, free: 9.66 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00103/0.3063, allocations: 368.2 kB / 0.9106 GB, free: 9.301 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01386/0.3202, allocations: 7.495 MB / 0.9179 GB, free: 1.539 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.018e-05/0.3203, allocations: 11.94 kB / 0.9179 GB, free: 1.527 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004542/0.3207, allocations: 159.9 kB / 0.918 GB, free: 1.371 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006027/0.3213, allocations: 487.3 kB / 0.9185 GB, free: 0.8945 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01077/0.3321, allocations: 5.705 MB / 0.9241 GB, free: 11.18 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03754/0.3696, allocations: 31.27 MB / 0.9546 GB, free: 9.129 MB / 0.7013 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002966/0.3726, allocations: 2.019 MB / 0.9566 GB, free: 7.102 MB / 0.7013 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003055/0.3757, allocations: 2.108 MB / 0.9586 GB, free: 4.988 MB / 0.7013 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001483/0.3758, allocations: 21.3 kB / 0.9587 GB, free: 4.969 MB / 0.7013 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.585e-05/0.3759, allocations: 47.88 kB / 0.9587 GB, free: 4.91 MB / 0.7013 GB Notification: Performance of pre-optimization done (n=146): time 3.196e-06/0.3759, allocations: 4 kB / 0.9587 GB, free: 4.906 MB / 0.7013 GB Notification: Performance of matching and sorting (n=251): time 0.61/0.9858, allocations: 76.71 MB / 1.034 GB, free: 133.5 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.275e-05/0.9859, allocations: 77.41 kB / 1.034 GB, free: 133.4 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001657/0.9875, allocations: 1.674 MB / 1.035 GB, free: 131.7 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0003436/0.9879, allocations: 65.7 kB / 1.035 GB, free: 131.6 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006322/0.9885, allocations: 1.798 MB / 1.037 GB, free: 130 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005541/0.9891, allocations: 0.8964 MB / 1.038 GB, free: 129.2 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000783/0.9899, allocations: 489.3 kB / 1.038 GB, free: 128.7 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 3.374e-05/0.9899, allocations: 305.1 kB / 1.039 GB, free: 128.4 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002805/0.9927, allocations: 2.726 MB / 1.041 GB, free: 125.6 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002983/0.9957, allocations: 3.336 MB / 1.045 GB, free: 122.1 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006188/1.002, allocations: 6.386 MB / 1.051 GB, free: 115.4 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.094e-05/1.002, allocations: 11.94 kB / 1.051 GB, free: 115.4 MB / 0.7325 GB Notification: Performance of matching and sorting (n=331) (initialization): time 0.02654/1.028, allocations: 14.41 MB / 1.065 GB, free: 101 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.673e-05/1.028, allocations: 17.08 kB / 1.065 GB, free: 100.9 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.056e-05/1.028, allocations: 20.16 kB / 1.065 GB, free: 100.9 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02515/1.054, allocations: 9.243 MB / 1.074 GB, free: 91.66 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001083/1.055, allocations: 299.4 kB / 1.074 GB, free: 91.37 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06292/1.118, allocations: 51.78 MB / 1.125 GB, free: 38.93 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002641/1.12, allocations: 227.7 kB / 1.125 GB, free: 38.7 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002808/1.121, allocations: 96 kB / 1.125 GB, free: 38.61 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 (157): * Single equations (assignments): 151 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(19,19,64.8%), (19,19,60.9%), (12,18,50.0%), (12,18,50.0%), (12,10,52.8%), (12,10,52.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002085/1.123, allocations: 1.587 MB / 1.127 GB, free: 37.01 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004946/1.123, allocations: 258.6 kB / 1.127 GB, free: 36.76 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02682/1.15, allocations: 14.47 MB / 1.141 GB, free: 22.23 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.675e-05/1.15, allocations: 24 kB / 1.141 GB, free: 22.21 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.188e-05/1.15, allocations: 44 kB / 1.141 GB, free: 22.17 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.654e-05/1.15, allocations: 11.95 kB / 1.141 GB, free: 22.16 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03384/1.184, allocations: 20.21 MB / 1.161 GB, free: 1.801 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.31e-05/1.184, allocations: 12.06 kB / 1.161 GB, free: 1.789 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00066/1.185, allocations: 167.7 kB / 1.161 GB, free: 1.625 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02845/1.213, allocations: 9.004 MB / 1.17 GB, free: 8.594 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004223/1.213, allocations: 48 kB / 1.17 GB, free: 8.547 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.08402/1.298, allocations: 51.35 MB / 1.22 GB, free: 4.523 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.053e-05/1.298, allocations: 15.92 kB / 1.22 GB, free: 4.508 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03285/1.33, allocations: 14.09 MB / 1.234 GB, free: 6.281 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00267/1.333, allocations: 0.7847 MB / 1.235 GB, free: 5.496 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005854/1.334, allocations: 59.98 kB / 1.235 GB, free: 5.438 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002017/1.336, allocations: 203.7 kB / 1.235 GB, free: 5.238 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001163/1.337, allocations: 249.4 kB / 1.235 GB, free: 4.996 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002284/1.337, allocations: 67.98 kB / 1.235 GB, free: 4.93 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.001645/1.339, allocations: 1.121 MB / 1.236 GB, free: 3.785 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.1e-07/1.339, allocations: 3.938 kB / 1.236 GB, free: 3.781 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.004582/1.343, allocations: 1.613 MB / 1.238 GB, free: 2.168 MB / 0.8106 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (80): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(12,10,53.5%), (12,18,50.0%), (19,19,64.8%), (12,10,53.5%), (12,18,50.0%), (19,19,54.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003975/1.344, allocations: 163 kB / 1.238 GB, free: 2 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.02269/1.366, allocations: 10.2 MB / 1.248 GB, free: 7.727 MB / 0.8263 GB Notification: Performance of simCode: created event and clocks part: time 8.927e-06/1.366, allocations: 0 / 1.248 GB, free: 7.727 MB / 0.8263 GB Notification: Performance of simCode: created simulation system equations: time 0.01749/1.384, allocations: 7.014 MB / 1.255 GB, free: 0.668 MB / 0.8263 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003259/1.387, allocations: 0.5637 MB / 1.255 GB, free: 144 kB / 0.8263 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01632/1.403, allocations: 9.552 MB / 1.265 GB, free: 6.488 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004028/1.407, allocations: 3.298 MB / 1.268 GB, free: 3.152 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000425/1.408, allocations: 111.4 kB / 1.268 GB, free: 3.043 MB / 0.8419 GB Notification: Performance of SimCode: time 8.22e-07/1.408, allocations: 3.938 kB / 1.268 GB, free: 3.039 MB / 0.8419 GB Notification: Performance of Templates: time 0.5196/1.928, allocations: 188 MB / 1.452 GB, free: 210.8 MB / 0.9044 GB " [Timeout remaining time 658] make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 18.77943076007068] Failed to read output from testmodel.py, exit status != 0: 1.9348909531254321 1.943978539 1.6618734210000001 Calling exit ...