Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.DC.Lines.Examples.RCModel.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Electrical.DC.Lines.Examples.RCModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.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.8.0.x_Buildings.Electrical.DC.Lines.Examples.RCModel") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.732/1.732, allocations: 288.4 MB / 303.7 MB, free: 8.055 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001261/0.001261, allocations: 179.4 kB / 372.3 MB, free: 10.13 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.719/1.719, allocations: 205.4 MB / 0.631 GB, free: 9.898 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009317/0.0009318, allocations: 86.3 kB / 0.7444 GB, free: 5.812 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004477/0.0004482, allocations: 11.5 kB / 0.8675 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2302/0.2307, allocations: 115.3 MB / 0.9801 GB, free: 27.36 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.RCModel): time 0.003952/0.2347, allocations: 3.806 MB / 0.9838 GB, free: 23.53 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002356/0.2371, allocations: 1.747 MB / 0.9856 GB, free: 21.77 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003055/0.2374, allocations: 4 kB / 0.9856 GB, free: 21.77 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0002702/0.2377, allocations: 75.42 kB / 0.9856 GB, free: 21.7 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.000631/0.2383, allocations: 230.9 kB / 0.9858 GB, free: 21.47 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006229/0.239, allocations: 218.4 kB / 0.9861 GB, free: 21.26 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0006794/0.2397, allocations: 0.6852 MB / 0.9867 GB, free: 20.57 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000481/0.2402, allocations: 435.5 kB / 0.9871 GB, free: 20.12 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000298/0.2405, allocations: 199.2 kB / 0.9873 GB, free: 19.92 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004305/0.2409, allocations: 259 kB / 0.9876 GB, free: 19.67 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 5.38e-05/0.241, allocations: 23.94 kB / 0.9876 GB, free: 19.64 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004376/0.2414, allocations: 287.4 kB / 0.9879 GB, free: 19.36 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001244/0.2415, allocations: 131.6 kB / 0.988 GB, free: 19.23 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001782/0.2417, allocations: 208.8 kB / 0.9882 GB, free: 19.02 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0004568/0.2422, allocations: 475 kB / 0.9887 GB, free: 18.56 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.05e-06/0.2422, allocations: 4 kB / 0.9887 GB, free: 18.55 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.653e-06/0.2422, allocations: 0 / 0.9887 GB, free: 18.55 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.517e-05/0.2422, allocations: 0 / 0.9887 GB, free: 18.55 MB / 0.6198 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.001031/0.2433, allocations: 0.659 MB / 0.9893 GB, free: 17.85 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.566e-05/0.2433, allocations: 8.031 kB / 0.9893 GB, free: 17.84 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000925/0.2443, allocations: 152.2 kB / 0.9895 GB, free: 17.69 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004153/0.2447, allocations: 330.6 kB / 0.9898 GB, free: 17.33 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.594e-05/0.2447, allocations: 25.36 kB / 0.9898 GB, free: 17.3 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.407e-05/0.2448, allocations: 32.38 kB / 0.9898 GB, free: 17.27 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006758/0.2455, allocations: 0.5356 MB / 0.9903 GB, free: 16.7 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.436e-05/0.2455, allocations: 3.938 kB / 0.9903 GB, free: 16.7 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.844e-05/0.2455, allocations: 12 kB / 0.9904 GB, free: 16.68 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.39e-05/0.2456, allocations: 32.64 kB / 0.9904 GB, free: 16.65 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005106/0.2461, allocations: 386.3 kB / 0.9908 GB, free: 16.27 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002142/0.2483, allocations: 2.415 MB / 0.9931 GB, free: 13.63 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004402/0.2487, allocations: 264.5 kB / 0.9934 GB, free: 13.37 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000135/0.2489, allocations: 108.8 kB / 0.9935 GB, free: 13.26 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.306e-05/0.2489, allocations: 4 kB / 0.9935 GB, free: 13.25 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.038e-05/0.2489, allocations: 38.5 kB / 0.9935 GB, free: 13.21 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=20): time 2.024e-06/0.2489, allocations: 0 / 0.9935 GB, free: 13.21 MB / 0.6198 GB Notification: Performance of matching and sorting (n=23): time 0.00182/0.2507, allocations: 1.127 MB / 0.9946 GB, free: 11.98 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.434e-05/0.2508, allocations: 59.39 kB / 0.9947 GB, free: 11.91 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002426/0.251, allocations: 296.5 kB / 0.995 GB, free: 11.62 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.75e-05/0.2511, allocations: 29.7 kB / 0.995 GB, free: 11.58 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 9.359e-05/0.2512, allocations: 243.5 kB / 0.9952 GB, free: 11.34 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 4.312e-05/0.2512, allocations: 82.78 kB / 0.9953 GB, free: 11.26 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.308e-05/0.2512, allocations: 8 kB / 0.9953 GB, free: 11.25 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.331e-05/0.2513, allocations: 334.8 kB / 0.9956 GB, free: 10.91 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001366/0.2514, allocations: 100.6 kB / 0.9957 GB, free: 10.81 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001686/0.2516, allocations: 187.8 kB / 0.9959 GB, free: 10.59 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003153/0.2519, allocations: 310 kB / 0.9962 GB, free: 10.25 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.497e-06/0.252, allocations: 4 kB / 0.9962 GB, free: 10.25 MB / 0.6198 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006044/0.2526, allocations: 437.8 kB / 0.9966 GB, free: 9.809 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.79e-05/0.2526, allocations: 8 kB / 0.9966 GB, free: 9.801 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.534e-06/0.2526, allocations: 4.344 kB / 0.9966 GB, free: 9.797 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003145/0.2529, allocations: 98.5 kB / 0.9967 GB, free: 9.691 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000252/0.2532, allocations: 63.89 kB / 0.9968 GB, free: 9.629 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002106/0.2553, allocations: 4.083 MB / 1.001 GB, free: 5.141 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002025/0.2555, allocations: 8 kB / 1.001 GB, free: 5.133 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.86e-05/0.2555, allocations: 12 kB / 1.001 GB, free: 5.121 MB / 0.6198 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 (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 1,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001655/0.2557, allocations: 189.8 kB / 1.001 GB, free: 4.926 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.986e-05/0.2558, allocations: 27.72 kB / 1.001 GB, free: 4.898 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.685e-05/0.2558, allocations: 38.31 kB / 1.001 GB, free: 4.859 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.2558, allocations: 0 / 1.001 GB, free: 4.859 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.486e-06/0.2559, allocations: 7.984 kB / 1.001 GB, free: 4.852 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.075e-06/0.2559, allocations: 0 / 1.001 GB, free: 4.852 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003465/0.2562, allocations: 401.3 kB / 1.001 GB, free: 4.41 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/0.2562, allocations: 0 / 1.001 GB, free: 4.41 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001767/0.2564, allocations: 35.92 kB / 1.001 GB, free: 4.375 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002607/0.2567, allocations: 94.5 kB / 1.002 GB, free: 4.273 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.471e-05/0.2567, allocations: 0 / 1.002 GB, free: 4.273 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002015/0.2587, allocations: 4.087 MB / 1.006 GB, free: 15.79 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.2587, allocations: 0 / 1.006 GB, free: 15.79 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007639/0.2595, allocations: 0.5623 MB / 1.006 GB, free: 15.2 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001416/0.2597, allocations: 132.6 kB / 1.006 GB, free: 15.05 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.682e-05/0.2597, allocations: 0 / 1.006 GB, free: 15.05 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001908/0.2599, allocations: 15.98 kB / 1.006 GB, free: 15.04 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.863e-05/0.26, allocations: 19.97 kB / 1.006 GB, free: 15.02 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.355e-05/0.26, allocations: 7.938 kB / 1.006 GB, free: 15.01 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0002015/0.2602, allocations: 207.1 kB / 1.006 GB, free: 14.81 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.51e-07/0.2602, allocations: 4.062 kB / 1.006 GB, free: 14.8 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0004347/0.2606, allocations: 96 kB / 1.007 GB, free: 14.71 MB / 0.6355 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 (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 1,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001357/0.2608, allocations: 107.2 kB / 1.007 GB, free: 14.59 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0008252/0.2616, allocations: 0.6017 MB / 1.007 GB, free: 13.95 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.2616, allocations: 0 / 1.007 GB, free: 13.95 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0004762/0.2621, allocations: 472.3 kB / 1.008 GB, free: 13.45 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004899/0.2626, allocations: 68.55 kB / 1.008 GB, free: 13.39 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001236/0.2639, allocations: 0.8695 MB / 1.009 GB, free: 12.5 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004136/0.2643, allocations: 0.8309 MB / 1.009 GB, free: 11.64 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0002202/0.2645, allocations: 58.92 kB / 1.009 GB, free: 11.58 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.401e-05/0.2646, allocations: 27.44 kB / 1.009 GB, free: 11.55 MB / 0.6355 GB Notification: Performance of SimCode: time 2e-07/0.2646, allocations: 0 / 1.009 GB, free: 11.55 MB / 0.6355 GB Notification: Performance of Templates: time 0.008446/0.273, allocations: 4.149 MB / 1.014 GB, free: 7.449 MB / 0.6355 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Electrical.DC.Lines.Examples.RCModel.makefile (rm -f Buildings_maint.8.0.x_Buildings.Electrical.DC.Lines.Examples.RCModel.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.DC.Lines.Examples.RCModel.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.DC.Lines.Examples.RCModel.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.DC.Lines.Examples.RCModel.sim & ./Buildings_maint.8.0.x_Buildings.Electrical.DC.Lines.Examples.RCModel -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Electrical.DC.Lines.Examples.RCModel.pipe 2>&1)