Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium.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.00194/0.00194, allocations: 80.55 kB / 19.96 MB, free: 4.598 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.002491/0.002491, allocations: 177.2 kB / 23.23 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.608/1.608, allocations: 177.1 MB / 203.5 MB, free: 5.742 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.128/3.128, allocations: 389.5 MB / 0.6343 GB, free: 12.64 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.ACSimpleGridMedium,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.432e-06/1.432e-06, allocations: 0 / 1.001 GB, free: 13.04 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.252e-05/2.395e-05, allocations: 2.281 kB / 1.001 GB, free: 13.04 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium): time 0.008251/0.008275, allocations: 4.961 MB / 1.006 GB, free: 8.059 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.006449/0.01472, allocations: 3.606 MB / 1.009 GB, free: 4.441 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002231/0.01495, allocations: 15.88 kB / 1.009 GB, free: 4.426 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.002106/0.01705, allocations: 0.5599 MB / 1.01 GB, free: 3.863 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.001146/0.0182, allocations: 0.4934 MB / 1.011 GB, free: 3.367 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006608/0.01886, allocations: 271.1 kB / 1.011 GB, free: 3.102 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.001173/0.02003, allocations: 0.7318 MB / 1.011 GB, free: 2.367 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006005/0.02063, allocations: 350 kB / 1.012 GB, free: 2.023 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007778/0.02141, allocations: 0.4952 MB / 1.012 GB, free: 1.527 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005164/0.02193, allocations: 287.3 kB / 1.013 GB, free: 1.246 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 9.428e-05/0.02202, allocations: 44 kB / 1.013 GB, free: 1.203 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005424/0.02256, allocations: 283.3 kB / 1.013 GB, free: 0.9258 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 0.0002256/0.02279, allocations: 183.5 kB / 1.013 GB, free: 0.7461 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 0.000249/0.02304, allocations: 171.6 kB / 1.013 GB, free: 0.5781 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.001211/0.02425, allocations: 0.8687 MB / 1.014 GB, free: 15.71 MB / 0.9792 GB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.02425, allocations: 0 / 1.014 GB, free: 15.71 MB / 0.9792 GB Notification: Performance of FrontEnd: time 1.232e-06/0.02425, allocations: 0 / 1.014 GB, free: 15.71 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 8.055e-06/0.02426, allocations: 3.938 kB / 1.014 GB, free: 15.7 MB / 0.9792 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.001561/0.02582, allocations: 0.748 MB / 1.015 GB, free: 14.92 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 3.587e-05/0.02586, allocations: 8.75 kB / 1.015 GB, free: 14.91 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003191/0.02905, allocations: 0.6948 MB / 1.016 GB, free: 14.22 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007651/0.02982, allocations: 401.4 kB / 1.016 GB, free: 13.8 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.172e-05/0.02985, allocations: 25.03 kB / 1.016 GB, free: 13.78 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.052e-05/0.02994, allocations: 28.38 kB / 1.016 GB, free: 13.75 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002141/0.03208, allocations: 0.8818 MB / 1.017 GB, free: 12.84 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.274e-05/0.0321, allocations: 11.88 kB / 1.017 GB, free: 12.82 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.112e-05/0.03216, allocations: 19.98 kB / 1.017 GB, free: 12.8 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001983/0.03236, allocations: 64.58 kB / 1.017 GB, free: 12.74 MB / 0.9792 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002453/0.03481, allocations: 0.9272 MB / 1.018 GB, free: 11.81 MB / 0.9792 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004206/0.03902, allocations: 2.106 MB / 1.02 GB, free: 9.648 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001934/0.04095, allocations: 0.5413 MB / 1.02 GB, free: 9.098 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008996/0.04185, allocations: 300.5 kB / 1.021 GB, free: 8.801 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 8.569e-05/0.04194, allocations: 15.92 kB / 1.021 GB, free: 8.785 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.4e-05/0.04198, allocations: 38.56 kB / 1.021 GB, free: 8.738 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=22): time 1.873e-06/0.04198, allocations: 0 / 1.021 GB, free: 8.738 MB / 0.9792 GB Notification: Performance of matching and sorting (n=36): time 0.01724/0.05923, allocations: 3.997 MB / 1.025 GB, free: 4.727 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.902e-05/0.05928, allocations: 55.41 kB / 1.025 GB, free: 4.66 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005651/0.05984, allocations: 401.5 kB / 1.025 GB, free: 4.258 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 6.369e-05/0.0599, allocations: 29.7 kB / 1.025 GB, free: 4.223 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002374/0.06014, allocations: 244.6 kB / 1.025 GB, free: 3.98 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001617/0.0603, allocations: 130.8 kB / 1.025 GB, free: 3.852 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002161/0.06052, allocations: 90.12 kB / 1.026 GB, free: 3.758 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0002106/0.06073, allocations: 350.8 kB / 1.026 GB, free: 3.406 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001264/0.06199, allocations: 454.5 kB / 1.026 GB, free: 2.961 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001354/0.06335, allocations: 0.5461 MB / 1.027 GB, free: 2.375 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002571/0.06592, allocations: 0.9695 MB / 1.028 GB, free: 1.379 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.06592, allocations: 0 / 1.028 GB, free: 1.379 MB / 0.9792 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.007027/0.07295, allocations: 1.916 MB / 1.03 GB, free: 15.45 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 2.263e-05/0.07297, allocations: 8 kB / 1.03 GB, free: 15.44 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.875e-06/0.07298, allocations: 0 / 1.03 GB, free: 15.44 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004998/0.07798, allocations: 1.02 MB / 1.031 GB, free: 14.41 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009796/0.07896, allocations: 131.7 kB / 1.031 GB, free: 14.29 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01319/0.09215, allocations: 6.639 MB / 1.037 GB, free: 7.441 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001006/0.09316, allocations: 115.8 kB / 1.037 GB, free: 7.328 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.386e-05/0.09322, allocations: 19.98 kB / 1.037 GB, free: 7.309 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001794/0.09501, allocations: 0.6491 MB / 1.038 GB, free: 6.656 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001347/0.09636, allocations: 0.5379 MB / 1.039 GB, free: 6.078 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002571/0.09893, allocations: 0.9368 MB / 1.039 GB, free: 5.113 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.425e-06/0.09893, allocations: 0 / 1.039 GB, free: 5.113 MB / 0.9948 GB Notification: Performance of matching and sorting (n=47) (initialization_lambda0): time 0.006211/0.1051, allocations: 1.751 MB / 1.041 GB, free: 3.348 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.274e-05/0.1052, allocations: 4 kB / 1.041 GB, free: 3.344 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.943e-06/0.1052, allocations: 4 kB / 1.041 GB, free: 3.34 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003753/0.1089, allocations: 0.7977 MB / 1.042 GB, free: 2.535 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007/0.1096, allocations: 123.8 kB / 1.042 GB, free: 2.414 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01149/0.1211, allocations: 6.141 MB / 1.048 GB, free: 12.07 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001011/0.1221, allocations: 111.9 kB / 1.048 GB, free: 11.96 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.038e-05/0.1222, allocations: 19.98 kB / 1.048 GB, free: 11.94 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 (29): * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,8)} Notification: Performance of prepare postOptimizeDAE: time 0.0002697/0.1224, allocations: 206 kB / 1.048 GB, free: 11.73 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001137/0.1226, allocations: 35.77 kB / 1.048 GB, free: 11.7 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006209/0.1288, allocations: 1.762 MB / 1.05 GB, free: 9.922 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.185e-05/0.1288, allocations: 4 kB / 1.05 GB, free: 9.918 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.1288, allocations: 0 / 1.05 GB, free: 9.918 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.07e-05/0.1288, allocations: 11.92 kB / 1.05 GB, free: 9.906 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007355/0.1361, allocations: 2.304 MB / 1.052 GB, free: 7.543 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.148e-06/0.1362, allocations: 4 kB / 1.052 GB, free: 7.539 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000435/0.1366, allocations: 79.84 kB / 1.052 GB, free: 7.461 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004292/0.1409, allocations: 0.907 MB / 1.053 GB, free: 6.547 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.426e-05/0.1409, allocations: 8 kB / 1.053 GB, free: 6.539 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01175/0.1527, allocations: 6.23 MB / 1.059 GB, free: 104 kB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.95e-06/0.1527, allocations: 4.031 kB / 1.059 GB, free: 100 kB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.4543/0.607, allocations: 1.698 MB / 1.061 GB, free: 96.11 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002432/0.6072, allocations: 110.3 kB / 1.061 GB, free: 96.11 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.959e-05/0.6073, allocations: 9.641 kB / 1.061 GB, free: 96.11 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006503/0.6079, allocations: 89.69 kB / 1.061 GB, free: 96.11 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001815/0.6081, allocations: 33.58 kB / 1.061 GB, free: 96.11 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.804e-05/0.6082, allocations: 15.14 kB / 1.061 GB, free: 96.11 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0003164/0.6085, allocations: 300 kB / 1.062 GB, free: 96.03 MB / 1.01 GB Notification: Performance of sort global known variables: time 1e-07/0.6085, allocations: 0 / 1.062 GB, free: 96.03 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0008833/0.6094, allocations: 278.4 kB / 1.062 GB, free: 96.03 MB / 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 (19): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,8)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001731/0.6095, allocations: 113.2 kB / 1.062 GB, free: 95.95 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.006598/0.6161, allocations: 2.527 MB / 1.065 GB, free: 95.48 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 3.596e-06/0.6161, allocations: 0 / 1.065 GB, free: 95.48 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.002463/0.6186, allocations: 0.9659 MB / 1.065 GB, free: 95.19 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000652/0.6192, allocations: 119.2 kB / 1.066 GB, free: 95.16 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00189/0.6211, allocations: 1.225 MB / 1.067 GB, free: 94.63 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002888/0.6214, allocations: 356.1 kB / 1.067 GB, free: 94.51 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0004401/0.6219, allocations: 151.4 kB / 1.067 GB, free: 94.51 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000124/0.622, allocations: 42.34 kB / 1.067 GB, free: 94.5 MB / 1.01 GB Notification: Performance of SimCode: time 7.11e-07/0.622, allocations: 0 / 1.067 GB, free: 94.5 MB / 1.01 GB Notification: Performance of Templates: time 0.0241/0.6461, allocations: 17.89 MB / 1.085 GB, free: 93.14 MB / 1.01 GB " [Timeout remaining time 299] make -j1 -f Buildings_13_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium.pipe ; mkfifo Buildings_13_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium.pipe ; head -c 1048576 < Buildings_13_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium.pipe >> ../files/Buildings_13_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium.sim & ./Buildings_13_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 9.651796928606927]