Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.RCModel.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IBPSA.Electrical.DC.Lines.Examples.RCModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.RCModel") translateModel(IBPSA.Electrical.DC.Lines.Examples.RCModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.RCModel") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001012/0.001012, allocations: 111.5 kB / 17.04 MB, free: 6.078 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009735/0.0009736, allocations: 195 kB / 17.98 MB, free: 5.16 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.325/1.325, allocations: 222.9 MB / 241.7 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7039/0.7039, allocations: 115.1 MB / 406.9 MB, free: 6.383 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001144/0.001144, allocations: 60.12 kB / 494.8 MB, free: 15.89 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3522/0.3533, allocations: 76.15 MB / 0.5576 GB, free: 36.66 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.DC.Lines.Examples.RCModel): time 0.005385/0.3588, allocations: 4.333 MB / 0.5618 GB, free: 33.75 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002696/0.3615, allocations: 1.859 MB / 0.5636 GB, free: 32.47 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002487/0.3618, allocations: 9.781 kB / 0.5636 GB, free: 32.47 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001515/0.3633, allocations: 0.5997 MB / 0.5642 GB, free: 32.11 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006089/0.3639, allocations: 256.2 kB / 0.5645 GB, free: 31.96 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000754/0.3647, allocations: 255.7 kB / 0.5647 GB, free: 31.84 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007643/0.3655, allocations: 0.6064 MB / 0.5653 GB, free: 31.57 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007487/0.3662, allocations: 476.1 kB / 0.5658 GB, free: 31.41 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003199/0.3666, allocations: 247.5 kB / 0.566 GB, free: 31.3 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004944/0.3671, allocations: 267.3 kB / 0.5662 GB, free: 31.2 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 6.425e-05/0.3671, allocations: 36.62 kB / 0.5663 GB, free: 31.2 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005245/0.3677, allocations: 253.7 kB / 0.5665 GB, free: 31.11 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00017/0.3679, allocations: 155.9 kB / 0.5667 GB, free: 31.05 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002387/0.3681, allocations: 217.7 kB / 0.5669 GB, free: 30.92 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008463/0.369, allocations: 0.6075 MB / 0.5675 GB, free: 30.71 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.369, allocations: 1.469 kB / 0.5675 GB, free: 30.71 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.124e-06/0.369, allocations: 1.125 kB / 0.5675 GB, free: 30.71 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.015e-05/0.369, allocations: 0 / 0.5675 GB, free: 30.71 MB / 446.1 MB 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.001244/0.3702, allocations: 0.7214 MB / 0.5682 GB, free: 30.15 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.699e-05/0.3703, allocations: 9.469 kB / 0.5682 GB, free: 30.15 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009544/0.3712, allocations: 153.2 kB / 0.5683 GB, free: 30.12 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004792/0.3717, allocations: 333.7 kB / 0.5686 GB, free: 29.85 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.12e-05/0.3718, allocations: 26.67 kB / 0.5687 GB, free: 29.83 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.376e-05/0.3718, allocations: 31.09 kB / 0.5687 GB, free: 29.82 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008238/0.3727, allocations: 0.5387 MB / 0.5692 GB, free: 29.55 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.408e-05/0.3727, allocations: 3.938 kB / 0.5692 GB, free: 29.54 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.775e-05/0.3727, allocations: 17 kB / 0.5692 GB, free: 29.53 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.289e-05/0.3728, allocations: 33.17 kB / 0.5693 GB, free: 29.52 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005856/0.3734, allocations: 388.1 kB / 0.5697 GB, free: 29.39 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002225/0.3756, allocations: 2.402 MB / 0.572 GB, free: 27.35 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005059/0.3762, allocations: 258.9 kB / 0.5722 GB, free: 27.24 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001796/0.3763, allocations: 112.3 kB / 0.5724 GB, free: 27.19 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.701e-05/0.3764, allocations: 1.5 kB / 0.5724 GB, free: 27.19 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.246e-05/0.3764, allocations: 38.31 kB / 0.5724 GB, free: 27.15 MB / 446.1 MB Notification: Performance of pre-optimization done (n=20): time 1.262e-06/0.3764, allocations: 0.5 kB / 0.5724 GB, free: 27.15 MB / 446.1 MB Notification: Performance of matching and sorting (n=23): time 0.002152/0.3786, allocations: 1.13 MB / 0.5735 GB, free: 26.4 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.134e-05/0.3786, allocations: 57.14 kB / 0.5735 GB, free: 26.34 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003496/0.379, allocations: 301.8 kB / 0.5738 GB, free: 26.17 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.365e-05/0.379, allocations: 31.67 kB / 0.5739 GB, free: 26.14 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000128/0.3791, allocations: 226.5 kB / 0.5741 GB, free: 25.95 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.234e-05/0.3792, allocations: 81.64 kB / 0.5742 GB, free: 25.89 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001036/0.3793, allocations: 62.58 kB / 0.5742 GB, free: 25.84 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 8.499e-05/0.3794, allocations: 340.4 kB / 0.5745 GB, free: 25.52 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001688/0.3796, allocations: 103.6 kB / 0.5746 GB, free: 25.48 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002186/0.3798, allocations: 196.2 kB / 0.5748 GB, free: 25.34 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003753/0.3802, allocations: 311.8 kB / 0.5751 GB, free: 25.14 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/0.3802, allocations: 1.375 kB / 0.5751 GB, free: 25.14 MB / 446.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0007169/0.3809, allocations: 443.4 kB / 0.5755 GB, free: 24.95 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.604e-05/0.3809, allocations: 6.828 kB / 0.5756 GB, free: 24.95 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.51e-06/0.381, allocations: 2.719 kB / 0.5756 GB, free: 24.95 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002948/0.3813, allocations: 103.8 kB / 0.5757 GB, free: 24.9 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002616/0.3815, allocations: 64.28 kB / 0.5757 GB, free: 24.9 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002405/0.3839, allocations: 4.387 MB / 0.58 GB, free: 20.58 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002407/0.3842, allocations: 13.73 kB / 0.58 GB, free: 20.57 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.299e-05/0.3842, allocations: 13 kB / 0.58 GB, free: 20.57 MB / 446.1 MB 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.0002047/0.3844, allocations: 181.6 kB / 0.5802 GB, free: 20.42 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.036e-05/0.3845, allocations: 36.58 kB / 0.5802 GB, free: 20.4 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.923e-05/0.3846, allocations: 44.11 kB / 0.5803 GB, free: 20.37 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.078e-06/0.3846, allocations: 4 kB / 0.5803 GB, free: 20.37 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.198e-05/0.3846, allocations: 1.594 kB / 0.5803 GB, free: 20.37 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.368e-06/0.3846, allocations: 1.406 kB / 0.5803 GB, free: 20.37 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004652/0.3851, allocations: 392.8 kB / 0.5807 GB, free: 20.11 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.3851, allocations: 1.188 kB / 0.5807 GB, free: 20.11 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001908/0.3853, allocations: 40.17 kB / 0.5807 GB, free: 20.1 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002854/0.3856, allocations: 91.47 kB / 0.5808 GB, free: 20.06 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.479e-05/0.3856, allocations: 4 kB / 0.5808 GB, free: 20.06 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00218/0.3878, allocations: 4.397 MB / 0.5851 GB, free: 15.72 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.3878, allocations: 0 / 0.5851 GB, free: 15.72 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007312/0.3885, allocations: 0.5559 MB / 0.5856 GB, free: 15.41 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001305/0.3887, allocations: 124.4 kB / 0.5857 GB, free: 15.29 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.632e-05/0.3887, allocations: 5.672 kB / 0.5858 GB, free: 15.29 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001917/0.3889, allocations: 12.34 kB / 0.5858 GB, free: 15.28 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.06e-05/0.389, allocations: 23.02 kB / 0.5858 GB, free: 15.27 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.622e-05/0.389, allocations: 8.344 kB / 0.5858 GB, free: 15.27 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001885/0.3892, allocations: 208.2 kB / 0.586 GB, free: 15.16 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3892, allocations: 1.438 kB / 0.586 GB, free: 15.16 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004946/0.3897, allocations: 102 kB / 0.5861 GB, free: 15.14 MB / 446.1 MB 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 9.67e-05/0.3898, allocations: 106.3 kB / 0.5862 GB, free: 15.05 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0006979/0.3905, allocations: 0.6072 MB / 0.5868 GB, free: 14.61 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.208e-06/0.3905, allocations: 1.781 kB / 0.5868 GB, free: 14.61 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003756/0.3909, allocations: 477.3 kB / 0.5872 GB, free: 14.23 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004395/0.3914, allocations: 83.06 kB / 0.5873 GB, free: 14.19 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001026/0.3924, allocations: 0.6974 MB / 0.588 GB, free: 13.79 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002923/0.3927, allocations: 0.8363 MB / 0.5888 GB, free: 13.07 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001906/0.3929, allocations: 62.62 kB / 0.5889 GB, free: 13.05 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.462e-05/0.393, allocations: 23.19 kB / 0.5889 GB, free: 13.04 MB / 446.1 MB Notification: Performance of SimCode: time 2.51e-07/0.393, allocations: 3.938 kB / 0.5889 GB, free: 13.04 MB / 446.1 MB Notification: Performance of Templates: time 0.008305/0.4013, allocations: 4.428 MB / 0.5932 GB, free: 11.86 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.RCModel.makefile (rm -f IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.RCModel.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.RCModel.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.RCModel.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.RCModel.sim & ./IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.RCModel -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.RCModel.pipe 2>&1)