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.001448/0.001448, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.001756/0.001756, allocations: 177 kB / 23.49 MB, free: 1.055 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.9784/0.9784, allocations: 177.1 MB / 203.8 MB, free: 5.598 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.001662/0.001662, allocations: 237.5 kB / 260.5 MB, free: 12.85 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.7234/0.7234, allocations: 138.4 MB / 455.4 MB, free: 1.531 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 2.104e-06/2.104e-06, allocations: 0 / 0.555 GB, free: 0.8789 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.754e-05/1.965e-05, allocations: 2.312 kB / 0.555 GB, free: 0.875 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium): time 0.01176/0.01178, allocations: 14.93 MB / 0.5696 GB, free: 1.887 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0101/0.02188, allocations: 10.49 MB / 0.5799 GB, free: 7.355 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007745/0.02265, allocations: 83.31 kB / 0.5799 GB, free: 7.273 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.002163/0.02482, allocations: 1.727 MB / 0.5816 GB, free: 5.539 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.003208/0.02803, allocations: 1.912 MB / 0.5835 GB, free: 3.621 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001156/0.02918, allocations: 0.7675 MB / 0.5842 GB, free: 2.852 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.002389/0.03157, allocations: 2.831 MB / 0.587 GB, free: 12 kB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001201/0.03277, allocations: 1.196 MB / 0.5882 GB, free: 14.78 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001684/0.03446, allocations: 2.012 MB / 0.5901 GB, free: 12.77 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000932/0.03539, allocations: 1.025 MB / 0.5911 GB, free: 11.74 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 0.0001532/0.03554, allocations: 160 kB / 0.5913 GB, free: 11.58 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008923/0.03643, allocations: 0.7404 MB / 0.592 GB, free: 10.84 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.0004017/0.03683, allocations: 0.6425 MB / 0.5926 GB, free: 10.2 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.0004816/0.03732, allocations: 0.6507 MB / 0.5933 GB, free: 9.543 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.001466/0.03878, allocations: 1.814 MB / 0.595 GB, free: 7.723 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 4.137e-06/0.03879, allocations: 8 kB / 0.5951 GB, free: 7.715 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.425e-06/0.03879, allocations: 0 / 0.5951 GB, free: 7.715 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 1.842e-05/0.03881, allocations: 0 / 0.5951 GB, free: 7.715 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: 327 * Number of variables: 327 Notification: Performance of Generate backend data structure: time 0.002233/0.04104, allocations: 2.256 MB / 0.5973 GB, free: 5.414 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.975e-05/0.04108, allocations: 8.75 kB / 0.5973 GB, free: 5.406 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004981/0.04606, allocations: 1.794 MB / 0.599 GB, free: 3.609 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001488/0.04755, allocations: 1.266 MB / 0.6003 GB, free: 2.289 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.728e-05/0.0476, allocations: 86.69 kB / 0.6003 GB, free: 2.203 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001702/0.04777, allocations: 124.3 kB / 0.6005 GB, free: 2.082 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1816/0.2293, allocations: 2.162 MB / 0.6026 GB, free: 100.2 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.724e-05/0.2294, allocations: 8.828 kB / 0.6026 GB, free: 100.2 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000146/0.2296, allocations: 52.5 kB / 0.6026 GB, free: 100.2 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003779/0.2299, allocations: 194.8 kB / 0.6028 GB, free: 100.2 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001538/0.2315, allocations: 0.8452 MB / 0.6036 GB, free: 100.2 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005797/0.2373, allocations: 8.36 MB / 0.6118 GB, free: 94.66 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001331/0.2386, allocations: 0.8298 MB / 0.6126 GB, free: 94.48 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004473/0.239, allocations: 368.2 kB / 0.613 GB, free: 94.41 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 5.167e-05/0.2391, allocations: 20.03 kB / 0.613 GB, free: 94.41 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.158e-05/0.2391, allocations: 49.36 kB / 0.613 GB, free: 94.36 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=89): time 2.755e-06/0.2391, allocations: 0.7188 kB / 0.613 GB, free: 94.36 MB / 0.5105 GB Notification: Performance of matching and sorting (n=153): time 0.01079/0.2499, allocations: 5.902 MB / 0.6188 GB, free: 92.93 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.922e-05/0.2499, allocations: 66.47 kB / 0.6189 GB, free: 92.86 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001033/0.251, allocations: 1.015 MB / 0.6198 GB, free: 92.45 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.000107/0.2511, allocations: 52.27 kB / 0.6199 GB, free: 92.4 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004203/0.2515, allocations: 0.8096 MB / 0.6207 GB, free: 91.82 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003734/0.2519, allocations: 0.5468 MB / 0.6212 GB, free: 91.46 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004202/0.2523, allocations: 285.2 kB / 0.6215 GB, free: 91.32 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 5.119e-05/0.2523, allocations: 482.8 kB / 0.622 GB, free: 90.84 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008191/0.2532, allocations: 490.9 kB / 0.6224 GB, free: 90.78 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000937/0.2541, allocations: 0.843 MB / 0.6232 GB, free: 90.3 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001683/0.2558, allocations: 1.392 MB / 0.6246 GB, free: 89.57 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.683e-06/0.2558, allocations: 2.781 kB / 0.6246 GB, free: 89.57 MB / 0.5105 GB Notification: Performance of matching and sorting (n=190) (initialization): time 0.005207/0.261, allocations: 2.801 MB / 0.6273 GB, free: 88.78 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.42e-05/0.261, allocations: 8.484 kB / 0.6274 GB, free: 88.78 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.494e-05/0.261, allocations: 9.359 kB / 0.6274 GB, free: 88.78 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004837/0.2659, allocations: 1.67 MB / 0.629 GB, free: 88.5 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008152/0.2667, allocations: 299.8 kB / 0.6293 GB, free: 88.48 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01242/0.2791, allocations: 19.4 MB / 0.6482 GB, free: 72.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001028/0.2801, allocations: 191.5 kB / 0.6484 GB, free: 72.27 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001047/0.2802, allocations: 69.2 kB / 0.6485 GB, free: 72.26 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.0004483/0.2807, allocations: 238.9 kB / 0.6487 GB, free: 72.04 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002673/0.281, allocations: 219.1 kB / 0.6489 GB, free: 71.94 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004283/0.2852, allocations: 2.729 MB / 0.6516 GB, free: 70.37 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.424e-06/0.2852, allocations: 15.75 kB / 0.6516 GB, free: 70.37 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.597e-05/0.2853, allocations: 19.5 kB / 0.6516 GB, free: 70.37 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.518e-06/0.2853, allocations: 8.953 kB / 0.6516 GB, free: 70.36 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005381/0.2907, allocations: 4.08 MB / 0.6556 GB, free: 66.83 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.46e-06/0.2907, allocations: 4 kB / 0.6556 GB, free: 66.83 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005266/0.2912, allocations: 239.6 kB / 0.6558 GB, free: 66.59 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004477/0.2957, allocations: 1.617 MB / 0.6574 GB, free: 64.96 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.752e-05/0.2958, allocations: 43.91 kB / 0.6575 GB, free: 64.92 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01045/0.3062, allocations: 19.27 MB / 0.6763 GB, free: 44.7 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.956e-06/0.3062, allocations: 7.938 kB / 0.6763 GB, free: 44.69 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003748/0.31, allocations: 2.611 MB / 0.6788 GB, free: 41.98 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000485/0.3104, allocations: 386.7 kB / 0.6792 GB, free: 41.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001714/0.3106, allocations: 32.52 kB / 0.6792 GB, free: 41.57 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007805/0.3114, allocations: 207.7 kB / 0.6794 GB, free: 41.36 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003637/0.3118, allocations: 160.9 kB / 0.6796 GB, free: 41.2 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.032e-05/0.3118, allocations: 55.97 kB / 0.6796 GB, free: 41.15 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0004519/0.3123, allocations: 0.6136 MB / 0.6802 GB, free: 40.53 MB / 0.5105 GB Notification: Performance of sort global known variables: time 8e-08/0.3123, allocations: 4 kB / 0.6802 GB, free: 40.53 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001502/0.3138, allocations: 0.6562 MB / 0.6809 GB, free: 39.87 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.0002333/0.314, allocations: 143.8 kB / 0.681 GB, free: 39.73 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.003284/0.3173, allocations: 3.438 MB / 0.6844 GB, free: 36.15 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.3173, allocations: 4.125 kB / 0.6844 GB, free: 36.14 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.002078/0.3194, allocations: 2.78 MB / 0.6871 GB, free: 33.22 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00118/0.3206, allocations: 0.5322 MB / 0.6876 GB, free: 32.74 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003692/0.3243, allocations: 3.206 MB / 0.6907 GB, free: 29.46 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003918/0.3247, allocations: 0.5042 MB / 0.6912 GB, free: 28.93 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0007066/0.3254, allocations: 321.9 kB / 0.6915 GB, free: 28.62 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002441/0.3256, allocations: 104.4 kB / 0.6916 GB, free: 28.52 MB / 0.5105 GB Notification: Performance of SimCode: time 2.044e-06/0.3256, allocations: 0 / 0.6916 GB, free: 28.52 MB / 0.5105 GB Notification: Performance of Templates: time 0.04386/0.3695, allocations: 47.56 MB / 0.7381 GB, free: 13.74 MB / 0.5417 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.6432657381519675]