Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Electrical.AC.OnePhase.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.001922/0.001922, allocations: 104.3 kB / 19.72 MB, free: 420 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.002295/0.002295, allocations: 216.3 kB / 23.02 MB, free: 2.969 MB / 13.93 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.628/1.628, allocations: 230.6 MB / 256.8 MB, free: 9.59 MB / 202.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.344/3.344, allocations: 0.5045 GB / 0.8104 GB, free: 2.809 MB / 0.6511 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.OnePhase.Lines.Examples.ACSimpleGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid") translateModel(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.005065/0.005065, allocations: 71.91 kB / 1.177 GB, free: 11.52 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.845/0.8501, allocations: 180 MB / 1.353 GB, free: 1.695 MB / 1.026 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid): time 0.007366/0.8574, allocations: 4.265 MB / 1.357 GB, free: 13.41 MB / 1.042 GB Notification: Performance of NFInst.instExpressions: time 0.005707/0.8631, allocations: 3.132 MB / 1.36 GB, free: 10.27 MB / 1.042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002627/0.8634, allocations: 23.81 kB / 1.36 GB, free: 10.25 MB / 1.042 GB Notification: Performance of NFTyping.typeComponents: time 0.001698/0.8651, allocations: 0.4941 MB / 1.361 GB, free: 9.75 MB / 1.042 GB Notification: Performance of NFTyping.typeBindings: time 0.001282/0.8664, allocations: 398 kB / 1.361 GB, free: 9.359 MB / 1.042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007073/0.8671, allocations: 252.4 kB / 1.361 GB, free: 9.113 MB / 1.042 GB Notification: Performance of NFFlatten.flatten: time 0.0008886/0.868, allocations: 0.6071 MB / 1.362 GB, free: 8.504 MB / 1.042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006018/0.8686, allocations: 340.4 kB / 1.362 GB, free: 8.176 MB / 1.042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006335/0.8692, allocations: 343.1 kB / 1.362 GB, free: 7.84 MB / 1.042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005022/0.8697, allocations: 290.9 kB / 1.363 GB, free: 7.555 MB / 1.042 GB Notification: Performance of NFPackage.collectConstants: time 8.127e-05/0.8698, allocations: 40 kB / 1.363 GB, free: 7.516 MB / 1.042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005597/0.8703, allocations: 275.5 kB / 1.363 GB, free: 7.246 MB / 1.042 GB Notification: Performance of NFScalarize.scalarize: time 0.0002028/0.8705, allocations: 175.5 kB / 1.363 GB, free: 7.074 MB / 1.042 GB Notification: Performance of NFVerifyModel.verify: time 0.0003686/0.8709, allocations: 183.2 kB / 1.363 GB, free: 6.895 MB / 1.042 GB Notification: Performance of NFConvertDAE.convert: time 0.001078/0.872, allocations: 0.7903 MB / 1.364 GB, free: 6.102 MB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/0.872, allocations: 0 / 1.364 GB, free: 6.102 MB / 1.042 GB Notification: Performance of FrontEnd: time 1.763e-06/0.872, allocations: 0 / 1.364 GB, free: 6.102 MB / 1.042 GB Notification: Performance of Transformations before backend: time 8.375e-06/0.872, allocations: 8 kB / 1.364 GB, free: 6.094 MB / 1.042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 81 * Number of variables: 81 Notification: Performance of Generate backend data structure: time 0.001397/0.8734, allocations: 0.7188 MB / 1.365 GB, free: 5.344 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 4.057e-05/0.8734, allocations: 12.92 kB / 1.365 GB, free: 5.332 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002802/0.8762, allocations: 0.6792 MB / 1.366 GB, free: 4.652 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007459/0.877, allocations: 382.2 kB / 1.366 GB, free: 4.25 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.93e-05/0.877, allocations: 25.03 kB / 1.366 GB, free: 4.227 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.977e-05/0.8771, allocations: 36.11 kB / 1.366 GB, free: 4.191 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001773/0.8789, allocations: 0.8399 MB / 1.367 GB, free: 3.312 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.792e-05/0.8789, allocations: 0 / 1.367 GB, free: 3.312 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.986e-05/0.879, allocations: 23.97 kB / 1.367 GB, free: 3.289 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001376/0.8791, allocations: 48.59 kB / 1.367 GB, free: 3.242 MB / 1.042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002135/0.8812, allocations: 0.8726 MB / 1.368 GB, free: 2.367 MB / 1.042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003985/0.8852, allocations: 2.062 MB / 1.37 GB, free: 256 kB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001738/0.887, allocations: 0.5058 MB / 1.37 GB, free: 15.73 MB / 1.057 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008613/0.8878, allocations: 256.6 kB / 1.37 GB, free: 15.48 MB / 1.057 GB Notification: Performance of preOpt evalFunc (simulation): time 8.078e-05/0.8879, allocations: 11.98 kB / 1.37 GB, free: 15.47 MB / 1.057 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.6e-05/0.8879, allocations: 38.5 kB / 1.371 GB, free: 15.42 MB / 1.057 GB Notification: Performance of pre-optimization done (n=16): time 1.422e-06/0.8879, allocations: 0 / 1.371 GB, free: 15.42 MB / 1.057 GB Notification: Performance of matching and sorting (n=24): time 0.01353/0.9015, allocations: 3.265 MB / 1.374 GB, free: 12.14 MB / 1.057 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.423e-05/0.9015, allocations: 59.34 kB / 1.374 GB, free: 12.07 MB / 1.057 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005474/0.9021, allocations: 376.3 kB / 1.374 GB, free: 11.7 MB / 1.057 GB Notification: Performance of collectPreVariables (initialization): time 6.438e-05/0.9021, allocations: 33.7 kB / 1.374 GB, free: 11.66 MB / 1.057 GB Notification: Performance of collectInitialEqns (initialization): time 0.000233/0.9024, allocations: 244.2 kB / 1.374 GB, free: 11.42 MB / 1.057 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001107/0.9025, allocations: 83.31 kB / 1.374 GB, free: 11.34 MB / 1.057 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002065/0.9027, allocations: 69.64 kB / 1.375 GB, free: 11.26 MB / 1.057 GB Notification: Performance of setup shared object (initialization): time 0.000207/0.9029, allocations: 350.8 kB / 1.375 GB, free: 10.91 MB / 1.057 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001051/0.9039, allocations: 392.4 kB / 1.375 GB, free: 10.52 MB / 1.057 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001117/0.9051, allocations: 479.6 kB / 1.376 GB, free: 10.02 MB / 1.057 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002088/0.9072, allocations: 0.8069 MB / 1.377 GB, free: 9.184 MB / 1.057 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.651e-06/0.9072, allocations: 4 kB / 1.377 GB, free: 9.18 MB / 1.057 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.005738/0.9129, allocations: 1.601 MB / 1.378 GB, free: 7.566 MB / 1.057 GB Notification: Performance of prepare postOptimizeDAE: time 2.337e-05/0.9129, allocations: 4 kB / 1.378 GB, free: 7.562 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.02e-05/0.9129, allocations: 4 kB / 1.378 GB, free: 7.559 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004187/0.9171, allocations: 0.8599 MB / 1.379 GB, free: 6.691 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007251/0.9178, allocations: 131.7 kB / 1.379 GB, free: 6.562 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008812/0.9267, allocations: 4.937 MB / 1.384 GB, free: 1.418 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009923/0.9276, allocations: 119.9 kB / 1.384 GB, free: 1.301 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.293e-05/0.9277, allocations: 16 kB / 1.384 GB, free: 1.285 MB / 1.057 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001564/0.9293, allocations: 0.5582 MB / 1.385 GB, free: 0.7227 MB / 1.057 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001069/0.9303, allocations: 478.2 kB / 1.385 GB, free: 224 kB / 1.057 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002044/0.9324, allocations: 0.7841 MB / 1.386 GB, free: 15.41 MB / 1.073 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.685e-06/0.9324, allocations: 4 kB / 1.386 GB, free: 15.4 MB / 1.073 GB Notification: Performance of matching and sorting (n=35) (initialization_lambda0): time 0.004981/0.9374, allocations: 1.431 MB / 1.387 GB, free: 13.96 MB / 1.073 GB Notification: Performance of prepare postOptimizeDAE: time 1.976e-05/0.9374, allocations: 7.938 kB / 1.387 GB, free: 13.95 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.083e-06/0.9374, allocations: 4.188 kB / 1.387 GB, free: 13.95 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003027/0.9404, allocations: 0.6336 MB / 1.388 GB, free: 13.3 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006656/0.9411, allocations: 127.8 kB / 1.388 GB, free: 13.18 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007369/0.9485, allocations: 4.547 MB / 1.392 GB, free: 8.426 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000905/0.9494, allocations: 123.9 kB / 1.392 GB, free: 8.305 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.63e-05/0.9494, allocations: 19.98 kB / 1.392 GB, free: 8.285 MB / 1.073 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,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0002572/0.9497, allocations: 196.1 kB / 1.393 GB, free: 8.086 MB / 1.073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001107/0.9498, allocations: 31.81 kB / 1.393 GB, free: 8.055 MB / 1.073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005149/0.9549, allocations: 1.436 MB / 1.394 GB, free: 6.605 MB / 1.073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.9549, allocations: 0 / 1.394 GB, free: 6.605 MB / 1.073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.306e-06/0.9549, allocations: 8 kB / 1.394 GB, free: 6.598 MB / 1.073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.947e-06/0.9549, allocations: 3.938 kB / 1.394 GB, free: 6.594 MB / 1.073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005849/0.9608, allocations: 1.94 MB / 1.396 GB, free: 4.598 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.838e-06/0.9608, allocations: 0 / 1.396 GB, free: 4.598 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003993/0.9612, allocations: 80 kB / 1.396 GB, free: 4.52 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00361/0.9648, allocations: 0.7467 MB / 1.397 GB, free: 3.766 MB / 1.073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.603e-05/0.9648, allocations: 15.92 kB / 1.397 GB, free: 3.75 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007964/0.9728, allocations: 4.711 MB / 1.401 GB, free: 14.83 MB / 1.089 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.14e-06/0.9728, allocations: 4.266 kB / 1.401 GB, free: 14.83 MB / 1.089 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004848/0.9777, allocations: 1.424 MB / 1.403 GB, free: 13.37 MB / 1.089 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002787/0.9779, allocations: 95.69 kB / 1.403 GB, free: 13.28 MB / 1.089 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.619e-05/0.978, allocations: 4 kB / 1.403 GB, free: 13.27 MB / 1.089 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006714/0.9787, allocations: 91.84 kB / 1.403 GB, free: 13.18 MB / 1.089 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001442/0.9788, allocations: 31.83 kB / 1.403 GB, free: 13.15 MB / 1.089 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.773e-05/0.9789, allocations: 8 kB / 1.403 GB, free: 13.14 MB / 1.089 GB Notification: Performance of sorting global known variables: time 0.0004513/0.9793, allocations: 283 kB / 1.403 GB, free: 12.87 MB / 1.089 GB Notification: Performance of sort global known variables: time 1.31e-07/0.9793, allocations: 4 kB / 1.403 GB, free: 12.87 MB / 1.089 GB Notification: Performance of remove unused functions: time 0.0009616/0.9803, allocations: 219.9 kB / 1.404 GB, free: 12.65 MB / 1.089 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,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002021/0.9805, allocations: 103.2 kB / 1.404 GB, free: 12.54 MB / 1.089 GB Notification: Performance of simCode: created initialization part: time 0.004711/0.9852, allocations: 1.811 MB / 1.405 GB, free: 10.68 MB / 1.089 GB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/0.9852, allocations: 0 / 1.405 GB, free: 10.68 MB / 1.089 GB Notification: Performance of simCode: created simulation system equations: time 0.001466/0.9867, allocations: 0.6651 MB / 1.406 GB, free: 9.988 MB / 1.089 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000788/0.9875, allocations: 126.3 kB / 1.406 GB, free: 9.871 MB / 1.089 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002518/0.99, allocations: 1.083 MB / 1.407 GB, free: 8.75 MB / 1.089 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004738/0.9905, allocations: 310.1 kB / 1.408 GB, free: 8.43 MB / 1.089 GB Notification: Performance of simCode: alias equations: time 0.0005643/0.991, allocations: 150.9 kB / 1.408 GB, free: 8.281 MB / 1.089 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000143/0.9912, allocations: 35.41 kB / 1.408 GB, free: 8.246 MB / 1.089 GB Notification: Performance of SimCode: time 1.112e-06/0.9912, allocations: 0 / 1.408 GB, free: 8.246 MB / 1.089 GB Notification: Performance of Templates: time 0.02716/1.018, allocations: 14.79 MB / 1.422 GB, free: 9.566 MB / 1.104 GB " [Timeout remaining time 299] make -j1 -f Buildings_13_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.pipe ; mkfifo Buildings_13_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.pipe ; head -c 1048576 < Buildings_13_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.pipe >> ../files/Buildings_13_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.sim & ./Buildings_13_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 10.491894707083702]