Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.DC.Lines.Examples.RCModel.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Electrical.DC.Lines.Examples.RCModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Electrical.DC.Lines.Examples.RCModel") translateModel(Buildings.Electrical.DC.Lines.Examples.RCModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Electrical.DC.Lines.Examples.RCModel") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.25/2.25, allocations: 391.2 MB / 407 MB, free: 10.86 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001486/0.001486, allocations: 187.4 kB / 499.1 MB, free: 4.695 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.611/1.611, allocations: 222.9 MB / 0.7948 GB, free: 15.85 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001021/0.001021, allocations: 96.27 kB / 0.9329 GB, free: 7.113 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0009973/0.0009974, allocations: 48.45 kB / 1.081 GB, free: 218.1 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2782/0.2792, allocations: 140.6 MB / 1.218 GB, free: 117.3 MB / 0.823 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.RCModel): time 0.005053/0.2843, allocations: 4.359 MB / 1.222 GB, free: 112.9 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.002585/0.287, allocations: 1.854 MB / 1.224 GB, free: 111.1 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000222/0.2872, allocations: 11.94 kB / 1.224 GB, free: 111 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 0.001353/0.2886, allocations: 0.5676 MB / 1.225 GB, free: 110.5 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 0.0005168/0.2891, allocations: 242.9 kB / 1.225 GB, free: 110.2 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.000597/0.2897, allocations: 227.5 kB / 1.225 GB, free: 110 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.0006546/0.2904, allocations: 0.8491 MB / 1.226 GB, free: 109.2 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004062/0.2908, allocations: 310.9 kB / 1.226 GB, free: 108.9 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001825/0.291, allocations: 207.2 kB / 1.227 GB, free: 108.7 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003933/0.2914, allocations: 279 kB / 1.227 GB, free: 108.4 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 4.507e-05/0.2914, allocations: 28 kB / 1.227 GB, free: 108.4 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004716/0.2919, allocations: 311.4 kB / 1.227 GB, free: 108 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 0.0001122/0.292, allocations: 143.5 kB / 1.227 GB, free: 107.9 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 0.0001613/0.2922, allocations: 214.9 kB / 1.227 GB, free: 107.7 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0004996/0.2927, allocations: 0.6056 MB / 1.228 GB, free: 107.1 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.2927, allocations: 0 / 1.228 GB, free: 107.1 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.583e-06/0.2927, allocations: 4 kB / 1.228 GB, free: 107.1 MB / 0.823 GB Notification: Performance of Transformations before backend: time 1.18e-05/0.2928, allocations: 3.938 kB / 1.228 GB, free: 107.1 MB / 0.823 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.001143/0.2939, allocations: 0.7175 MB / 1.229 GB, free: 106.3 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.955e-05/0.294, allocations: 11.98 kB / 1.229 GB, free: 106.3 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000888/0.2949, allocations: 152.2 kB / 1.229 GB, free: 106.2 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004294/0.2953, allocations: 330.5 kB / 1.229 GB, free: 105.8 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.523e-05/0.2953, allocations: 21.38 kB / 1.229 GB, free: 105.8 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.749e-05/0.2954, allocations: 36.38 kB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006376/0.296, allocations: 0.5394 MB / 1.23 GB, free: 105.2 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.559e-05/0.2961, allocations: 4 kB / 1.23 GB, free: 105.2 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.621e-05/0.2961, allocations: 16 kB / 1.23 GB, free: 105.1 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.992e-05/0.2962, allocations: 36.62 kB / 1.23 GB, free: 105.1 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000494/0.2967, allocations: 386.3 kB / 1.23 GB, free: 104.7 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002183/0.2989, allocations: 2.399 MB / 1.233 GB, free: 102.1 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004485/0.2993, allocations: 271.4 kB / 1.233 GB, free: 101.8 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001304/0.2995, allocations: 108.8 kB / 1.233 GB, free: 101.7 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.578e-05/0.2995, allocations: 8 kB / 1.233 GB, free: 101.7 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.594e-05/0.2995, allocations: 30.56 kB / 1.233 GB, free: 101.7 MB / 0.823 GB Notification: Performance of pre-optimization done (n=20): time 2.014e-06/0.2995, allocations: 0 / 1.233 GB, free: 101.7 MB / 0.823 GB Notification: Performance of matching and sorting (n=23): time 0.001875/0.3014, allocations: 1.136 MB / 1.234 GB, free: 100.4 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.392e-05/0.3014, allocations: 51.41 kB / 1.234 GB, free: 100.4 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002442/0.3017, allocations: 304.4 kB / 1.234 GB, free: 100.1 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 1.824e-05/0.3017, allocations: 29.7 kB / 1.234 GB, free: 100 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 9.22e-05/0.3018, allocations: 223.7 kB / 1.235 GB, free: 99.82 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 4.348e-05/0.3018, allocations: 86.75 kB / 1.235 GB, free: 99.73 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.984e-05/0.3019, allocations: 61.94 kB / 1.235 GB, free: 99.66 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 6.127e-05/0.302, allocations: 334.8 kB / 1.235 GB, free: 99.33 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000128/0.3021, allocations: 104.6 kB / 1.235 GB, free: 99.23 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001573/0.3023, allocations: 197.7 kB / 1.235 GB, free: 99 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002855/0.3026, allocations: 314.3 kB / 1.236 GB, free: 98.66 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.3026, allocations: 4 kB / 1.236 GB, free: 98.65 MB / 0.823 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0005834/0.3032, allocations: 441.9 kB / 1.236 GB, free: 98.21 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 2.103e-05/0.3032, allocations: 7.984 kB / 1.236 GB, free: 98.2 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.132e-06/0.3032, allocations: 4 kB / 1.236 GB, free: 98.2 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000333/0.3036, allocations: 98.62 kB / 1.236 GB, free: 98.09 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000248/0.3038, allocations: 63.91 kB / 1.236 GB, free: 98.03 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002011/0.3058, allocations: 4.064 MB / 1.24 GB, free: 93.56 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002145/0.3061, allocations: 12.03 kB / 1.24 GB, free: 93.55 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.003e-05/0.3061, allocations: 12.3 kB / 1.24 GB, free: 93.54 MB / 0.823 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.0001642/0.3063, allocations: 190.3 kB / 1.24 GB, free: 93.34 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.086e-05/0.3063, allocations: 35.61 kB / 1.24 GB, free: 93.3 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.143e-05/0.3064, allocations: 42.31 kB / 1.241 GB, free: 93.26 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.976e-06/0.3064, allocations: 7.938 kB / 1.241 GB, free: 93.25 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.244e-06/0.3064, allocations: 3.938 kB / 1.241 GB, free: 93.25 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.3064, allocations: 0 / 1.241 GB, free: 93.25 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00033/0.3068, allocations: 405.3 kB / 1.241 GB, free: 92.8 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.734e-06/0.3068, allocations: 0 / 1.241 GB, free: 92.8 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001702/0.307, allocations: 35.97 kB / 1.241 GB, free: 92.77 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002575/0.3072, allocations: 90.44 kB / 1.241 GB, free: 92.67 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.549e-05/0.3073, allocations: 8 kB / 1.241 GB, free: 92.66 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001929/0.3092, allocations: 4.068 MB / 1.245 GB, free: 88.2 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.3092, allocations: 0 / 1.245 GB, free: 88.2 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002149/0.3114, allocations: 3.132 MB / 1.248 GB, free: 84.78 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001013/0.3115, allocations: 120.8 kB / 1.248 GB, free: 84.64 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.25e-05/0.3115, allocations: 8 kB / 1.248 GB, free: 84.63 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000198/0.3117, allocations: 11.98 kB / 1.248 GB, free: 84.62 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.907e-05/0.3118, allocations: 19.91 kB / 1.248 GB, free: 84.6 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.393e-05/0.3118, allocations: 8 kB / 1.248 GB, free: 84.59 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.0001444/0.3119, allocations: 207.2 kB / 1.248 GB, free: 84.39 MB / 0.823 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3119, allocations: 4 kB / 1.248 GB, free: 84.39 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.000473/0.3124, allocations: 124 kB / 1.249 GB, free: 84.27 MB / 0.823 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.0001081/0.3125, allocations: 107.2 kB / 1.249 GB, free: 84.16 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0006532/0.3132, allocations: 0.6016 MB / 1.249 GB, free: 83.52 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.3132, allocations: 0 / 1.249 GB, free: 83.52 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0003494/0.3136, allocations: 474.2 kB / 1.25 GB, free: 83.02 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004595/0.314, allocations: 71 kB / 1.25 GB, free: 82.95 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001132/0.3152, allocations: 1.179 MB / 1.251 GB, free: 81.72 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002301/0.3154, allocations: 0.8426 MB / 1.252 GB, free: 80.85 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.0002135/0.3156, allocations: 66.86 kB / 1.252 GB, free: 80.78 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.224e-05/0.3157, allocations: 27.38 kB / 1.252 GB, free: 80.75 MB / 0.823 GB Notification: Performance of SimCode: time 4.01e-07/0.3157, allocations: 0 / 1.252 GB, free: 80.75 MB / 0.823 GB Notification: Performance of Templates: time 0.006949/0.3227, allocations: 4.673 MB / 1.256 GB, free: 76.12 MB / 0.823 GB make -j1 -f Buildings_latest_Buildings.Electrical.DC.Lines.Examples.RCModel.makefile (rm -f Buildings_latest_Buildings.Electrical.DC.Lines.Examples.RCModel.pipe ; mkfifo Buildings_latest_Buildings.Electrical.DC.Lines.Examples.RCModel.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.DC.Lines.Examples.RCModel.pipe >> ../files/Buildings_latest_Buildings.Electrical.DC.Lines.Examples.RCModel.sim & ./Buildings_latest_Buildings.Electrical.DC.Lines.Examples.RCModel -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Electrical.DC.Lines.Examples.RCModel.pipe 2>&1)