Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Electrical.DC.Lines.Examples.RCModel.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.000878/0.000878, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001259/0.002137, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.0008976/0.0008976, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00122/0.002117, allocations: 479.5 kB / 11.82 MB, free: 2.344 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 0.9546/0.9546, allocations: 177.2 MB / 189.8 MB, free: 5.254 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08856/1.043, allocations: 53.67 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] 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 1.926/1.926, allocations: 390 MB / 0.6193 GB, free: 11.66 MB / 0.6042 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4805/2.406, allocations: 127.1 MB / 0.7435 GB, free: 4.539 MB / 0.7136 GB " [Timeout remaining time 178] 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.DC.Lines.Examples.RCModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Electrical.DC.Lines.Examples.RCModel") translateModel(Buildings.Electrical.DC.Lines.Examples.RCModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Electrical.DC.Lines.Examples.RCModel") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.303e-06/1.303e-06, allocations: 0 / 0.7448 GB, free: 3.258 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.763e-05/1.894e-05, allocations: 8.281 kB / 0.7448 GB, free: 3.25 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.RCModel): time 0.003335/0.003354, allocations: 3.412 MB / 0.7481 GB, free: 15.88 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.001742/0.005096, allocations: 1.304 MB / 0.7494 GB, free: 14.58 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001777/0.005274, allocations: 11.94 kB / 0.7494 GB, free: 14.57 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0003916/0.005666, allocations: 147.2 kB / 0.7495 GB, free: 14.43 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0003714/0.006037, allocations: 286.8 kB / 0.7498 GB, free: 14.14 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003552/0.006392, allocations: 201.3 kB / 0.75 GB, free: 13.95 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0007407/0.007133, allocations: 0.6817 MB / 0.7507 GB, free: 13.27 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003578/0.007491, allocations: 343.2 kB / 0.751 GB, free: 12.94 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003461/0.007837, allocations: 387.2 kB / 0.7514 GB, free: 12.56 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004107/0.008248, allocations: 271.2 kB / 0.7516 GB, free: 12.29 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 4.349e-05/0.008291, allocations: 37.12 kB / 0.7517 GB, free: 12.26 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002035/0.008495, allocations: 107.8 kB / 0.7518 GB, free: 12.15 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 0.0001091/0.008604, allocations: 135.6 kB / 0.7519 GB, free: 12.02 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.0001034/0.008707, allocations: 128.5 kB / 0.752 GB, free: 11.89 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0003936/0.009101, allocations: 370.7 kB / 0.7524 GB, free: 11.53 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 1.281e-05/0.009114, allocations: 4.656 kB / 0.7524 GB, free: 11.53 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.192e-06/0.009115, allocations: 0 / 0.7524 GB, free: 11.53 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 1.458e-05/0.009129, allocations: 0.75 kB / 0.7524 GB, free: 11.53 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 91 * Number of variables: 91 Notification: Performance of Generate backend data structure: time 0.000798/0.009927, allocations: 0.7099 MB / 0.7531 GB, free: 10.79 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 2.975e-05/0.009957, allocations: 8.031 kB / 0.7531 GB, free: 10.79 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006554/0.01061, allocations: 278.4 kB / 0.7533 GB, free: 10.5 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002989/0.01091, allocations: 260.3 kB / 0.7536 GB, free: 10.22 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.754e-05/0.01093, allocations: 21.38 kB / 0.7536 GB, free: 10.2 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.962e-05/0.01098, allocations: 40.36 kB / 0.7536 GB, free: 10.16 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003635/0.01134, allocations: 493.8 kB / 0.7541 GB, free: 9.605 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.178e-05/0.01135, allocations: 8.125 kB / 0.7541 GB, free: 9.598 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.477e-05/0.01138, allocations: 19.11 kB / 0.7541 GB, free: 9.582 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.629e-05/0.01141, allocations: 32.58 kB / 0.7542 GB, free: 9.551 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001424/0.01156, allocations: 112.4 kB / 0.7543 GB, free: 9.441 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001103/0.01266, allocations: 1.43 MB / 0.7557 GB, free: 7.957 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002418/0.0129, allocations: 163 kB / 0.7558 GB, free: 7.789 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.603e-05/0.01295, allocations: 40.84 kB / 0.7559 GB, free: 7.746 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 9.267e-06/0.01296, allocations: 4 kB / 0.7559 GB, free: 7.742 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.156e-05/0.01298, allocations: 34.56 kB / 0.7559 GB, free: 7.699 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=20): time 1.272e-06/0.01298, allocations: 0 / 0.7559 GB, free: 7.699 MB / 0.7292 GB Notification: Performance of matching and sorting (n=20): time 0.0004849/0.01347, allocations: 281.5 kB / 0.7562 GB, free: 7.418 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.117e-05/0.01349, allocations: 59.34 kB / 0.7562 GB, free: 7.348 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001393/0.01363, allocations: 257.4 kB / 0.7565 GB, free: 7.09 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.632e-05/0.01364, allocations: 29.7 kB / 0.7565 GB, free: 7.055 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 8.112e-05/0.01372, allocations: 217 kB / 0.7567 GB, free: 6.84 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 4.097e-05/0.01376, allocations: 83.3 kB / 0.7568 GB, free: 6.758 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.837e-05/0.01382, allocations: 62.94 kB / 0.7569 GB, free: 6.691 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 8.115e-05/0.0139, allocations: 338.8 kB / 0.7572 GB, free: 6.352 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.401e-05/0.01394, allocations: 24 kB / 0.7572 GB, free: 6.328 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.32e-05/0.01401, allocations: 110.2 kB / 0.7573 GB, free: 6.184 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001426/0.01415, allocations: 187.5 kB / 0.7575 GB, free: 5.969 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.01416, allocations: 0.875 kB / 0.7575 GB, free: 5.969 MB / 0.7292 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0005135/0.01467, allocations: 214.3 kB / 0.7577 GB, free: 5.75 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.278e-05/0.01468, allocations: 8 kB / 0.7577 GB, free: 5.742 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/0.01469, allocations: 7.984 kB / 0.7577 GB, free: 5.734 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002116/0.0149, allocations: 70.19 kB / 0.7578 GB, free: 5.664 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001636/0.01506, allocations: 75.89 kB / 0.7578 GB, free: 5.59 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001053/0.01612, allocations: 2.406 MB / 0.7602 GB, free: 2.988 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001055/0.01622, allocations: 37.2 kB / 0.7602 GB, free: 2.953 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.034e-05/0.01623, allocations: 8 kB / 0.7602 GB, free: 2.945 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (33): * Single equations (assignments): 31 * 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): 2 systems {(1,1,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 8.9e-05/0.01632, allocations: 133.8 kB / 0.7604 GB, free: 2.805 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.176e-05/0.01635, allocations: 23.98 kB / 0.7604 GB, free: 2.781 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.957e-05/0.01638, allocations: 30.11 kB / 0.7604 GB, free: 2.758 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.896e-06/0.01639, allocations: 8.812 kB / 0.7604 GB, free: 2.75 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.01639, allocations: 0 / 0.7604 GB, free: 2.75 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.01639, allocations: 7.922 kB / 0.7604 GB, free: 2.742 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000175/0.01657, allocations: 170.5 kB / 0.7606 GB, free: 2.559 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.01657, allocations: 0 / 0.7606 GB, free: 2.559 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001171/0.01669, allocations: 42.72 kB / 0.7606 GB, free: 2.52 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 4.828e-05/0.01674, allocations: 43.72 kB / 0.7607 GB, free: 2.477 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001533/0.01689, allocations: 64.09 kB / 0.7607 GB, free: 2.41 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.799e-06/0.0169, allocations: 6.156 kB / 0.7607 GB, free: 2.406 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009476/0.01785, allocations: 2.411 MB / 0.7631 GB, free: 15.8 MB / 0.7449 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.01785, allocations: 0.875 kB / 0.7631 GB, free: 15.8 MB / 0.7449 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002333/0.01808, allocations: 291.1 kB / 0.7634 GB, free: 15.49 MB / 0.7449 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.807e-05/0.0181, allocations: 3.984 kB / 0.7634 GB, free: 15.49 MB / 0.7449 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.185e-05/0.01818, allocations: 11.94 kB / 0.7634 GB, free: 15.48 MB / 0.7449 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.918e-05/0.01821, allocations: 20.06 kB / 0.7634 GB, free: 15.46 MB / 0.7449 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.614e-06/0.01822, allocations: 4 kB / 0.7634 GB, free: 15.45 MB / 0.7449 GB Notification: Performance of sorting global known variables: time 6.543e-05/0.01828, allocations: 86.75 kB / 0.7635 GB, free: 15.37 MB / 0.7449 GB Notification: Performance of sort global known variables: time 3e-08/0.01828, allocations: 2.781 kB / 0.7635 GB, free: 15.37 MB / 0.7449 GB Notification: Performance of remove unused functions: time 0.0002575/0.01854, allocations: 107.8 kB / 0.7636 GB, free: 15.26 MB / 0.7449 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (RC_dyn.Vc) * 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 (17): * Single equations (assignments): 15 * 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): 2 systems {(1,1,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 9.585e-05/0.01864, allocations: 88.34 kB / 0.7637 GB, free: 15.17 MB / 0.7449 GB Notification: Performance of simCode: created initialization part: time 0.0003244/0.01896, allocations: 369.9 kB / 0.764 GB, free: 14.78 MB / 0.7449 GB Notification: Performance of simCode: created event and clocks part: time 1.32e-05/0.01897, allocations: 8.641 kB / 0.764 GB, free: 14.77 MB / 0.7449 GB Notification: Performance of simCode: created simulation system equations: time 0.0001714/0.01915, allocations: 305.8 kB / 0.7643 GB, free: 14.45 MB / 0.7449 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005599/0.01971, allocations: 0.6264 MB / 0.7649 GB, free: 13.7 MB / 0.7449 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002534/0.02224, allocations: 0.6368 MB / 0.7656 GB, free: 13.04 MB / 0.7449 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.332e-05/0.02231, allocations: 120.6 kB / 0.7657 GB, free: 12.9 MB / 0.7449 GB Notification: Performance of simCode: alias equations: time 9.991e-05/0.02241, allocations: 29.45 kB / 0.7657 GB, free: 12.88 MB / 0.7449 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001367/0.02255, allocations: 119.8 kB / 0.7658 GB, free: 12.77 MB / 0.7449 GB Notification: Performance of SimCode: time 5.11e-07/0.02255, allocations: 1 kB / 0.7658 GB, free: 12.77 MB / 0.7449 GB Notification: Performance of Templates: time 0.006177/0.02873, allocations: 4.248 MB / 0.77 GB, free: 8.688 MB / 0.7449 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Electrical.DC.Lines.Examples.RCModel.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Electrical.DC.Lines.Examples.RCModel.pipe ; mkfifo Buildings_13_Buildings.Electrical.DC.Lines.Examples.RCModel.pipe ; head -c 1048576 < Buildings_13_Buildings.Electrical.DC.Lines.Examples.RCModel.pipe >> ../files/Buildings_13_Buildings.Electrical.DC.Lines.Examples.RCModel.sim & ./Buildings_13_Buildings.Electrical.DC.Lines.Examples.RCModel -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Electrical.DC.Lines.Examples.RCModel.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.813823426142335]