Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid.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.001953/0.001953, allocations: 80.52 kB / 19.95 MB, free: 4.602 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.001992/0.001992, allocations: 173.2 kB / 23.24 MB, free: 1.324 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.574/1.574, allocations: 177.1 MB / 203.5 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 3.171/3.171, allocations: 389.5 MB / 0.6343 GB, free: 12.61 MB / 0.6042 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/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(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.393e-06/1.393e-06, allocations: 0 / 1.001 GB, free: 13 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.416e-05/2.555e-05, allocations: 6.219 kB / 1.001 GB, free: 13 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid): time 0.007868/0.007893, allocations: 4.896 MB / 1.006 GB, free: 8.078 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.005871/0.01376, allocations: 3.217 MB / 1.009 GB, free: 4.852 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002856/0.01405, allocations: 19.81 kB / 1.009 GB, free: 4.832 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.001631/0.01568, allocations: 0.4939 MB / 1.01 GB, free: 4.336 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.001046/0.01673, allocations: 414.1 kB / 1.01 GB, free: 3.93 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006962/0.01742, allocations: 274.6 kB / 1.01 GB, free: 3.664 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.001046/0.01847, allocations: 0.6851 MB / 1.011 GB, free: 2.977 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005668/0.01904, allocations: 337.8 kB / 1.011 GB, free: 2.645 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006277/0.01966, allocations: 419.2 kB / 1.012 GB, free: 2.234 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005145/0.02018, allocations: 287.3 kB / 1.012 GB, free: 1.953 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 9.043e-05/0.02027, allocations: 44 kB / 1.012 GB, free: 1.91 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005493/0.02082, allocations: 291.3 kB / 1.012 GB, free: 1.625 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 0.0002252/0.02104, allocations: 187.4 kB / 1.012 GB, free: 1.441 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 0.0002504/0.02129, allocations: 163.7 kB / 1.013 GB, free: 1.281 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.001166/0.02246, allocations: 0.857 MB / 1.013 GB, free: 432 kB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 3.566e-06/0.02246, allocations: 4 kB / 1.013 GB, free: 428 kB / 0.9636 GB Notification: Performance of FrontEnd: time 1.192e-06/0.02246, allocations: 0 / 1.013 GB, free: 428 kB / 0.9636 GB Notification: Performance of Transformations before backend: time 7.654e-06/0.02247, allocations: 0 / 1.013 GB, free: 428 kB / 0.9636 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 83 * Number of variables: 83 Notification: Performance of Generate backend data structure: time 0.001683/0.02415, allocations: 0.7344 MB / 1.014 GB, free: 15.65 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 4.466e-05/0.0242, allocations: 16.73 kB / 1.014 GB, free: 15.63 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003077/0.02728, allocations: 0.6869 MB / 1.015 GB, free: 14.95 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007526/0.02803, allocations: 401.4 kB / 1.015 GB, free: 14.53 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.99e-05/0.02806, allocations: 21.03 kB / 1.015 GB, free: 14.51 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001039/0.02816, allocations: 36.36 kB / 1.015 GB, free: 14.47 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001894/0.03006, allocations: 0.8857 MB / 1.016 GB, free: 13.55 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.069e-05/0.03008, allocations: 3.938 kB / 1.016 GB, free: 13.55 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.839e-05/0.03014, allocations: 15.98 kB / 1.016 GB, free: 13.53 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001932/0.03033, allocations: 64.52 kB / 1.016 GB, free: 13.47 MB / 0.9792 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002369/0.0327, allocations: 0.9273 MB / 1.017 GB, free: 12.54 MB / 0.9792 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00411/0.03681, allocations: 2.09 MB / 1.019 GB, free: 10.39 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001881/0.03869, allocations: 0.5374 MB / 1.02 GB, free: 9.848 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008726/0.03956, allocations: 296.5 kB / 1.02 GB, free: 9.555 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 8.285e-05/0.03964, allocations: 8 kB / 1.02 GB, free: 9.547 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.837e-05/0.03968, allocations: 34.56 kB / 1.02 GB, free: 9.504 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=22): time 1.713e-06/0.03969, allocations: 0 / 1.02 GB, free: 9.504 MB / 0.9792 GB Notification: Performance of matching and sorting (n=32): time 0.01529/0.05497, allocations: 3.526 MB / 1.023 GB, free: 5.961 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.452e-05/0.05503, allocations: 59.34 kB / 1.023 GB, free: 5.891 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005265/0.05555, allocations: 368.4 kB / 1.024 GB, free: 5.523 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 6.891e-05/0.05562, allocations: 29.7 kB / 1.024 GB, free: 5.488 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002085/0.05583, allocations: 236.5 kB / 1.024 GB, free: 5.254 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001474/0.05598, allocations: 115 kB / 1.024 GB, free: 5.141 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002049/0.05618, allocations: 77.67 kB / 1.024 GB, free: 5.059 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0001999/0.05638, allocations: 346.8 kB / 1.025 GB, free: 4.711 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001176/0.05756, allocations: 416.5 kB / 1.025 GB, free: 4.301 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001277/0.05884, allocations: 0.5096 MB / 1.025 GB, free: 3.754 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002424/0.06126, allocations: 0.8797 MB / 1.026 GB, free: 2.848 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.06126, allocations: 0 / 1.026 GB, free: 2.848 MB / 0.9792 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.006588/0.06785, allocations: 1.732 MB / 1.028 GB, free: 1.098 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 3.84e-05/0.06789, allocations: 8 kB / 1.028 GB, free: 1.09 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.117e-06/0.0679, allocations: 192 / 1.028 GB, free: 1.09 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004606/0.07251, allocations: 0.9386 MB / 1.029 GB, free: 144 kB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007826/0.07329, allocations: 127.8 kB / 1.029 GB, free: 16 kB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0105/0.08379, allocations: 6.496 MB / 1.035 GB, free: 9.211 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009359/0.08472, allocations: 111.8 kB / 1.035 GB, free: 9.102 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.611e-05/0.08479, allocations: 19.98 kB / 1.036 GB, free: 9.082 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001417/0.08621, allocations: 0.5895 MB / 1.036 GB, free: 8.488 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001212/0.08742, allocations: 0.4947 MB / 1.037 GB, free: 7.957 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002271/0.08969, allocations: 0.8584 MB / 1.037 GB, free: 7.07 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.254e-06/0.08969, allocations: 0 / 1.037 GB, free: 7.07 MB / 0.9948 GB Notification: Performance of matching and sorting (n=43) (initialization_lambda0): time 0.005539/0.09523, allocations: 1.56 MB / 1.039 GB, free: 5.492 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.433e-05/0.09525, allocations: 4 kB / 1.039 GB, free: 5.488 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.09525, allocations: 4 kB / 1.039 GB, free: 5.484 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003374/0.09863, allocations: 0.7009 MB / 1.04 GB, free: 4.773 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008311/0.09946, allocations: 139.7 kB / 1.04 GB, free: 4.637 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009393/0.1089, allocations: 6.082 MB / 1.046 GB, free: 14.25 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009618/0.1098, allocations: 111.9 kB / 1.046 GB, free: 14.14 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.612e-05/0.1099, allocations: 27.92 kB / 1.046 GB, free: 14.11 MB / 1.01 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (32): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,4,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0002489/0.1101, allocations: 200.1 kB / 1.046 GB, free: 13.91 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001093/0.1102, allocations: 43.7 kB / 1.046 GB, free: 13.86 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005574/0.1158, allocations: 1.572 MB / 1.048 GB, free: 12.27 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.304e-06/0.1158, allocations: 4 kB / 1.048 GB, free: 12.27 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.1158, allocations: 0 / 1.048 GB, free: 12.27 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.1158, allocations: 0 / 1.048 GB, free: 12.27 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006467/0.1223, allocations: 2.118 MB / 1.05 GB, free: 10.09 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.158e-06/0.1223, allocations: 0 / 1.05 GB, free: 10.09 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000445/0.1227, allocations: 79.84 kB / 1.05 GB, free: 10.01 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003812/0.1265, allocations: 0.8334 MB / 1.051 GB, free: 9.164 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.42e-05/0.1266, allocations: 8 kB / 1.051 GB, free: 9.156 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009254/0.1358, allocations: 6.265 MB / 1.057 GB, free: 2.586 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.1358, allocations: 4 kB / 1.057 GB, free: 2.582 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005325/0.1412, allocations: 1.559 MB / 1.058 GB, free: 0.9883 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004106/0.1416, allocations: 103.6 kB / 1.058 GB, free: 0.8867 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.271e-05/0.1417, allocations: 8 kB / 1.058 GB, free: 0.8789 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006799/0.1423, allocations: 87.86 kB / 1.058 GB, free: 0.793 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002112/0.1426, allocations: 35.88 kB / 1.058 GB, free: 0.7578 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.864e-05/0.1426, allocations: 7.984 kB / 1.058 GB, free: 0.75 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0004474/0.143, allocations: 283 kB / 1.059 GB, free: 488 kB / 1.01 GB Notification: Performance of sort global known variables: time 1e-07/0.143, allocations: 0 / 1.059 GB, free: 488 kB / 1.01 GB Notification: Performance of remove unused functions: time 0.001027/0.1441, allocations: 256 kB / 1.059 GB, free: 232 kB / 1.01 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (22): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,4,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002308/0.1443, allocations: 115.3 kB / 1.059 GB, free: 104 kB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.4451/0.5894, allocations: 2.099 MB / 1.061 GB, free: 95.62 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 4.859e-06/0.5894, allocations: 6.094 kB / 1.061 GB, free: 95.62 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.001312/0.5907, allocations: 0.7902 MB / 1.062 GB, free: 95.29 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006846/0.5914, allocations: 116.7 kB / 1.062 GB, free: 95.29 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001756/0.5932, allocations: 1.144 MB / 1.063 GB, free: 94.95 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002665/0.5934, allocations: 324.2 kB / 1.063 GB, free: 94.86 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0004588/0.5939, allocations: 166.1 kB / 1.064 GB, free: 94.86 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001274/0.594, allocations: 38.94 kB / 1.064 GB, free: 94.86 MB / 1.01 GB Notification: Performance of SimCode: time 1.041e-06/0.594, allocations: 0 / 1.064 GB, free: 94.86 MB / 1.01 GB Notification: Performance of Templates: time 0.01917/0.6132, allocations: 16.11 MB / 1.079 GB, free: 93.77 MB / 1.01 GB " [Timeout remaining time 299] make -j1 -f Buildings_13_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid.pipe ; mkfifo Buildings_13_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid.pipe ; head -c 1048576 < Buildings_13_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid.pipe >> ../files/Buildings_13_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid.sim & ./Buildings_13_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 9.46603989508003]