Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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_8_Buildings.Electrical.DC.Lines.Examples.RCModel") translateModel(Buildings.Electrical.DC.Lines.Examples.RCModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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.0008116/0.0008119, allocations: 97.64 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.005565/0.005565, allocations: 170.1 kB / 16.27 MB, free: 6.66 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.784/1.784, allocations: 205.4 MB / 222.4 MB, free: 5.566 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.79/1.79, allocations: 292.7 MB / 0.5502 GB, free: 14.5 MB / 462.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.0006545/0.0006545, allocations: 14.14 kB / 0.6743 GB, free: 25.95 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.305/0.3057, allocations: 116.3 MB / 0.7879 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.RCModel): time 0.005271/0.311, allocations: 3.972 MB / 0.7918 GB, free: 7.598 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.003464/0.3145, allocations: 1.84 MB / 0.7936 GB, free: 5.746 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002553/0.3148, allocations: 11.94 kB / 0.7936 GB, free: 5.734 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0002709/0.3151, allocations: 63.48 kB / 0.7936 GB, free: 5.672 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0006432/0.3158, allocations: 254.8 kB / 0.7939 GB, free: 5.422 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006473/0.3164, allocations: 227.5 kB / 0.7941 GB, free: 5.199 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0008149/0.3173, allocations: 0.8374 MB / 0.7949 GB, free: 4.359 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000567/0.3178, allocations: 437.8 kB / 0.7953 GB, free: 3.898 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002421/0.3181, allocations: 199.2 kB / 0.7955 GB, free: 3.703 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004509/0.3185, allocations: 259 kB / 0.7958 GB, free: 3.449 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 4.267e-05/0.3186, allocations: 20 kB / 0.7958 GB, free: 3.43 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005282/0.3191, allocations: 315.3 kB / 0.7961 GB, free: 3.121 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001556/0.3193, allocations: 127.6 kB / 0.7962 GB, free: 2.996 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0002462/0.3196, allocations: 228.6 kB / 0.7964 GB, free: 2.766 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0006965/0.3203, allocations: 0.5919 MB / 0.797 GB, free: 2.172 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.3203, allocations: 0 / 0.797 GB, free: 2.172 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.284e-06/0.3203, allocations: 0 / 0.797 GB, free: 2.172 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.814e-06/0.3203, allocations: 0 / 0.797 GB, free: 2.172 MB / 0.6075 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.00119/0.3215, allocations: 0.6629 MB / 0.7976 GB, free: 1.461 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.935e-05/0.3215, allocations: 8.031 kB / 0.7976 GB, free: 1.453 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000993/0.3225, allocations: 164.2 kB / 0.7978 GB, free: 1.293 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004277/0.323, allocations: 322.6 kB / 0.7981 GB, free: 0.9375 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.753e-05/0.323, allocations: 21.38 kB / 0.7981 GB, free: 0.918 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.754e-05/0.3231, allocations: 40.36 kB / 0.7982 GB, free: 0.8789 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007495/0.3239, allocations: 0.5356 MB / 0.7987 GB, free: 312 kB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.506e-05/0.3239, allocations: 3.938 kB / 0.7987 GB, free: 308 kB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.147e-05/0.3239, allocations: 12 kB / 0.7987 GB, free: 296 kB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.82e-05/0.324, allocations: 36.62 kB / 0.7987 GB, free: 256 kB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005622/0.3246, allocations: 386.3 kB / 0.7991 GB, free: 15.88 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002558/0.3271, allocations: 2.415 MB / 0.8015 GB, free: 13.24 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005572/0.3277, allocations: 262.5 kB / 0.8017 GB, free: 12.97 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001635/0.3279, allocations: 108.8 kB / 0.8018 GB, free: 12.86 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 1.457e-05/0.3279, allocations: 4 kB / 0.8018 GB, free: 12.86 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.839e-05/0.3279, allocations: 34.5 kB / 0.8019 GB, free: 12.82 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=20): time 2.385e-06/0.328, allocations: 4 kB / 0.8019 GB, free: 12.81 MB / 0.6231 GB Notification: Performance of matching and sorting (n=23): time 0.002201/0.3302, allocations: 1.129 MB / 0.803 GB, free: 11.59 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.877e-05/0.3302, allocations: 51.41 kB / 0.803 GB, free: 11.52 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003024/0.3306, allocations: 308.4 kB / 0.8033 GB, free: 11.21 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 3.317e-05/0.3306, allocations: 33.7 kB / 0.8033 GB, free: 11.18 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.000155/0.3308, allocations: 227.5 kB / 0.8036 GB, free: 10.95 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 6.704e-05/0.3308, allocations: 86.83 kB / 0.8036 GB, free: 10.86 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.107e-05/0.3309, allocations: 29.7 kB / 0.8037 GB, free: 10.82 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001366/0.331, allocations: 342.8 kB / 0.804 GB, free: 10.48 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001614/0.3312, allocations: 104.6 kB / 0.8041 GB, free: 10.38 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002213/0.3314, allocations: 187.8 kB / 0.8043 GB, free: 10.15 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004042/0.3318, allocations: 319.4 kB / 0.8046 GB, free: 9.805 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.402e-06/0.3319, allocations: 4 kB / 0.8046 GB, free: 9.801 MB / 0.6231 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0007423/0.3326, allocations: 434 kB / 0.805 GB, free: 9.363 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.077e-05/0.3326, allocations: 16 kB / 0.805 GB, free: 9.348 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.556e-06/0.3327, allocations: 4 kB / 0.805 GB, free: 9.344 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003497/0.333, allocations: 94.5 kB / 0.8051 GB, free: 9.242 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002943/0.3333, allocations: 63.91 kB / 0.8052 GB, free: 9.18 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003184/0.3365, allocations: 4.075 MB / 0.8091 GB, free: 4.699 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002829/0.3368, allocations: 11.98 kB / 0.8092 GB, free: 4.688 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.366e-05/0.3368, allocations: 12 kB / 0.8092 GB, free: 4.676 MB / 0.6231 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.0002568/0.3371, allocations: 185.8 kB / 0.8093 GB, free: 4.484 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.14e-05/0.3372, allocations: 27.86 kB / 0.8094 GB, free: 4.457 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.224e-05/0.3373, allocations: 38.3 kB / 0.8094 GB, free: 4.422 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.596e-06/0.3373, allocations: 4 kB / 0.8094 GB, free: 4.418 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.546e-06/0.3373, allocations: 0 / 0.8094 GB, free: 4.418 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.313e-06/0.3373, allocations: 4 kB / 0.8094 GB, free: 4.414 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005147/0.3378, allocations: 401.3 kB / 0.8098 GB, free: 3.973 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.056e-06/0.3378, allocations: 0 / 0.8098 GB, free: 3.973 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001813/0.338, allocations: 39.91 kB / 0.8098 GB, free: 3.934 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000292/0.3383, allocations: 90.5 kB / 0.8099 GB, free: 3.836 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.701e-05/0.3384, allocations: 4 kB / 0.8099 GB, free: 3.832 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003284/0.3416, allocations: 4.076 MB / 0.8139 GB, free: 15.36 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.3417, allocations: 0 / 0.8139 GB, free: 15.36 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008731/0.3425, allocations: 0.5622 MB / 0.8145 GB, free: 14.77 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001449/0.3427, allocations: 128.7 kB / 0.8146 GB, free: 14.62 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.657e-05/0.3427, allocations: 4 kB / 0.8146 GB, free: 14.62 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002066/0.343, allocations: 15.98 kB / 0.8146 GB, free: 14.61 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.273e-05/0.343, allocations: 15.98 kB / 0.8146 GB, free: 14.59 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.396e-05/0.3431, allocations: 8.062 kB / 0.8146 GB, free: 14.58 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0002443/0.3433, allocations: 211.1 kB / 0.8148 GB, free: 14.38 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.7e-07/0.3433, allocations: 3.938 kB / 0.8148 GB, free: 14.38 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0006145/0.3439, allocations: 100 kB / 0.8149 GB, free: 14.28 MB / 0.6387 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.0001659/0.3441, allocations: 107.8 kB / 0.815 GB, free: 14.16 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0009317/0.345, allocations: 0.6052 MB / 0.8156 GB, free: 13.52 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 4.89e-06/0.3451, allocations: 0 / 0.8156 GB, free: 13.52 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0005283/0.3456, allocations: 479.3 kB / 0.8161 GB, free: 13.02 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005338/0.3461, allocations: 81.83 kB / 0.8162 GB, free: 12.94 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001384/0.3475, allocations: 0.9047 MB / 0.817 GB, free: 12.01 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005094/0.3481, allocations: 0.8309 MB / 0.8178 GB, free: 11.15 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.000201/0.3483, allocations: 58.94 kB / 0.8179 GB, free: 11.09 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.324e-05/0.3484, allocations: 23.44 kB / 0.8179 GB, free: 11.07 MB / 0.6387 GB Notification: Performance of SimCode: time 5.81e-07/0.3484, allocations: 0 / 0.8179 GB, free: 11.07 MB / 0.6387 GB Notification: Performance of Templates: time 0.00893/0.3573, allocations: 4.224 MB / 0.8221 GB, free: 6.887 MB / 0.6387 GB make -j1 -f Buildings_8_Buildings.Electrical.DC.Lines.Examples.RCModel.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Electrical.DC.Lines.Examples.RCModel.pipe ; mkfifo Buildings_8_Buildings.Electrical.DC.Lines.Examples.RCModel.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.DC.Lines.Examples.RCModel.pipe >> ../files/Buildings_8_Buildings.Electrical.DC.Lines.Examples.RCModel.sim & ./Buildings_8_Buildings.Electrical.DC.Lines.Examples.RCModel -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.DC.Lines.Examples.RCModel.pipe 2>&1) Environment - environmentSimulation: