Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.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.001363/0.001363, allocations: 77.09 kB / 20.66 MB, free: 3.844 MB / 18.57 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.002089/0.002089, allocations: 169 kB / 24.06 MB, free: 456 kB / 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.9189/0.9189, allocations: 177.1 MB / 204.5 MB, free: 5.508 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.00148/0.00148, allocations: 233.6 kB / 261.3 MB, free: 12.67 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.7251/0.7251, allocations: 138.4 MB / 456.3 MB, free: 1.391 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.ThreePhasesBalanced.Lines.Examples.ACLineMedium,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium") translateModel(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.563e-06/1.563e-06, allocations: 0 / 0.5564 GB, free: 232 kB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.695e-05/2.851e-05, allocations: 2.312 kB / 0.5564 GB, free: 228 kB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium): time 0.01279/0.01282, allocations: 10.32 MB / 0.5665 GB, free: 5.855 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.01135/0.02417, allocations: 6.827 MB / 0.5731 GB, free: 15 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0019/0.02607, allocations: 79.25 kB / 0.5732 GB, free: 14.93 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.001795/0.02787, allocations: 388.9 kB / 0.5736 GB, free: 14.54 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.005815/0.03368, allocations: 1.711 MB / 0.5752 GB, free: 12.83 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001871/0.03555, allocations: 0.6512 MB / 0.5759 GB, free: 12.18 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.005225/0.04078, allocations: 2.843 MB / 0.5786 GB, free: 9.324 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002291/0.04307, allocations: 1.207 MB / 0.5798 GB, free: 8.078 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003811/0.04688, allocations: 2.106 MB / 0.5819 GB, free: 5.969 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001977/0.04886, allocations: 0.9933 MB / 0.5829 GB, free: 4.973 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 0.0003424/0.0492, allocations: 156 kB / 0.583 GB, free: 4.82 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008497/0.05005, allocations: 307.7 kB / 0.5833 GB, free: 4.52 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0006241/0.05067, allocations: 0.6464 MB / 0.5839 GB, free: 3.871 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0009998/0.05167, allocations: 0.6468 MB / 0.5846 GB, free: 3.223 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.002618/0.05429, allocations: 1.538 MB / 0.5861 GB, free: 1.68 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 6.091e-06/0.0543, allocations: 0 / 0.5861 GB, free: 1.68 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.122e-06/0.0543, allocations: 0 / 0.5861 GB, free: 1.68 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 3.751e-05/0.05433, allocations: 0 / 0.5861 GB, free: 1.68 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 327 * Number of variables: 327 Notification: Performance of Generate backend data structure: time 0.003359/0.05769, allocations: 2.185 MB / 0.5882 GB, free: 15.45 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.311e-05/0.05774, allocations: 8.75 kB / 0.5882 GB, free: 15.44 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005992/0.06373, allocations: 0.9124 MB / 0.5891 GB, free: 14.52 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002293/0.06602, allocations: 1.158 MB / 0.5902 GB, free: 13.31 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.945e-05/0.0661, allocations: 86.69 kB / 0.5903 GB, free: 13.23 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002641/0.06637, allocations: 120.3 kB / 0.5904 GB, free: 13.11 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00313/0.0695, allocations: 1.703 MB / 0.5921 GB, free: 11.18 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.195e-05/0.06954, allocations: 3.938 kB / 0.5921 GB, free: 11.17 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001645/0.0697, allocations: 51.98 kB / 0.5921 GB, free: 11.12 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005187/0.07022, allocations: 150.2 kB / 0.5923 GB, free: 10.97 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001472/0.07169, allocations: 0.6907 MB / 0.593 GB, free: 10.27 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01055/0.08224, allocations: 7.806 MB / 0.6006 GB, free: 2.262 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001696/0.08394, allocations: 0.6112 MB / 0.6012 GB, free: 1.641 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005642/0.0845, allocations: 302.9 kB / 0.6015 GB, free: 1.348 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 6.109e-05/0.08456, allocations: 17 kB / 0.6015 GB, free: 1.328 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.946e-05/0.0846, allocations: 50.33 kB / 0.6015 GB, free: 1.27 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=89): time 3.968e-06/0.0846, allocations: 0 / 0.6015 GB, free: 1.27 MB / 0.5105 GB Notification: Performance of matching and sorting (n=153): time 0.2175/0.3021, allocations: 5.107 MB / 0.6065 GB, free: 83.45 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.761e-05/0.3021, allocations: 71.16 kB / 0.6066 GB, free: 83.39 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006747/0.3028, allocations: 0.9882 MB / 0.6075 GB, free: 83.18 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0001588/0.303, allocations: 53.83 kB / 0.6076 GB, free: 83.14 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003099/0.3033, allocations: 0.824 MB / 0.6084 GB, free: 82.84 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002968/0.3036, allocations: 0.542 MB / 0.6089 GB, free: 82.55 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003451/0.3039, allocations: 293 kB / 0.6092 GB, free: 82.52 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 3.887e-05/0.304, allocations: 481.8 kB / 0.6097 GB, free: 82.05 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004192/0.3044, allocations: 371.9 kB / 0.61 GB, free: 82.05 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000521/0.3049, allocations: 0.7427 MB / 0.6108 GB, free: 81.66 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001004/0.3059, allocations: 1.183 MB / 0.6119 GB, free: 81.28 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.959e-06/0.3059, allocations: 3.5 kB / 0.6119 GB, free: 81.28 MB / 0.5105 GB Notification: Performance of matching and sorting (n=190) (initialization): time 0.004302/0.3102, allocations: 2.536 MB / 0.6144 GB, free: 80.97 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.091e-05/0.3102, allocations: 7.219 kB / 0.6144 GB, free: 80.97 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.483e-05/0.3103, allocations: 9.469 kB / 0.6144 GB, free: 80.97 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0052/0.3155, allocations: 1.741 MB / 0.6161 GB, free: 80.83 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006968/0.3162, allocations: 190.5 kB / 0.6163 GB, free: 80.82 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01163/0.3278, allocations: 18.75 MB / 0.6346 GB, free: 66.89 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001088/0.3289, allocations: 61.83 kB / 0.6347 GB, free: 66.86 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001047/0.329, allocations: 57.61 kB / 0.6347 GB, free: 66.85 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (82): * 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: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,8,100.0%), (2,8,100.0%), (3,17,100.0%), (3,17,100.0%), (2,16,100.0%), (2,16,100.0%), (2,8,100.0%), (2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004054/0.3294, allocations: 245.4 kB / 0.6349 GB, free: 66.64 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002806/0.3297, allocations: 215.7 kB / 0.6352 GB, free: 66.53 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004652/0.3343, allocations: 2.485 MB / 0.6376 GB, free: 65.89 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.017e-05/0.3343, allocations: 15.34 kB / 0.6376 GB, free: 65.89 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.067e-05/0.3344, allocations: 17.94 kB / 0.6376 GB, free: 65.89 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.396e-05/0.3344, allocations: 9.812 kB / 0.6376 GB, free: 65.89 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006041/0.3404, allocations: 3.65 MB / 0.6412 GB, free: 64.68 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.222e-06/0.3404, allocations: 2.562 kB / 0.6412 GB, free: 64.68 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004809/0.3409, allocations: 119.1 kB / 0.6413 GB, free: 64.68 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004654/0.3455, allocations: 1.668 MB / 0.6429 GB, free: 64.43 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001154/0.3457, allocations: 44.89 kB / 0.643 GB, free: 64.41 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0104/0.3561, allocations: 18.67 MB / 0.6612 GB, free: 48.85 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.895e-06/0.3561, allocations: 3.531 kB / 0.6612 GB, free: 48.85 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003829/0.3599, allocations: 2.415 MB / 0.6636 GB, free: 48.04 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004982/0.3604, allocations: 368 kB / 0.6639 GB, free: 47.78 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001447/0.3605, allocations: 27.88 kB / 0.6639 GB, free: 47.76 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000617/0.3612, allocations: 51.98 kB / 0.664 GB, free: 47.73 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003803/0.3615, allocations: 160 kB / 0.6641 GB, free: 47.63 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.943e-05/0.3616, allocations: 43.25 kB / 0.6642 GB, free: 47.61 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.000381/0.362, allocations: 0.5699 MB / 0.6647 GB, free: 47.33 MB / 0.5105 GB Notification: Performance of sort global known variables: time 6e-08/0.362, allocations: 0 / 0.6647 GB, free: 47.33 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001521/0.3635, allocations: 0.6697 MB / 0.6654 GB, free: 47.26 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (46): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,17,100.0%), (2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,17,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002022/0.3637, allocations: 149.5 kB / 0.6655 GB, free: 47.14 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.002916/0.3666, allocations: 3.222 MB / 0.6687 GB, free: 44.98 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/0.3666, allocations: 0 / 0.6687 GB, free: 44.98 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001985/0.3686, allocations: 2.666 MB / 0.6713 GB, free: 42.33 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001237/0.3699, allocations: 0.5201 MB / 0.6718 GB, free: 41.85 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003336/0.3732, allocations: 3.126 MB / 0.6748 GB, free: 38.71 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003716/0.3736, allocations: 0.5043 MB / 0.6753 GB, free: 38.17 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0006641/0.3742, allocations: 294.3 kB / 0.6756 GB, free: 37.89 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006739/0.3749, allocations: 473.8 kB / 0.6761 GB, free: 37.43 MB / 0.5105 GB Notification: Performance of SimCode: time 9.82e-07/0.3749, allocations: 0 / 0.6761 GB, free: 37.43 MB / 0.5105 GB Notification: Performance of Templates: time 0.04633/0.4212, allocations: 52.1 MB / 0.727 GB, free: 2.27 MB / 0.5261 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.794454761780798]