Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.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/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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(Buildings.Electrical.DC.Lines.Examples.RCModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Electrical.DC.Lines.Examples.RCModel") translateModel(Buildings.Electrical.DC.Lines.Examples.RCModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.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.001171/0.001171, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.01028/0.01029, allocations: 169.8 kB / 16.27 MB, free: 6.348 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.496/1.496, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.977/2.977, allocations: 473.4 MB / 0.7469 GB, free: 6.121 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003538/0.0003538, allocations: 11.53 kB / 0.9158 GB, free: 33.18 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3646/0.3649, allocations: 162.2 MB / 1.074 GB, free: 7.582 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.RCModel): time 0.004858/0.3698, allocations: 4.004 MB / 1.078 GB, free: 3.562 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.002971/0.3728, allocations: 1.831 MB / 1.08 GB, free: 1.723 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002013/0.3731, allocations: 11.94 kB / 1.08 GB, free: 1.711 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0002708/0.3734, allocations: 75.41 kB / 1.08 GB, free: 1.637 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0006374/0.374, allocations: 246.9 kB / 1.08 GB, free: 1.395 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006113/0.3746, allocations: 231.5 kB / 1.08 GB, free: 1.168 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0008165/0.3755, allocations: 0.8374 MB / 1.081 GB, free: 336 kB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005506/0.376, allocations: 439.4 kB / 1.082 GB, free: 15.86 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002565/0.3763, allocations: 195.2 kB / 1.082 GB, free: 15.67 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000446/0.3767, allocations: 266.9 kB / 1.082 GB, free: 15.41 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 4.394e-05/0.3768, allocations: 20 kB / 1.082 GB, free: 15.39 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005011/0.3773, allocations: 315.3 kB / 1.082 GB, free: 15.08 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.000147/0.3775, allocations: 123.6 kB / 1.082 GB, free: 14.96 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0002071/0.3777, allocations: 220.7 kB / 1.083 GB, free: 14.74 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0006108/0.3783, allocations: 0.5997 MB / 1.083 GB, free: 14.14 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.3783, allocations: 0 / 1.083 GB, free: 14.14 MB / 0.8419 GB Notification: Performance of FrontEnd: time 2.315e-06/0.3783, allocations: 4 kB / 1.083 GB, free: 14.13 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 6.331e-06/0.3783, allocations: 0 / 1.083 GB, free: 14.13 MB / 0.8419 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.00109/0.3794, allocations: 0.6513 MB / 1.084 GB, free: 13.43 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.078e-05/0.3795, allocations: 8.031 kB / 1.084 GB, free: 13.43 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009844/0.3805, allocations: 156.2 kB / 1.084 GB, free: 13.27 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004213/0.3809, allocations: 334.5 kB / 1.084 GB, free: 12.91 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.753e-05/0.3809, allocations: 25.38 kB / 1.084 GB, free: 12.88 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.843e-05/0.381, allocations: 32.38 kB / 1.084 GB, free: 12.85 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008086/0.3818, allocations: 0.5356 MB / 1.085 GB, free: 12.28 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.523e-05/0.3818, allocations: 0 / 1.085 GB, free: 12.28 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.373e-05/0.3819, allocations: 15.94 kB / 1.085 GB, free: 12.27 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.123e-05/0.382, allocations: 32.64 kB / 1.085 GB, free: 12.23 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005838/0.3825, allocations: 390.3 kB / 1.085 GB, free: 11.85 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002527/0.3851, allocations: 2.415 MB / 1.088 GB, free: 9.211 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000536/0.3856, allocations: 259.8 kB / 1.088 GB, free: 8.949 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001628/0.3858, allocations: 112.8 kB / 1.088 GB, free: 8.836 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 1.613e-05/0.3858, allocations: 4 kB / 1.088 GB, free: 8.832 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.542e-05/0.3859, allocations: 34.56 kB / 1.088 GB, free: 8.789 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=20): time 1.473e-06/0.3859, allocations: 0 / 1.088 GB, free: 8.789 MB / 0.8419 GB Notification: Performance of matching and sorting (n=23): time 0.002165/0.388, allocations: 1.135 MB / 1.089 GB, free: 7.559 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.715e-05/0.3881, allocations: 55.41 kB / 1.089 GB, free: 7.492 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003568/0.3885, allocations: 304.4 kB / 1.09 GB, free: 7.191 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.491e-05/0.3885, allocations: 29.7 kB / 1.09 GB, free: 7.156 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001498/0.3886, allocations: 231.6 kB / 1.09 GB, free: 6.922 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 6.928e-05/0.3887, allocations: 82.75 kB / 1.09 GB, free: 6.84 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.887e-05/0.3888, allocations: 33.7 kB / 1.09 GB, free: 6.801 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001223/0.3889, allocations: 338.8 kB / 1.09 GB, free: 6.461 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001661/0.3891, allocations: 108.5 kB / 1.09 GB, free: 6.352 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002232/0.3893, allocations: 191.7 kB / 1.091 GB, free: 6.125 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004204/0.3897, allocations: 323.4 kB / 1.091 GB, free: 5.773 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.3897, allocations: 0 / 1.091 GB, free: 5.773 MB / 0.8419 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0007606/0.3905, allocations: 434 kB / 1.091 GB, free: 5.336 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.753e-05/0.3905, allocations: 11.88 kB / 1.091 GB, free: 5.324 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.606e-06/0.3906, allocations: 7.984 kB / 1.091 GB, free: 5.316 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000353/0.3909, allocations: 94.69 kB / 1.091 GB, free: 5.215 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002657/0.3912, allocations: 63.91 kB / 1.091 GB, free: 5.152 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002976/0.3942, allocations: 4.076 MB / 1.095 GB, free: 0.6719 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002317/0.3944, allocations: 16 kB / 1.095 GB, free: 0.6562 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.404e-05/0.3945, allocations: 12 kB / 1.095 GB, free: 0.6445 MB / 0.8419 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.0002372/0.3947, allocations: 185.7 kB / 1.096 GB, free: 464 kB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.138e-05/0.3948, allocations: 31.62 kB / 1.096 GB, free: 432 kB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.395e-05/0.3949, allocations: 38.31 kB / 1.096 GB, free: 392 kB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.427e-06/0.3949, allocations: 4 kB / 1.096 GB, free: 388 kB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.717e-06/0.3949, allocations: 4 kB / 1.096 GB, free: 384 kB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.418e-06/0.3949, allocations: 0 / 1.096 GB, free: 384 kB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004768/0.3954, allocations: 405.3 kB / 1.096 GB, free: 15.93 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.3954, allocations: 0 / 1.096 GB, free: 15.93 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001882/0.3956, allocations: 35.97 kB / 1.096 GB, free: 15.89 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002938/0.3959, allocations: 94.44 kB / 1.096 GB, free: 15.79 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.704e-05/0.3959, allocations: 4 kB / 1.096 GB, free: 15.79 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002879/0.3988, allocations: 4.068 MB / 1.1 GB, free: 11.32 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.3988, allocations: 0 / 1.1 GB, free: 11.32 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007489/0.3996, allocations: 0.5542 MB / 1.101 GB, free: 10.75 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001208/0.3997, allocations: 128.7 kB / 1.101 GB, free: 10.6 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.623e-05/0.3997, allocations: 8 kB / 1.101 GB, free: 10.59 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001903/0.3999, allocations: 12.06 kB / 1.101 GB, free: 10.58 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.324e-05/0.4, allocations: 23.91 kB / 1.101 GB, free: 10.56 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.382e-05/0.4, allocations: 8 kB / 1.101 GB, free: 10.55 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0001978/0.4002, allocations: 207.1 kB / 1.101 GB, free: 10.35 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.51e-07/0.4002, allocations: 0 / 1.101 GB, free: 10.35 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0004324/0.4007, allocations: 100 kB / 1.101 GB, free: 10.25 MB / 0.8575 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.0001281/0.4008, allocations: 103.8 kB / 1.101 GB, free: 10.14 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0008245/0.4016, allocations: 0.6134 MB / 1.102 GB, free: 9.492 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 3.596e-06/0.4016, allocations: 4.25 kB / 1.102 GB, free: 9.488 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.000473/0.4021, allocations: 468 kB / 1.102 GB, free: 8.992 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005211/0.4027, allocations: 91.09 kB / 1.102 GB, free: 8.902 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001195/0.4039, allocations: 0.894 MB / 1.103 GB, free: 7.98 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003827/0.4043, allocations: 0.8348 MB / 1.104 GB, free: 7.121 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0001967/0.4045, allocations: 66.86 kB / 1.104 GB, free: 7.055 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.999e-05/0.4045, allocations: 23.44 kB / 1.104 GB, free: 7.031 MB / 0.8575 GB Notification: Performance of SimCode: time 2.3e-07/0.4045, allocations: 0 / 1.104 GB, free: 7.031 MB / 0.8575 GB Notification: Performance of Templates: time 0.008434/0.413, allocations: 4.215 MB / 1.108 GB, free: 2.859 MB / 0.8575 GB make -j1 -f Buildings_1.6_Buildings.Electrical.DC.Lines.Examples.RCModel.makefile (rm -f Buildings_1.6_Buildings.Electrical.DC.Lines.Examples.RCModel.pipe ; mkfifo Buildings_1.6_Buildings.Electrical.DC.Lines.Examples.RCModel.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Electrical.DC.Lines.Examples.RCModel.pipe >> ../files/Buildings_1.6_Buildings.Electrical.DC.Lines.Examples.RCModel.sim & ./Buildings_1.6_Buildings.Electrical.DC.Lines.Examples.RCModel -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Electrical.DC.Lines.Examples.RCModel.pipe 2>&1)