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.001837/0.001837, allocations: 85.48 kB / 19.44 MB, free: 344 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.00193/0.00193, allocations: 169.2 kB / 22.76 MB, free: 1.664 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 1.537/1.537, allocations: 177.1 MB / 203.1 MB, free: 5.613 MB / 186.7 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.003336/0.003336, allocations: 241.8 kB / 259.8 MB, free: 12.86 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 1.176/1.176, allocations: 138.4 MB / 454.7 MB, free: 1.465 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.162e-06/1.162e-06, allocations: 0 / 0.5543 GB, free: 0.8438 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.557e-05/2.673e-05, allocations: 2.312 kB / 0.5543 GB, free: 0.8398 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium): time 0.02164/0.02166, allocations: 14.83 MB / 0.5688 GB, free: 1.949 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.01834/0.04, allocations: 10.48 MB / 0.579 GB, free: 7.434 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001185/0.04119, allocations: 75.31 kB / 0.5791 GB, free: 7.359 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.004949/0.04614, allocations: 1.734 MB / 0.5808 GB, free: 5.617 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.005217/0.05135, allocations: 1.904 MB / 0.5827 GB, free: 3.711 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001936/0.05329, allocations: 0.7753 MB / 0.5834 GB, free: 2.934 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.004099/0.05739, allocations: 2.843 MB / 0.5862 GB, free: 84 kB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001831/0.05922, allocations: 1.192 MB / 0.5874 GB, free: 14.86 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002978/0.0622, allocations: 2.008 MB / 0.5893 GB, free: 12.84 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001717/0.06392, allocations: 1.028 MB / 0.5903 GB, free: 11.81 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 0.0002821/0.0642, allocations: 160 kB / 0.5905 GB, free: 11.66 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001527/0.06572, allocations: 0.7404 MB / 0.5912 GB, free: 10.91 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.0008463/0.06657, allocations: 0.6503 MB / 0.5918 GB, free: 10.26 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.0008968/0.06747, allocations: 0.6469 MB / 0.5925 GB, free: 9.613 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.003606/0.07107, allocations: 2.819 MB / 0.5952 GB, free: 6.785 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.07108, allocations: 0 / 0.5952 GB, free: 6.785 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.522e-06/0.07108, allocations: 0 / 0.5952 GB, free: 6.785 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 2.574e-05/0.07111, allocations: 0 / 0.5952 GB, free: 6.785 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.0045/0.07561, allocations: 2.377 MB / 0.5975 GB, free: 4.363 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.821e-05/0.07564, allocations: 16.75 kB / 0.5976 GB, free: 4.348 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01052/0.08616, allocations: 1.797 MB / 0.5993 GB, free: 2.547 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003121/0.08928, allocations: 1.281 MB / 0.6006 GB, free: 1.215 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.32e-05/0.08937, allocations: 94.67 kB / 0.6007 GB, free: 1.121 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002799/0.08965, allocations: 116.4 kB / 0.6008 GB, free: 1.008 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2051/0.2948, allocations: 2.302 MB / 0.603 GB, free: 98.88 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.363e-05/0.2948, allocations: 8.406 kB / 0.603 GB, free: 98.88 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000193/0.295, allocations: 50.94 kB / 0.6031 GB, free: 98.88 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006985/0.2957, allocations: 197.7 kB / 0.6033 GB, free: 98.88 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00402/0.2997, allocations: 1.356 MB / 0.6046 GB, free: 98.84 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01073/0.3105, allocations: 8.91 MB / 0.6133 GB, free: 92.88 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003225/0.3137, allocations: 1.018 MB / 0.6143 GB, free: 92.67 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001484/0.3152, allocations: 0.5474 MB / 0.6148 GB, free: 92.58 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 8.056e-05/0.3153, allocations: 18.64 kB / 0.6148 GB, free: 92.58 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.766e-05/0.3153, allocations: 45.8 kB / 0.6149 GB, free: 92.53 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=89): time 3.096e-06/0.3153, allocations: 0 / 0.6149 GB, free: 92.53 MB / 0.5105 GB Notification: Performance of matching and sorting (n=153): time 0.0248/0.3401, allocations: 7.038 MB / 0.6218 GB, free: 90.87 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.376e-05/0.3401, allocations: 67.59 kB / 0.6218 GB, free: 90.8 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001675/0.3418, allocations: 1.283 MB / 0.6231 GB, free: 90.25 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0001413/0.3419, allocations: 51.23 kB / 0.6231 GB, free: 90.2 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005342/0.3425, allocations: 0.8585 MB / 0.624 GB, free: 89.6 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004668/0.3429, allocations: 0.5859 MB / 0.6245 GB, free: 89.2 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006176/0.3436, allocations: 336.6 kB / 0.6249 GB, free: 89.03 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 5.918e-05/0.3436, allocations: 482.6 kB / 0.6253 GB, free: 88.56 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002022/0.3456, allocations: 0.7109 MB / 0.626 GB, free: 88.45 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002232/0.3479, allocations: 1.128 MB / 0.6271 GB, free: 87.9 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004271/0.3521, allocations: 1.919 MB / 0.629 GB, free: 87.08 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.185e-06/0.3522, allocations: 2.219 kB / 0.629 GB, free: 87.08 MB / 0.5105 GB Notification: Performance of matching and sorting (n=190) (initialization): time 0.01011/0.3623, allocations: 3.385 MB / 0.6323 GB, free: 86.13 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.706e-05/0.3623, allocations: 10 kB / 0.6323 GB, free: 86.13 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.689e-05/0.3623, allocations: 10.47 kB / 0.6323 GB, free: 86.13 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008584/0.3709, allocations: 1.846 MB / 0.6341 GB, free: 85.75 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001502/0.3724, allocations: 300.5 kB / 0.6344 GB, free: 85.73 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02014/0.3925, allocations: 20.64 MB / 0.6546 GB, free: 66.65 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002257/0.3948, allocations: 191.7 kB / 0.6547 GB, free: 66.46 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001745/0.395, allocations: 71.98 kB / 0.6548 GB, free: 66.39 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.0006603/0.3956, allocations: 312.3 kB / 0.6551 GB, free: 66.07 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003922/0.396, allocations: 215.5 kB / 0.6553 GB, free: 65.86 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009164/0.4052, allocations: 3.28 MB / 0.6585 GB, free: 62.54 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.244e-05/0.4052, allocations: 19.98 kB / 0.6585 GB, free: 62.52 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.109e-05/0.4052, allocations: 16 kB / 0.6585 GB, free: 62.5 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.47e-05/0.4052, allocations: 3.984 kB / 0.6585 GB, free: 62.5 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01174/0.417, allocations: 4.939 MB / 0.6634 GB, free: 57.46 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.206e-06/0.417, allocations: 4 kB / 0.6634 GB, free: 57.46 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001159/0.4182, allocations: 235.6 kB / 0.6636 GB, free: 57.23 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007344/0.4255, allocations: 1.745 MB / 0.6653 GB, free: 55.46 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001449/0.4256, allocations: 52.64 kB / 0.6654 GB, free: 55.41 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01825/0.4439, allocations: 20.34 MB / 0.6852 GB, free: 34.14 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.18e-06/0.4439, allocations: 17.38 kB / 0.6852 GB, free: 34.12 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008364/0.4523, allocations: 3.162 MB / 0.6883 GB, free: 30.86 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001008/0.4533, allocations: 390.6 kB / 0.6887 GB, free: 30.47 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002523/0.4535, allocations: 31.98 kB / 0.6887 GB, free: 30.44 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001629/0.4552, allocations: 204.3 kB / 0.6889 GB, free: 30.24 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004349/0.4556, allocations: 164.8 kB / 0.6891 GB, free: 30.08 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001312/0.4557, allocations: 55.97 kB / 0.6891 GB, free: 30.02 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0007569/0.4565, allocations: 0.7777 MB / 0.6899 GB, free: 29.24 MB / 0.5105 GB Notification: Performance of sort global known variables: time 7e-08/0.4565, allocations: 0 / 0.6899 GB, free: 29.24 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001886/0.4584, allocations: 0.6562 MB / 0.6905 GB, free: 28.59 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.0002477/0.4586, allocations: 143 kB / 0.6907 GB, free: 28.44 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.007127/0.4657, allocations: 3.98 MB / 0.6946 GB, free: 24.32 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 4.829e-06/0.4657, allocations: 0 / 0.6946 GB, free: 24.32 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.00461/0.4704, allocations: 3.083 MB / 0.6976 GB, free: 21.09 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002045/0.4724, allocations: 0.5322 MB / 0.6981 GB, free: 20.61 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005501/0.4779, allocations: 3.468 MB / 0.7015 GB, free: 17.07 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007349/0.4786, allocations: 0.9408 MB / 0.7024 GB, free: 16.09 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.001017/0.4797, allocations: 313.5 kB / 0.7027 GB, free: 15.79 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000342/0.48, allocations: 104.4 kB / 0.7028 GB, free: 15.68 MB / 0.5105 GB Notification: Performance of SimCode: time 1.292e-06/0.48, allocations: 0 / 0.7028 GB, free: 15.68 MB / 0.5105 GB Notification: Performance of Templates: time 0.06823/0.5482, allocations: 47.54 MB / 0.7492 GB, free: 0.9219 MB / 0.5417 GB " [Timeout remaining time 659] 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: 7.437262196093798]