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.0009984/0.0009984, allocations: 92.22 kB / 19.65 MB, free: 276 kB / 13.93 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.001223/0.001223, allocations: 173 kB / 23.03 MB, free: 1.543 MB / 18.57 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 0.9142/0.9142, allocations: 177.1 MB / 203.4 MB, free: 5.641 MB / 186.7 MB " [Timeout remaining time 179] 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.002697/0.002697, allocations: 233.9 kB / 260.2 MB, free: 12.82 MB / 250.7 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.7072/0.7072, allocations: 138.4 MB / 455.2 MB, free: 1.543 MB / 362.7 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: Performance of FrontEnd - loaded program: time 1.963e-06/1.963e-06, allocations: 0 / 0.5551 GB, free: 0.5039 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.519e-05/2.715e-05, allocations: 2.312 kB / 0.5551 GB, free: 0.5 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N): time 0.01077/0.01079, allocations: 11.85 MB / 0.5667 GB, free: 4.594 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.006004/0.0168, allocations: 3.609 MB / 0.5702 GB, free: 0.9766 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00122/0.01802, allocations: 111.2 kB / 0.5703 GB, free: 0.8672 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001081/0.0191, allocations: 496.5 kB / 0.5708 GB, free: 388 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00179/0.02089, allocations: 1.114 MB / 0.5719 GB, free: 15.26 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001773/0.02266, allocations: 1.014 MB / 0.5729 GB, free: 14.24 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0045/0.02716, allocations: 4.869 MB / 0.5777 GB, free: 9.359 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00352/0.03068, allocations: 3.135 MB / 0.5807 GB, free: 6.152 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004014/0.0347, allocations: 2.998 MB / 0.5836 GB, free: 3.148 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002959/0.03766, allocations: 2.373 MB / 0.586 GB, free: 0.7695 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 0.0009758/0.03863, allocations: 428 kB / 0.5864 GB, free: 360 kB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001411/0.04004, allocations: 0.5076 MB / 0.5869 GB, free: 15.84 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.001749/0.04179, allocations: 1.805 MB / 0.5886 GB, free: 14.04 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.002614/0.04441, allocations: 1.353 MB / 0.5899 GB, free: 12.68 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.003793/0.0482, allocations: 3.35 MB / 0.5932 GB, free: 9.32 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 7.124e-06/0.04821, allocations: 4 kB / 0.5932 GB, free: 9.316 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.273e-06/0.04821, allocations: 0 / 0.5932 GB, free: 9.316 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0001777/0.04839, allocations: 4 kB / 0.5932 GB, free: 9.312 MB / 0.5105 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.005129/0.05351, allocations: 3.595 MB / 0.5967 GB, free: 5.66 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.964e-05/0.05355, allocations: 8.75 kB / 0.5967 GB, free: 5.652 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002081/0.05564, allocations: 0.9896 MB / 0.5977 GB, free: 4.66 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002419/0.05805, allocations: 1.908 MB / 0.5996 GB, free: 2.699 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001103/0.05816, allocations: 222.3 kB / 0.5998 GB, free: 2.48 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003139/0.05848, allocations: 296.4 kB / 0.6001 GB, free: 2.191 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2162/0.2747, allocations: 3.137 MB / 0.6031 GB, free: 84.07 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001601/0.2749, allocations: 14.69 kB / 0.6031 GB, free: 84.07 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002498/0.2751, allocations: 130.5 kB / 0.6033 GB, free: 84.07 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00031/0.2754, allocations: 226.2 kB / 0.6035 GB, free: 84.06 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002671/0.2781, allocations: 1.14 MB / 0.6046 GB, free: 84.02 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01153/0.2896, allocations: 14.45 MB / 0.6187 GB, free: 76.38 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007809/0.2904, allocations: 0.5917 MB / 0.6193 GB, free: 76.26 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006024/0.291, allocations: 435.8 kB / 0.6197 GB, free: 76.17 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 5.842e-05/0.2911, allocations: 18.92 kB / 0.6197 GB, free: 76.17 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.539e-05/0.2911, allocations: 49.73 kB / 0.6198 GB, free: 76.12 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=107): time 4.368e-06/0.2911, allocations: 0 / 0.6198 GB, free: 76.12 MB / 0.5105 GB Notification: Performance of matching and sorting (n=138): time 0.009325/0.3004, allocations: 4.487 MB / 0.6241 GB, free: 75 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.784e-05/0.3005, allocations: 67.73 kB / 0.6242 GB, free: 74.94 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001191/0.3017, allocations: 0.9978 MB / 0.6252 GB, free: 74.52 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0001056/0.3018, allocations: 52.08 kB / 0.6252 GB, free: 74.46 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007446/0.3025, allocations: 1.394 MB / 0.6266 GB, free: 73.55 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003438/0.3029, allocations: 0.5089 MB / 0.6271 GB, free: 73.15 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003467/0.3032, allocations: 303.8 kB / 0.6274 GB, free: 72.99 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 5.41e-05/0.3033, allocations: 483 kB / 0.6278 GB, free: 72.52 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005294/0.3038, allocations: 307.2 kB / 0.6281 GB, free: 72.47 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007512/0.3046, allocations: 0.8875 MB / 0.629 GB, free: 71.72 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001413/0.306, allocations: 1.306 MB / 0.6303 GB, free: 70.8 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-05/0.306, allocations: 7.344 kB / 0.6303 GB, free: 70.8 MB / 0.5105 GB Notification: Performance of matching and sorting (n=203) (initialization): time 0.00335/0.3093, allocations: 1.94 MB / 0.6322 GB, free: 70.28 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.72e-05/0.3094, allocations: 13.44 kB / 0.6322 GB, free: 70.28 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.987e-05/0.3094, allocations: 16.3 kB / 0.6322 GB, free: 70.28 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002374/0.3117, allocations: 0.9127 MB / 0.6331 GB, free: 70.12 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006794/0.3124, allocations: 256.6 kB / 0.6333 GB, free: 70.11 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008572/0.321, allocations: 9.119 MB / 0.6422 GB, free: 63.27 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001148/0.3221, allocations: 93.39 kB / 0.6423 GB, free: 63.24 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001293/0.3223, allocations: 64.27 kB / 0.6424 GB, free: 63.23 MB / 0.5105 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.0008104/0.3231, allocations: 244.3 kB / 0.6426 GB, free: 63.02 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003324/0.3234, allocations: 205.5 kB / 0.6428 GB, free: 62.91 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003204/0.3266, allocations: 1.659 MB / 0.6444 GB, free: 62.36 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.369e-05/0.3266, allocations: 17.75 kB / 0.6445 GB, free: 62.36 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.478e-05/0.3267, allocations: 16.31 kB / 0.6445 GB, free: 62.36 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.268e-05/0.3267, allocations: 6.844 kB / 0.6445 GB, free: 62.36 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007221/0.3339, allocations: 3.989 MB / 0.6484 GB, free: 60.63 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.929e-06/0.3339, allocations: 3.312 kB / 0.6484 GB, free: 60.63 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004168/0.3343, allocations: 145.3 kB / 0.6485 GB, free: 60.63 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00235/0.3367, allocations: 0.8534 MB / 0.6494 GB, free: 60.46 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.641e-05/0.3368, allocations: 30.19 kB / 0.6494 GB, free: 60.45 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008365/0.3451, allocations: 9.085 MB / 0.6583 GB, free: 53.6 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.181e-06/0.3451, allocations: 14.48 kB / 0.6583 GB, free: 53.6 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003051/0.3482, allocations: 1.88 MB / 0.6601 GB, free: 52.52 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006638/0.3488, allocations: 323.3 kB / 0.6604 GB, free: 52.31 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001618/0.349, allocations: 31.19 kB / 0.6604 GB, free: 52.29 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005522/0.3496, allocations: 87.27 kB / 0.6605 GB, free: 52.24 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003482/0.3499, allocations: 132.3 kB / 0.6607 GB, free: 52.16 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.247e-05/0.35, allocations: 38.12 kB / 0.6607 GB, free: 52.15 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0005843/0.3506, allocations: 0.594 MB / 0.6613 GB, free: 51.64 MB / 0.5105 GB Notification: Performance of sort global known variables: time 7e-08/0.3506, allocations: 0 / 0.6613 GB, free: 51.64 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001969/0.3525, allocations: 0.668 MB / 0.6619 GB, free: 50.97 MB / 0.5105 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.0002176/0.3528, allocations: 137.8 kB / 0.6621 GB, free: 50.84 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.003032/0.3558, allocations: 2.098 MB / 0.6641 GB, free: 48.73 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 8.075e-06/0.3558, allocations: 4 kB / 0.6641 GB, free: 48.73 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001841/0.3576, allocations: 1.576 MB / 0.6656 GB, free: 47.12 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001747/0.3594, allocations: 486.1 kB / 0.6661 GB, free: 46.71 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007245/0.3666, allocations: 4.8 MB / 0.6708 GB, free: 41.81 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008404/0.3675, allocations: 0.8065 MB / 0.6716 GB, free: 40.98 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.000791/0.3683, allocations: 293.2 kB / 0.6719 GB, free: 40.71 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001833/0.3684, allocations: 80.5 kB / 0.6719 GB, free: 40.63 MB / 0.5105 GB Notification: Performance of SimCode: time 1.994e-06/0.3685, allocations: 4 kB / 0.6719 GB, free: 40.62 MB / 0.5105 GB Notification: Performance of Templates: time 0.03824/0.4067, allocations: 35.08 MB / 0.7062 GB, free: 6.262 MB / 0.5105 GB " [Timeout remaining time 660] 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=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.271283183246851]