Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.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.001556/0.001556, allocations: 84.05 kB / 19.18 MB, free: 2.527 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.001389/0.001389, allocations: 165.1 kB / 22.46 MB, free: 5.359 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.424/1.424, allocations: 177.1 MB / 202.8 MB, free: 9.176 MB / 190.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.004146/0.004146, allocations: 246.3 kB / 259.4 MB, free: 476 kB / 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.103/1.103, allocations: 138.4 MB / 454.3 MB, free: 2.02 MB / 366.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.ThreePhasesBalanced.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R") translateModel(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.483e-06/1.483e-06, allocations: 0 / 0.6468 GB, free: 5.055 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.783e-05/2.932e-05, allocations: 6.219 kB / 0.6468 GB, free: 5.047 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R): time 0.249/0.249, allocations: 6.456 MB / 0.6531 GB, free: 53.66 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.003838/0.2529, allocations: 3.016 MB / 0.656 GB, free: 53.05 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002932/0.2532, allocations: 41.59 kB / 0.6561 GB, free: 53.02 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.002147/0.2553, allocations: 0.966 MB / 0.657 GB, free: 52.48 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0008045/0.2561, allocations: 0.5265 MB / 0.6575 GB, free: 52.16 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007859/0.2569, allocations: 454.5 kB / 0.658 GB, free: 51.95 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0008427/0.2577, allocations: 1.273 MB / 0.6592 GB, free: 51.34 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006034/0.2584, allocations: 0.5284 MB / 0.6597 GB, free: 51.09 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006224/0.259, allocations: 0.6678 MB / 0.6604 GB, free: 50.82 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005356/0.2595, allocations: 479.7 kB / 0.6608 GB, free: 50.69 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 9.266e-05/0.2596, allocations: 66.88 kB / 0.6609 GB, free: 50.69 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004887/0.2601, allocations: 352.4 kB / 0.6612 GB, free: 50.58 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002123/0.2603, allocations: 327.4 kB / 0.6616 GB, free: 50.43 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0002814/0.2606, allocations: 319.2 kB / 0.6619 GB, free: 50.3 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0009247/0.2615, allocations: 1.253 MB / 0.6631 GB, free: 49.89 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.2615, allocations: 0 / 0.6631 GB, free: 49.89 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.232e-06/0.2615, allocations: 0 / 0.6631 GB, free: 49.89 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.744e-05/0.2615, allocations: 5.562 kB / 0.6631 GB, free: 49.89 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.001484/0.263, allocations: 1.104 MB / 0.6642 GB, free: 49.17 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 2.993e-05/0.263, allocations: 9.719 kB / 0.6642 GB, free: 49.17 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001535/0.2646, allocations: 251.8 kB / 0.6644 GB, free: 49.11 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007705/0.2654, allocations: 0.5335 MB / 0.6649 GB, free: 48.79 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.893e-05/0.2654, allocations: 49.33 kB / 0.665 GB, free: 48.77 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.981e-05/0.2655, allocations: 69.86 kB / 0.665 GB, free: 48.74 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001199/0.2667, allocations: 1.333 MB / 0.6663 GB, free: 47.82 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.496e-05/0.2667, allocations: 4.125 kB / 0.6664 GB, free: 47.82 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.092e-05/0.2668, allocations: 37.89 kB / 0.6664 GB, free: 47.79 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001259/0.2669, allocations: 86.36 kB / 0.6665 GB, free: 47.78 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009476/0.2679, allocations: 0.7508 MB / 0.6672 GB, free: 47.51 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00354/0.2714, allocations: 4.514 MB / 0.6716 GB, free: 43.93 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008838/0.2723, allocations: 0.5116 MB / 0.6721 GB, free: 43.74 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003589/0.2726, allocations: 287.1 kB / 0.6724 GB, free: 43.64 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 3.541e-05/0.2727, allocations: 3.344 kB / 0.6724 GB, free: 43.64 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.916e-05/0.2727, allocations: 46.02 kB / 0.6724 GB, free: 43.59 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=47): time 2.424e-06/0.2727, allocations: 0 / 0.6724 GB, free: 43.59 MB / 0.5606 GB Notification: Performance of matching and sorting (n=48): time 0.003451/0.2761, allocations: 1.681 MB / 0.6741 GB, free: 42.91 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.327e-05/0.2762, allocations: 57.91 kB / 0.6741 GB, free: 42.85 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00048/0.2766, allocations: 0.5165 MB / 0.6746 GB, free: 42.6 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.459e-05/0.2767, allocations: 32.27 kB / 0.6747 GB, free: 42.57 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001802/0.2769, allocations: 428.8 kB / 0.6751 GB, free: 42.23 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 9.722e-05/0.277, allocations: 177.4 kB / 0.6752 GB, free: 42.09 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001714/0.2771, allocations: 127.5 kB / 0.6754 GB, free: 42.02 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 8.135e-05/0.2772, allocations: 371.5 kB / 0.6757 GB, free: 41.68 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003676/0.2776, allocations: 270.9 kB / 0.676 GB, free: 41.59 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005665/0.2781, allocations: 0.4885 MB / 0.6765 GB, free: 41.22 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008572/0.279, allocations: 0.8143 MB / 0.6772 GB, free: 40.69 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/0.279, allocations: 3.219 kB / 0.6773 GB, free: 40.69 MB / 0.5606 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001607/0.2806, allocations: 1.072 MB / 0.6783 GB, free: 40.23 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.368e-05/0.2806, allocations: 8.094 kB / 0.6783 GB, free: 40.23 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.573e-05/0.2807, allocations: 7.922 kB / 0.6783 GB, free: 40.23 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000914/0.2816, allocations: 281.6 kB / 0.6786 GB, free: 40.14 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004904/0.2821, allocations: 124.7 kB / 0.6787 GB, free: 40.13 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005247/0.2873, allocations: 6.593 MB / 0.6851 GB, free: 34.58 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005965/0.2879, allocations: 35.36 kB / 0.6852 GB, free: 34.57 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.469e-05/0.288, allocations: 36.41 kB / 0.6852 GB, free: 34.56 MB / 0.5606 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 (67): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,6,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003299/0.2883, allocations: 254.7 kB / 0.6855 GB, free: 34.37 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.948e-05/0.2884, allocations: 70.94 kB / 0.6855 GB, free: 34.34 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001501/0.2899, allocations: 0.8781 MB / 0.6864 GB, free: 33.94 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.41e-06/0.2899, allocations: 5.781 kB / 0.6864 GB, free: 33.94 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.55e-06/0.2899, allocations: 2.688 kB / 0.6864 GB, free: 33.94 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.723e-06/0.2899, allocations: 2.672 kB / 0.6864 GB, free: 33.94 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0023/0.2922, allocations: 1.53 MB / 0.6879 GB, free: 33.18 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.2e-06/0.2922, allocations: 1.75 kB / 0.6879 GB, free: 33.18 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000272/0.2925, allocations: 63.42 kB / 0.6879 GB, free: 33.17 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000748/0.2932, allocations: 267.6 kB / 0.6882 GB, free: 33.08 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.32e-05/0.2933, allocations: 10.91 kB / 0.6882 GB, free: 33.07 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004937/0.2982, allocations: 6.591 MB / 0.6946 GB, free: 27.52 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.457e-06/0.2982, allocations: 2.828 kB / 0.6946 GB, free: 27.52 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001451/0.2997, allocations: 0.9688 MB / 0.6956 GB, free: 27.01 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002404/0.2999, allocations: 111.8 kB / 0.6957 GB, free: 26.96 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.209e-05/0.3, allocations: 7.219 kB / 0.6957 GB, free: 26.95 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000387/0.3004, allocations: 31.39 kB / 0.6957 GB, free: 26.95 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001179/0.3005, allocations: 54.53 kB / 0.6958 GB, free: 26.93 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.504e-05/0.3005, allocations: 19.09 kB / 0.6958 GB, free: 26.92 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0003521/0.3009, allocations: 343.8 kB / 0.6961 GB, free: 26.77 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.11e-07/0.3009, allocations: 1.062 kB / 0.6961 GB, free: 26.77 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0008005/0.3017, allocations: 220.1 kB / 0.6963 GB, free: 26.75 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (31): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001334/0.3018, allocations: 112.9 kB / 0.6965 GB, free: 26.65 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001751/0.3035, allocations: 1.233 MB / 0.6977 GB, free: 25.92 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/0.3036, allocations: 1 kB / 0.6977 GB, free: 25.92 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001077/0.3046, allocations: 0.856 MB / 0.6985 GB, free: 25.33 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009614/0.3056, allocations: 204.6 kB / 0.6987 GB, free: 25.27 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001873/0.3075, allocations: 1.344 MB / 0.7 GB, free: 24.55 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000419/0.3079, allocations: 415 kB / 0.7004 GB, free: 24.43 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0003273/0.3082, allocations: 120.7 kB / 0.7005 GB, free: 24.39 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001152/0.3083, allocations: 40.84 kB / 0.7006 GB, free: 24.39 MB / 0.5606 GB Notification: Performance of SimCode: time 4.31e-07/0.3083, allocations: 0 / 0.7006 GB, free: 24.39 MB / 0.5606 GB Notification: Performance of Templates: time 0.01836/0.3267, allocations: 11.28 MB / 0.7116 GB, free: 21.35 MB / 0.5606 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.275693621486425] Failed to read output from testmodel.py, exit status != 0: 0.3343581594526768 0.34496955999999995 0.08100163 Calling exit ...