Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Electrical.DC.Lines.Examples.RCModel.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Electrical.DC.Lines.Examples.RCModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Electrical.DC.Lines.Examples.RCModel") translateModel(Buildings.Electrical.DC.Lines.Examples.RCModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Electrical.DC.Lines.Examples.RCModel") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.316/2.316, allocations: 251.3 MB / 266.2 MB, free: 11.52 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001347/0.001347, allocations: 182.6 kB / 325.8 MB, free: 2.789 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.587/2.587, allocations: 205.4 MB / 0.5767 GB, free: 20.78 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009815/0.0009811, allocations: 94.23 kB / 0.6812 GB, free: 13.56 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000474/0.0004742, allocations: 12.09 kB / 0.7953 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2108/0.2113, allocations: 106.3 MB / 0.899 GB, free: 65.41 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.RCModel): time 0.005878/0.2173, allocations: 3.818 MB / 0.9028 GB, free: 61.57 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.005669/0.223, allocations: 1.755 MB / 0.9045 GB, free: 59.81 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005363/0.2236, allocations: 7.938 kB / 0.9045 GB, free: 59.8 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0004607/0.2241, allocations: 75.48 kB / 0.9045 GB, free: 59.73 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.001218/0.2254, allocations: 206.8 kB / 0.9047 GB, free: 59.52 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.002124/0.2275, allocations: 193.6 kB / 0.9049 GB, free: 59.34 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.001671/0.2292, allocations: 0.6813 MB / 0.9056 GB, free: 58.65 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001335/0.2306, allocations: 396.9 kB / 0.906 GB, free: 58.24 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007242/0.2314, allocations: 199.2 kB / 0.9062 GB, free: 58.04 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008893/0.2323, allocations: 251.1 kB / 0.9064 GB, free: 57.8 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 0.0004088/0.2328, allocations: 20 kB / 0.9064 GB, free: 57.78 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008119/0.2336, allocations: 127.8 kB / 0.9065 GB, free: 57.65 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0003173/0.234, allocations: 127.7 kB / 0.9067 GB, free: 57.53 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0002562/0.2342, allocations: 97.52 kB / 0.9068 GB, free: 57.43 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.001242/0.2355, allocations: 463 kB / 0.9072 GB, free: 56.97 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 7.404e-06/0.2355, allocations: 0 / 0.9072 GB, free: 56.97 MB / 0.6042 GB Notification: Performance of FrontEnd: time 3.055e-06/0.2356, allocations: 0 / 0.9072 GB, free: 56.97 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.458e-05/0.2356, allocations: 4 kB / 0.9072 GB, free: 56.97 MB / 0.6042 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.002416/0.2381, allocations: 0.6591 MB / 0.9078 GB, free: 56.26 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.682e-05/0.2382, allocations: 16.02 kB / 0.9079 GB, free: 56.24 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003437/0.2416, allocations: 144.3 kB / 0.908 GB, free: 56.1 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001359/0.2431, allocations: 322.6 kB / 0.9083 GB, free: 55.75 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.957e-05/0.2432, allocations: 29.38 kB / 0.9083 GB, free: 55.72 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001223/0.2433, allocations: 32.36 kB / 0.9084 GB, free: 55.69 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001553/0.2449, allocations: 0.5317 MB / 0.9089 GB, free: 55.12 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.246e-05/0.2449, allocations: 4 kB / 0.9089 GB, free: 55.11 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.338e-05/0.245, allocations: 15.98 kB / 0.9089 GB, free: 55.1 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.387e-05/0.2451, allocations: 32.64 kB / 0.9089 GB, free: 55.06 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008844/0.246, allocations: 386.3 kB / 0.9093 GB, free: 54.69 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003315/0.2493, allocations: 2.423 MB / 0.9117 GB, free: 52.04 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007528/0.2501, allocations: 255.5 kB / 0.9119 GB, free: 51.79 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002348/0.2504, allocations: 116.8 kB / 0.912 GB, free: 51.67 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.307e-05/0.2504, allocations: 4 kB / 0.912 GB, free: 51.66 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.11e-05/0.2504, allocations: 34.5 kB / 0.9121 GB, free: 51.62 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=20): time 2.896e-06/0.2504, allocations: 0 / 0.9121 GB, free: 51.62 MB / 0.6042 GB Notification: Performance of matching and sorting (n=23): time 0.003131/0.2536, allocations: 1.13 MB / 0.9132 GB, free: 50.39 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.455e-05/0.2537, allocations: 51.41 kB / 0.9132 GB, free: 50.33 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003735/0.254, allocations: 300.4 kB / 0.9135 GB, free: 50.03 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.946e-05/0.2541, allocations: 33.7 kB / 0.9135 GB, free: 49.99 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001285/0.2542, allocations: 223.6 kB / 0.9137 GB, free: 49.77 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 7.386e-05/0.2543, allocations: 86.83 kB / 0.9138 GB, free: 49.68 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.088e-05/0.2543, allocations: 4 kB / 0.9138 GB, free: 49.68 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.692e-05/0.2544, allocations: 342.8 kB / 0.9142 GB, free: 49.34 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002534/0.2547, allocations: 104.6 kB / 0.9143 GB, free: 49.23 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002961/0.255, allocations: 188.4 kB / 0.9144 GB, free: 49.01 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003103/0.2553, allocations: 125.1 kB / 0.9146 GB, free: 48.89 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.376e-06/0.2553, allocations: 0 / 0.9146 GB, free: 48.89 MB / 0.6042 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.001177/0.2565, allocations: 447.5 kB / 0.915 GB, free: 48.44 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.247e-05/0.2566, allocations: 4 kB / 0.915 GB, free: 48.43 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.112e-05/0.2566, allocations: 4.344 kB / 0.915 GB, free: 48.43 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005302/0.2571, allocations: 98.44 kB / 0.9151 GB, free: 48.32 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004825/0.2576, allocations: 63.91 kB / 0.9152 GB, free: 48.26 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003204/0.2609, allocations: 4.072 MB / 0.9191 GB, free: 43.79 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004142/0.2613, allocations: 8.031 kB / 0.9191 GB, free: 43.78 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.019e-05/0.2614, allocations: 19.94 kB / 0.9192 GB, free: 43.76 MB / 0.6042 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.0002656/0.2616, allocations: 185.8 kB / 0.9193 GB, free: 43.57 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.651e-05/0.2617, allocations: 31.62 kB / 0.9194 GB, free: 43.54 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.358e-05/0.2618, allocations: 42.31 kB / 0.9194 GB, free: 43.49 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.348e-06/0.2618, allocations: 4.141 kB / 0.9194 GB, free: 43.49 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.427e-06/0.2618, allocations: 3.984 kB / 0.9194 GB, free: 43.48 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.106e-06/0.2619, allocations: 3.984 kB / 0.9194 GB, free: 43.48 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005746/0.2625, allocations: 397.3 kB / 0.9198 GB, free: 43.04 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.056e-06/0.2625, allocations: 3.938 kB / 0.9198 GB, free: 43.04 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003402/0.2628, allocations: 35.98 kB / 0.9198 GB, free: 43 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004738/0.2633, allocations: 90.5 kB / 0.9199 GB, free: 42.91 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.351e-05/0.2634, allocations: 4 kB / 0.9199 GB, free: 42.9 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003146/0.2665, allocations: 4.072 MB / 0.9239 GB, free: 38.43 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.295e-06/0.2666, allocations: 0 / 0.9239 GB, free: 38.43 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001282/0.2679, allocations: 0.5541 MB / 0.9244 GB, free: 37.85 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002001/0.2681, allocations: 128.7 kB / 0.9246 GB, free: 37.71 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.478e-05/0.2682, allocations: 8 kB / 0.9246 GB, free: 37.7 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003501/0.2685, allocations: 7.984 kB / 0.9246 GB, free: 37.69 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.219e-05/0.2686, allocations: 19.97 kB / 0.9246 GB, free: 37.67 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.503e-05/0.2687, allocations: 12 kB / 0.9246 GB, free: 37.66 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0002732/0.2689, allocations: 207.1 kB / 0.9248 GB, free: 37.46 MB / 0.6042 GB Notification: Performance of sort global known variables: time 4.11e-07/0.269, allocations: 3.938 kB / 0.9248 GB, free: 37.46 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0006134/0.2696, allocations: 96 kB / 0.9249 GB, free: 37.36 MB / 0.6042 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.0001457/0.2697, allocations: 107.2 kB / 0.925 GB, free: 37.25 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001114/0.2709, allocations: 0.6 MB / 0.9256 GB, free: 36.61 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 4.789e-06/0.2709, allocations: 4 kB / 0.9256 GB, free: 36.61 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0006691/0.2716, allocations: 476.1 kB / 0.926 GB, free: 36.11 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007656/0.2724, allocations: 80.48 kB / 0.9261 GB, free: 36.02 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001532/0.2739, allocations: 0.8608 MB / 0.927 GB, free: 35.14 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003414/0.2743, allocations: 0.827 MB / 0.9278 GB, free: 34.29 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0003512/0.2746, allocations: 58.92 kB / 0.9278 GB, free: 34.23 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.839e-05/0.2747, allocations: 23.44 kB / 0.9278 GB, free: 34.2 MB / 0.6042 GB Notification: Performance of SimCode: time 1.102e-06/0.2747, allocations: 0 / 0.9278 GB, free: 34.2 MB / 0.6042 GB Notification: Performance of Templates: time 0.01169/0.2864, allocations: 4.104 MB / 0.9319 GB, free: 30.14 MB / 0.6042 GB make -j1 -f Buildings_7.0.0_Buildings.Electrical.DC.Lines.Examples.RCModel.makefile (rm -f Buildings_7.0.0_Buildings.Electrical.DC.Lines.Examples.RCModel.pipe ; mkfifo Buildings_7.0.0_Buildings.Electrical.DC.Lines.Examples.RCModel.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Electrical.DC.Lines.Examples.RCModel.pipe >> ../files/Buildings_7.0.0_Buildings.Electrical.DC.Lines.Examples.RCModel.sim & ./Buildings_7.0.0_Buildings.Electrical.DC.Lines.Examples.RCModel -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Electrical.DC.Lines.Examples.RCModel.pipe 2>&1)