Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.RCModel") translateModel(Buildings.Electrical.DC.Lines.Examples.RCModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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.00775/0.00775, allocations: 105.4 kB / 15.74 MB, free: 6.008 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.001366/0.001366, allocations: 199.9 kB / 16.68 MB, free: 5.93 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.632/1.632, allocations: 205.1 MB / 222.5 MB, free: 4.359 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.578/1.578, allocations: 251.7 MB / 0.5094 GB, free: 3.051 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00165/0.00165, allocations: 63.91 kB / 0.7257 GB, free: 9.02 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2687/0.2704, allocations: 104.7 MB / 0.828 GB, free: 196 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.RCModel): time 0.006259/0.2767, allocations: 4.336 MB / 0.8323 GB, free: 11.83 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.003226/0.28, allocations: 1.859 MB / 0.8341 GB, free: 9.961 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002405/0.2802, allocations: 12 kB / 0.8341 GB, free: 9.949 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.001704/0.282, allocations: 0.5947 MB / 0.8347 GB, free: 9.355 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0006285/0.2826, allocations: 270.6 kB / 0.8349 GB, free: 9.09 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006772/0.2833, allocations: 247.4 kB / 0.8352 GB, free: 8.848 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0006254/0.2839, allocations: 0.6109 MB / 0.8358 GB, free: 8.234 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007066/0.2846, allocations: 474.8 kB / 0.8362 GB, free: 7.766 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000301/0.2849, allocations: 247.1 kB / 0.8364 GB, free: 7.523 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004777/0.2854, allocations: 274.9 kB / 0.8367 GB, free: 7.254 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 6.22e-05/0.2855, allocations: 40 kB / 0.8367 GB, free: 7.215 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005442/0.2861, allocations: 255.5 kB / 0.837 GB, free: 6.965 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0001429/0.2862, allocations: 151.6 kB / 0.8371 GB, free: 6.816 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0002093/0.2864, allocations: 218.9 kB / 0.8373 GB, free: 6.602 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.000693/0.2871, allocations: 0.6035 MB / 0.8379 GB, free: 5.996 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.992e-06/0.2871, allocations: 0 / 0.8379 GB, free: 5.996 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.124e-06/0.2871, allocations: 0 / 0.8379 GB, free: 5.996 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 8.396e-06/0.2872, allocations: 0 / 0.8379 GB, free: 5.996 MB / 0.6544 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.001371/0.2885, allocations: 0.733 MB / 0.8386 GB, free: 5.215 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.707e-05/0.2886, allocations: 8.031 kB / 0.8387 GB, free: 5.207 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001012/0.2896, allocations: 144.3 kB / 0.8388 GB, free: 5.066 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005058/0.2901, allocations: 346.3 kB / 0.8391 GB, free: 4.691 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.303e-05/0.2902, allocations: 29.38 kB / 0.8392 GB, free: 4.664 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.712e-05/0.2902, allocations: 28.38 kB / 0.8392 GB, free: 4.637 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008306/0.2911, allocations: 0.5318 MB / 0.8397 GB, free: 4.07 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.959e-05/0.2911, allocations: 3.938 kB / 0.8397 GB, free: 4.07 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.622e-05/0.2912, allocations: 20 kB / 0.8397 GB, free: 4.051 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.078e-05/0.2912, allocations: 28.62 kB / 0.8397 GB, free: 4.023 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005838/0.2918, allocations: 390.3 kB / 0.8401 GB, free: 3.641 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00261/0.2944, allocations: 2.399 MB / 0.8425 GB, free: 1.02 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005129/0.295, allocations: 266.5 kB / 0.8427 GB, free: 0.75 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001577/0.2951, allocations: 104.8 kB / 0.8428 GB, free: 0.6445 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.576e-05/0.2951, allocations: 4 kB / 0.8428 GB, free: 0.6406 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.76e-05/0.2952, allocations: 38.56 kB / 0.8429 GB, free: 0.5938 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=20): time 1.964e-06/0.2952, allocations: 3.938 kB / 0.8429 GB, free: 0.5898 MB / 0.6544 GB Notification: Performance of matching and sorting (n=23): time 0.002171/0.2974, allocations: 1.12 MB / 0.844 GB, free: 15.38 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.127e-05/0.2974, allocations: 55.41 kB / 0.844 GB, free: 15.31 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000342/0.2978, allocations: 312.3 kB / 0.8443 GB, free: 15 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 2.645e-05/0.2978, allocations: 29.7 kB / 0.8443 GB, free: 14.96 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.000149/0.298, allocations: 231.6 kB / 0.8446 GB, free: 14.73 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 6.245e-05/0.298, allocations: 78.84 kB / 0.8446 GB, free: 14.65 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.955e-05/0.2981, allocations: 65.94 kB / 0.8447 GB, free: 14.58 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001351/0.2983, allocations: 338.8 kB / 0.845 GB, free: 14.24 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001586/0.2984, allocations: 104.5 kB / 0.8451 GB, free: 14.14 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002055/0.2987, allocations: 187.8 kB / 0.8453 GB, free: 13.91 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003956/0.2991, allocations: 323.4 kB / 0.8456 GB, free: 13.56 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.714e-06/0.2991, allocations: 0 / 0.8456 GB, free: 13.56 MB / 0.67 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0007186/0.2998, allocations: 434.1 kB / 0.846 GB, free: 13.12 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.984e-05/0.2998, allocations: 7.938 kB / 0.846 GB, free: 13.12 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.865e-06/0.2998, allocations: 4 kB / 0.846 GB, free: 13.11 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003661/0.3002, allocations: 98.58 kB / 0.8461 GB, free: 13.01 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002606/0.3005, allocations: 63.91 kB / 0.8462 GB, free: 12.95 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003204/0.3037, allocations: 4.399 MB / 0.8505 GB, free: 8.125 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002205/0.3039, allocations: 12 kB / 0.8505 GB, free: 8.113 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.183e-05/0.304, allocations: 12 kB / 0.8505 GB, free: 8.102 MB / 0.67 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.0002222/0.3042, allocations: 178.4 kB / 0.8507 GB, free: 7.918 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.403e-05/0.3043, allocations: 35.56 kB / 0.8507 GB, free: 7.883 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.808e-05/0.3044, allocations: 46.38 kB / 0.8508 GB, free: 7.836 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.943e-06/0.3044, allocations: 0 / 0.8508 GB, free: 7.836 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.038e-05/0.3044, allocations: 4 kB / 0.8508 GB, free: 7.832 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.977e-06/0.3044, allocations: 0 / 0.8508 GB, free: 7.832 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004431/0.3048, allocations: 397.4 kB / 0.8511 GB, free: 7.395 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.3048, allocations: 0 / 0.8511 GB, free: 7.395 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001866/0.305, allocations: 39.91 kB / 0.8512 GB, free: 7.355 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002843/0.3053, allocations: 94.44 kB / 0.8513 GB, free: 7.254 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.727e-05/0.3054, allocations: 4 kB / 0.8513 GB, free: 7.25 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003152/0.3085, allocations: 4.383 MB / 0.8555 GB, free: 2.441 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.033e-06/0.3085, allocations: 0 / 0.8555 GB, free: 2.441 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008512/0.3094, allocations: 0.5598 MB / 0.8561 GB, free: 1.855 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001402/0.3095, allocations: 128.7 kB / 0.8562 GB, free: 1.711 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.971e-05/0.3096, allocations: 3.938 kB / 0.8562 GB, free: 1.707 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001957/0.3098, allocations: 12 kB / 0.8562 GB, free: 1.695 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.327e-05/0.3099, allocations: 19.97 kB / 0.8562 GB, free: 1.676 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.447e-05/0.3099, allocations: 8.062 kB / 0.8563 GB, free: 1.668 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0002355/0.3101, allocations: 215.1 kB / 0.8565 GB, free: 1.461 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3101, allocations: 0 / 0.8565 GB, free: 1.461 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0004916/0.3106, allocations: 103.9 kB / 0.8566 GB, free: 1.359 MB / 0.67 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.000156/0.3108, allocations: 99.25 kB / 0.8567 GB, free: 1.254 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.0008954/0.3117, allocations: 0.6082 MB / 0.8572 GB, free: 0.6094 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/0.3117, allocations: 0 / 0.8572 GB, free: 0.6094 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0005024/0.3122, allocations: 480.5 kB / 0.8577 GB, free: 104 kB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004883/0.3127, allocations: 76.78 kB / 0.8578 GB, free: 32 kB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001219/0.3139, allocations: 0.7046 MB / 0.8585 GB, free: 15.3 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000525/0.3145, allocations: 0.8388 MB / 0.8593 GB, free: 14.43 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0001823/0.3147, allocations: 50.94 kB / 0.8593 GB, free: 14.38 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.081e-05/0.3147, allocations: 27.44 kB / 0.8594 GB, free: 14.36 MB / 0.6856 GB Notification: Performance of SimCode: time 4.21e-07/0.3147, allocations: 0 / 0.8594 GB, free: 14.36 MB / 0.6856 GB Notification: Performance of Templates: time 0.009049/0.3238, allocations: 4.507 MB / 0.8638 GB, free: 9.895 MB / 0.6856 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.RCModel.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.RCModel.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.RCModel.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.RCModel.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.RCModel.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.RCModel -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.RCModel.pipe 2>&1)