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.001783/0.001783, allocations: 100.3 kB / 19.72 MB, free: 424 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.002011/0.002011, allocations: 224.7 kB / 23.02 MB, free: 2.961 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.765/1.765, allocations: 230.6 MB / 256.8 MB, free: 9.645 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.464/3.464, allocations: 0.5045 GB / 0.8104 GB, free: 2.805 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.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 0.004094/0.004094, allocations: 71.89 kB / 1.177 GB, free: 11.52 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.034/1.039, allocations: 180 MB / 1.353 GB, free: 1.645 MB / 1.026 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.RCModel): time 0.008061/1.047, allocations: 4.268 MB / 1.357 GB, free: 13.36 MB / 1.042 GB Notification: Performance of NFInst.instExpressions: time 0.004316/1.051, allocations: 1.823 MB / 1.359 GB, free: 11.53 MB / 1.042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002889/1.051, allocations: 15.88 kB / 1.359 GB, free: 11.51 MB / 1.042 GB Notification: Performance of NFTyping.typeComponents: time 0.001913/1.053, allocations: 0.5982 MB / 1.359 GB, free: 10.91 MB / 1.042 GB Notification: Performance of NFTyping.typeBindings: time 0.0007778/1.054, allocations: 270.6 kB / 1.36 GB, free: 10.65 MB / 1.042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008092/1.055, allocations: 251.4 kB / 1.36 GB, free: 10.4 MB / 1.042 GB Notification: Performance of NFFlatten.flatten: time 0.0008351/1.056, allocations: 0.6148 MB / 1.361 GB, free: 9.785 MB / 1.042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006627/1.056, allocations: 341.8 kB / 1.361 GB, free: 9.453 MB / 1.042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003538/1.057, allocations: 259.1 kB / 1.361 GB, free: 9.199 MB / 1.042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005808/1.057, allocations: 270.9 kB / 1.361 GB, free: 8.934 MB / 1.042 GB Notification: Performance of NFPackage.collectConstants: time 7.54e-05/1.057, allocations: 36 kB / 1.361 GB, free: 8.898 MB / 1.042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005404/1.058, allocations: 227.5 kB / 1.362 GB, free: 8.676 MB / 1.042 GB Notification: Performance of NFScalarize.scalarize: time 0.000212/1.058, allocations: 155.5 kB / 1.362 GB, free: 8.523 MB / 1.042 GB Notification: Performance of NFVerifyModel.verify: time 0.0002323/1.058, allocations: 187.2 kB / 1.362 GB, free: 8.34 MB / 1.042 GB Notification: Performance of NFConvertDAE.convert: time 0.000928/1.059, allocations: 0.6071 MB / 1.363 GB, free: 7.73 MB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 7.604e-06/1.059, allocations: 3.984 kB / 1.363 GB, free: 7.727 MB / 1.042 GB Notification: Performance of FrontEnd: time 2.003e-06/1.059, allocations: 4 kB / 1.363 GB, free: 7.723 MB / 1.042 GB Notification: Performance of Transformations before backend: time 9.457e-06/1.059, allocations: 0 / 1.363 GB, free: 7.723 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: 91 * Number of variables: 91 Notification: Performance of Generate backend data structure: time 0.001407/1.061, allocations: 0.6587 MB / 1.363 GB, free: 7.035 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 5.243e-05/1.061, allocations: 12.92 kB / 1.363 GB, free: 7.023 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000953/1.062, allocations: 148.5 kB / 1.363 GB, free: 6.879 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005737/1.062, allocations: 288.8 kB / 1.364 GB, free: 6.57 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.199e-05/1.062, allocations: 25.31 kB / 1.364 GB, free: 6.543 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.456e-05/1.062, allocations: 36.38 kB / 1.364 GB, free: 6.508 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001089/1.063, allocations: 0.6823 MB / 1.364 GB, free: 5.758 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.801e-05/1.063, allocations: 7.984 kB / 1.364 GB, free: 5.75 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.357e-05/1.063, allocations: 16 kB / 1.364 GB, free: 5.734 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.351e-05/1.063, allocations: 32.64 kB / 1.364 GB, free: 5.703 MB / 1.042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009012/1.064, allocations: 382.3 kB / 1.365 GB, free: 5.328 MB / 1.042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002687/1.067, allocations: 1.672 MB / 1.366 GB, free: 3.594 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005823/1.068, allocations: 234.5 kB / 1.367 GB, free: 3.355 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001821/1.068, allocations: 96.81 kB / 1.367 GB, free: 3.258 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.019e-05/1.068, allocations: 7.984 kB / 1.367 GB, free: 3.25 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.765e-05/1.068, allocations: 34.56 kB / 1.367 GB, free: 3.207 MB / 1.042 GB Notification: Performance of pre-optimization done (n=20): time 1.884e-06/1.068, allocations: 0 / 1.367 GB, free: 3.207 MB / 1.042 GB Notification: Performance of matching and sorting (n=23): time 0.002369/1.07, allocations: 0.9026 MB / 1.368 GB, free: 2.262 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.245e-05/1.07, allocations: 55.41 kB / 1.368 GB, free: 2.195 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003531/1.071, allocations: 277.7 kB / 1.368 GB, free: 1.914 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 3.681e-05/1.071, allocations: 33.7 kB / 1.368 GB, free: 1.875 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002199/1.071, allocations: 232 kB / 1.368 GB, free: 1.645 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 8.602e-05/1.071, allocations: 83.33 kB / 1.368 GB, free: 1.562 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001259/1.071, allocations: 65.98 kB / 1.368 GB, free: 1.488 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 0.0002254/1.071, allocations: 346.7 kB / 1.369 GB, free: 1.141 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000198/1.072, allocations: 104.6 kB / 1.369 GB, free: 1.039 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003129/1.072, allocations: 199.7 kB / 1.369 GB, free: 0.8047 MB / 1.042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004874/1.072, allocations: 313.4 kB / 1.369 GB, free: 476 kB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/1.072, allocations: 0 / 1.369 GB, free: 476 kB / 1.042 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0009645/1.073, allocations: 446.2 kB / 1.37 GB, free: 16 kB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 2.665e-05/1.073, allocations: 6.031 kB / 1.37 GB, free: 12 kB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.646e-05/1.073, allocations: 7.984 kB / 1.37 GB, free: 4 kB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005316/1.074, allocations: 94.44 kB / 1.37 GB, free: 15.9 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002924/1.074, allocations: 59.91 kB / 1.37 GB, free: 15.84 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00443/1.079, allocations: 4.013 MB / 1.374 GB, free: 11.52 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002461/1.079, allocations: 8 kB / 1.374 GB, free: 11.51 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.289e-05/1.079, allocations: 20 kB / 1.374 GB, free: 11.49 MB / 1.057 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 (34): * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002815/1.079, allocations: 178.2 kB / 1.374 GB, free: 11.31 MB / 1.057 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.253e-05/1.079, allocations: 31.81 kB / 1.374 GB, free: 11.28 MB / 1.057 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001039/1.079, allocations: 34.27 kB / 1.374 GB, free: 11.24 MB / 1.057 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.99e-06/1.079, allocations: 4 kB / 1.374 GB, free: 11.24 MB / 1.057 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.324e-05/1.079, allocations: 11.97 kB / 1.374 GB, free: 11.23 MB / 1.057 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.052e-05/1.079, allocations: 7.984 kB / 1.374 GB, free: 11.22 MB / 1.057 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004543/1.08, allocations: 277.2 kB / 1.374 GB, free: 10.92 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/1.08, allocations: 0 / 1.374 GB, free: 10.92 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001941/1.08, allocations: 31.98 kB / 1.374 GB, free: 10.89 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003287/1.08, allocations: 106.5 kB / 1.374 GB, free: 10.77 MB / 1.057 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.625e-05/1.08, allocations: 0 / 1.374 GB, free: 10.77 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00406/1.084, allocations: 4.001 MB / 1.378 GB, free: 6.469 MB / 1.057 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/1.084, allocations: 0 / 1.378 GB, free: 6.469 MB / 1.057 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001284/1.086, allocations: 0.5552 MB / 1.379 GB, free: 5.891 MB / 1.057 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001345/1.086, allocations: 43.86 kB / 1.379 GB, free: 5.848 MB / 1.057 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.003e-05/1.086, allocations: 4 kB / 1.379 GB, free: 5.844 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000206/1.086, allocations: 16.22 kB / 1.379 GB, free: 5.828 MB / 1.057 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.183e-05/1.086, allocations: 23.89 kB / 1.379 GB, free: 5.805 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.134e-05/1.086, allocations: 8 kB / 1.379 GB, free: 5.797 MB / 1.057 GB Notification: Performance of sorting global known variables: time 0.0002487/1.086, allocations: 189.2 kB / 1.379 GB, free: 5.617 MB / 1.057 GB Notification: Performance of sort global known variables: time 1.2e-07/1.086, allocations: 0 / 1.379 GB, free: 5.617 MB / 1.057 GB Notification: Performance of remove unused functions: time 0.0005791/1.087, allocations: 96 kB / 1.379 GB, free: 5.523 MB / 1.057 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 (18): * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,2,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 0.0001887/1.087, allocations: 103.2 kB / 1.379 GB, free: 5.41 MB / 1.057 GB Notification: Performance of simCode: created initialization part: time 0.001157/1.088, allocations: 0.5896 MB / 1.38 GB, free: 4.781 MB / 1.057 GB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/1.088, allocations: 0 / 1.38 GB, free: 4.781 MB / 1.057 GB Notification: Performance of simCode: created simulation system equations: time 0.0006529/1.089, allocations: 472.4 kB / 1.38 GB, free: 4.281 MB / 1.057 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005303/1.09, allocations: 69.81 kB / 1.38 GB, free: 4.219 MB / 1.057 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001668/1.091, allocations: 0.7236 MB / 1.381 GB, free: 3.473 MB / 1.057 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003565/1.092, allocations: 232 kB / 1.381 GB, free: 3.223 MB / 1.057 GB Notification: Performance of simCode: alias equations: time 0.0002206/1.092, allocations: 54.92 kB / 1.381 GB, free: 3.168 MB / 1.057 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.861e-05/1.092, allocations: 23.44 kB / 1.381 GB, free: 3.145 MB / 1.057 GB Notification: Performance of SimCode: time 8.42e-07/1.092, allocations: 0 / 1.381 GB, free: 3.145 MB / 1.057 GB Notification: Performance of Templates: time 0.01294/1.105, allocations: 4.758 MB / 1.386 GB, free: 14.47 MB / 1.073 GB " [Timeout remaining time 299] 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: 10.468125295825303]