Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.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.00236/0.00236, allocations: 88.05 kB / 19.44 MB, free: 316 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.002815/0.002815, allocations: 173.3 kB / 22.76 MB, free: 1.637 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.547/1.547, allocations: 177.1 MB / 203.1 MB, free: 5.625 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.003286/0.003286, allocations: 229.7 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.179/1.179, allocations: 138.4 MB / 454.7 MB, free: 1.496 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.ACLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine") translateModel(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.333e-06/1.333e-06, allocations: 0 / 0.5543 GB, free: 0.8555 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.561e-05/2.694e-05, allocations: 2.312 kB / 0.5543 GB, free: 0.8516 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine): time 0.02114/0.02117, allocations: 14.11 MB / 0.5681 GB, free: 2.691 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.01748/0.03865, allocations: 9.568 MB / 0.5775 GB, free: 9.09 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001445/0.0401, allocations: 75.31 kB / 0.5775 GB, free: 9.016 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.005416/0.04551, allocations: 1.723 MB / 0.5792 GB, free: 7.285 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.005373/0.05089, allocations: 1.635 MB / 0.5808 GB, free: 5.648 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.002347/0.05323, allocations: 0.7675 MB / 0.5816 GB, free: 4.879 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.004276/0.05751, allocations: 2.601 MB / 0.5841 GB, free: 2.266 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002125/0.05963, allocations: 1.188 MB / 0.5853 GB, free: 1.043 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002869/0.0625, allocations: 1.501 MB / 0.5867 GB, free: 15.54 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001971/0.06447, allocations: 1.04 MB / 0.5877 GB, free: 14.49 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 0.000319/0.06479, allocations: 164 kB / 0.5879 GB, free: 14.33 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001735/0.06653, allocations: 0.7443 MB / 0.5886 GB, free: 13.59 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.0008046/0.06733, allocations: 0.666 MB / 0.5893 GB, free: 12.92 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.001019/0.06835, allocations: 0.643 MB / 0.5899 GB, free: 12.27 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.004243/0.0726, allocations: 2.819 MB / 0.5927 GB, free: 9.445 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 4.469e-06/0.0726, allocations: 0 / 0.5927 GB, free: 9.445 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.523e-06/0.0726, allocations: 0 / 0.5927 GB, free: 9.445 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 4.785e-05/0.07265, allocations: 0 / 0.5927 GB, free: 9.445 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.004835/0.07748, allocations: 2.346 MB / 0.595 GB, free: 7.055 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.826e-05/0.07752, allocations: 8.75 kB / 0.595 GB, free: 7.047 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01021/0.08773, allocations: 1.774 MB / 0.5967 GB, free: 5.27 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003617/0.09135, allocations: 1.268 MB / 0.5979 GB, free: 3.949 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001112/0.09146, allocations: 90.73 kB / 0.598 GB, free: 3.859 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004303/0.09189, allocations: 124.3 kB / 0.5981 GB, free: 3.738 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005073/0.09696, allocations: 2.299 MB / 0.6004 GB, free: 1.148 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.861e-05/0.09701, allocations: 11.88 kB / 0.6004 GB, free: 1.137 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001784/0.09719, allocations: 51.98 kB / 0.6004 GB, free: 1.086 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007165/0.09791, allocations: 186.1 kB / 0.6006 GB, free: 0.9023 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2043/0.3022, allocations: 1.334 MB / 0.6019 GB, free: 99.22 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01206/0.3143, allocations: 8.865 MB / 0.6106 GB, free: 93.73 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003411/0.3177, allocations: 1.009 MB / 0.6116 GB, free: 93.55 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00152/0.3192, allocations: 0.548 MB / 0.6121 GB, free: 93.45 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 7.334e-05/0.3193, allocations: 14.97 kB / 0.6121 GB, free: 93.45 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.568e-05/0.3193, allocations: 45.8 kB / 0.6122 GB, free: 93.4 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=89): time 2.835e-06/0.3193, allocations: 0 / 0.6122 GB, free: 93.4 MB / 0.5105 GB Notification: Performance of matching and sorting (n=131): time 0.02045/0.3398, allocations: 5.891 MB / 0.6179 GB, free: 91.97 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.689e-05/0.3398, allocations: 66.8 kB / 0.618 GB, free: 91.91 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00159/0.3414, allocations: 1.204 MB / 0.6192 GB, free: 91.38 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0002121/0.3416, allocations: 46.83 kB / 0.6192 GB, free: 91.33 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004747/0.3421, allocations: 0.8333 MB / 0.62 GB, free: 90.75 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004355/0.3425, allocations: 0.4962 MB / 0.6205 GB, free: 90.43 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005679/0.3431, allocations: 300.1 kB / 0.6208 GB, free: 90.28 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.000168/0.3433, allocations: 0.5746 MB / 0.6213 GB, free: 89.75 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001934/0.3452, allocations: 0.6279 MB / 0.622 GB, free: 89.66 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002088/0.3473, allocations: 1.013 MB / 0.6229 GB, free: 89.14 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00401/0.3513, allocations: 1.717 MB / 0.6246 GB, free: 88.39 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.925e-06/0.3513, allocations: 4.188 kB / 0.6246 GB, free: 88.39 MB / 0.5105 GB Notification: Performance of matching and sorting (n=168) (initialization): time 0.009057/0.3604, allocations: 2.841 MB / 0.6274 GB, free: 87.55 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.925e-05/0.3604, allocations: 8.969 kB / 0.6274 GB, free: 87.55 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.586e-05/0.3604, allocations: 7.688 kB / 0.6274 GB, free: 87.55 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006998/0.3674, allocations: 1.408 MB / 0.6288 GB, free: 87.2 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001835/0.3692, allocations: 321.6 kB / 0.6291 GB, free: 87.18 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01987/0.3891, allocations: 27.35 MB / 0.6558 GB, free: 62.02 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002144/0.3912, allocations: 186.3 kB / 0.656 GB, free: 62 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001536/0.3914, allocations: 67.02 kB / 0.656 GB, free: 61.99 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 (99): * Single equations (assignments): 86 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 13 systems {(2,4,100.0%), (1,1,100.0%), (2,4,100.0%), (3,9,100.0%), (1,1,100.0%), (1,1,100.0%), (3,9,100.0%), (3,9,100.0%), (1,1,100.0%), (3,9,100.0%), (1,1,100.0%), (2,4,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000615/0.392, allocations: 306.4 kB / 0.6563 GB, free: 61.73 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003349/0.3924, allocations: 197.4 kB / 0.6565 GB, free: 61.64 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007608/0.4, allocations: 2.699 MB / 0.6592 GB, free: 60.17 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.168e-06/0.4, allocations: 14.44 kB / 0.6592 GB, free: 60.16 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.896e-05/0.4, allocations: 14.41 kB / 0.6592 GB, free: 60.16 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.245e-05/0.4, allocations: 7.969 kB / 0.6592 GB, free: 60.16 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01045/0.4105, allocations: 4.431 MB / 0.6635 GB, free: 56.22 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.953e-06/0.4105, allocations: 8.031 kB / 0.6635 GB, free: 56.21 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001261/0.4117, allocations: 267.6 kB / 0.6638 GB, free: 55.95 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005739/0.4175, allocations: 1.31 MB / 0.6651 GB, free: 54.59 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001734/0.4176, allocations: 39.97 kB / 0.6651 GB, free: 54.55 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01643/0.4341, allocations: 26.42 MB / 0.6909 GB, free: 26.57 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.574e-06/0.4341, allocations: 4 kB / 0.6909 GB, free: 26.57 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007108/0.4412, allocations: 2.702 MB / 0.6935 GB, free: 23.75 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001003/0.4422, allocations: 350.8 kB / 0.6939 GB, free: 23.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002512/0.4424, allocations: 27.98 kB / 0.6939 GB, free: 23.38 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001527/0.444, allocations: 191.7 kB / 0.6941 GB, free: 23.19 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003963/0.4444, allocations: 140.6 kB / 0.6942 GB, free: 23.05 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000121/0.4445, allocations: 43.97 kB / 0.6943 GB, free: 23.01 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0007256/0.4452, allocations: 0.7325 MB / 0.695 GB, free: 22.27 MB / 0.5105 GB Notification: Performance of sort global known variables: time 7e-08/0.4452, allocations: 0 / 0.695 GB, free: 22.27 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001836/0.447, allocations: 0.5703 MB / 0.6955 GB, free: 21.7 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 (67): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 13 systems {(1,1,100.0%), (2,4,100.0%), (1,1,100.0%), (3,9,100.0%), (1,1,100.0%), (2,4,100.0%), (1,1,100.0%), (1,1,100.0%), (3,7,100.0%), (2,4,100.0%), (3,9,100.0%), (2,4,100.0%), (3,7,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002574/0.4473, allocations: 143 kB / 0.6957 GB, free: 21.55 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.007085/0.4544, allocations: 4.371 MB / 0.6999 GB, free: 16.95 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 5.891e-06/0.4544, allocations: 4 kB / 0.6999 GB, free: 16.95 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.004613/0.459, allocations: 3.526 MB / 0.7034 GB, free: 13.2 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002108/0.4611, allocations: 0.5196 MB / 0.7039 GB, free: 12.73 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005447/0.4666, allocations: 3.243 MB / 0.7071 GB, free: 9.41 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007097/0.4673, allocations: 0.8555 MB / 0.7079 GB, free: 8.516 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.001161/0.4684, allocations: 349.4 kB / 0.7082 GB, free: 8.188 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003602/0.4688, allocations: 108.4 kB / 0.7083 GB, free: 8.082 MB / 0.5105 GB Notification: Performance of SimCode: time 1.203e-06/0.4688, allocations: 0 / 0.7083 GB, free: 8.082 MB / 0.5105 GB Notification: Performance of Templates: time 0.06541/0.5342, allocations: 40.88 MB / 0.7483 GB, free: 15.94 MB / 0.5573 GB " [Timeout remaining time 659] make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.379031940014102]