Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.DC.Lines.Examples.RCModel.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Electrical.DC.Lines.Examples.RCModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.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_8.0.0_Buildings.Electrical.DC.Lines.Examples.RCModel") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.687/1.687, allocations: 287.4 MB / 303.2 MB, free: 8.137 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.001078/0.001078, allocations: 185.5 kB / 371.8 MB, free: 10.8 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.676/1.676, allocations: 205.4 MB / 0.6305 GB, free: 10.55 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.0008091/0.0008089, allocations: 96.86 kB / 0.7438 GB, free: 6.531 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000561/0.000561, allocations: 13.14 kB / 0.8667 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2662/0.2668, allocations: 115.3 MB / 0.9793 GB, free: 28.18 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.RCModel): time 0.003847/0.2707, allocations: 3.806 MB / 0.983 GB, free: 24.35 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002485/0.2732, allocations: 1.739 MB / 0.9847 GB, free: 22.6 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001999/0.2735, allocations: 7.938 kB / 0.9847 GB, free: 22.59 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0002362/0.2737, allocations: 75.42 kB / 0.9848 GB, free: 22.52 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0005149/0.2742, allocations: 214.9 kB / 0.985 GB, free: 22.31 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005481/0.2748, allocations: 181.3 kB / 0.9852 GB, free: 22.13 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0005625/0.2754, allocations: 0.693 MB / 0.9858 GB, free: 21.44 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00043/0.2758, allocations: 431.4 kB / 0.9862 GB, free: 20.99 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000183/0.276, allocations: 191.3 kB / 0.9864 GB, free: 20.8 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003478/0.2763, allocations: 255.1 kB / 0.9867 GB, free: 20.55 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 4.468e-05/0.2764, allocations: 20 kB / 0.9867 GB, free: 20.53 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002725/0.2767, allocations: 127.8 kB / 0.9868 GB, free: 20.41 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001146/0.2768, allocations: 135.6 kB / 0.9869 GB, free: 20.27 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 8.071e-05/0.2769, allocations: 97.52 kB / 0.987 GB, free: 20.17 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0004009/0.2773, allocations: 459 kB / 0.9875 GB, free: 19.72 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 7.063e-06/0.2773, allocations: 0 / 0.9875 GB, free: 19.72 MB / 0.6198 GB Notification: Performance of FrontEnd: time 3.125e-06/0.2773, allocations: 0 / 0.9875 GB, free: 19.72 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 9.067e-06/0.2773, allocations: 0 / 0.9875 GB, free: 19.72 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.0009308/0.2783, allocations: 0.6551 MB / 0.9881 GB, free: 19.02 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.727e-05/0.2783, allocations: 8.031 kB / 0.9881 GB, free: 19.01 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008641/0.2792, allocations: 156.2 kB / 0.9883 GB, free: 18.86 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003862/0.2796, allocations: 326.5 kB / 0.9886 GB, free: 18.5 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.964e-05/0.2797, allocations: 29.31 kB / 0.9886 GB, free: 18.47 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.635e-05/0.2797, allocations: 28.38 kB / 0.9886 GB, free: 18.44 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000687/0.2804, allocations: 0.5356 MB / 0.9892 GB, free: 17.87 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.458e-05/0.2805, allocations: 0 / 0.9892 GB, free: 17.87 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.848e-05/0.2805, allocations: 16 kB / 0.9892 GB, free: 17.86 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.482e-05/0.2806, allocations: 28.64 kB / 0.9892 GB, free: 17.83 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004871/0.2811, allocations: 386.2 kB / 0.9896 GB, free: 17.45 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001936/0.283, allocations: 2.427 MB / 0.9919 GB, free: 14.8 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004662/0.2835, allocations: 266.4 kB / 0.9922 GB, free: 14.53 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001405/0.2836, allocations: 108.8 kB / 0.9923 GB, free: 14.42 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.636e-05/0.2837, allocations: 4 kB / 0.9923 GB, free: 14.41 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.43e-05/0.2837, allocations: 42.56 kB / 0.9923 GB, free: 14.36 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=20): time 2.986e-06/0.2837, allocations: 3.984 kB / 0.9923 GB, free: 14.36 MB / 0.6198 GB Notification: Performance of matching and sorting (n=23): time 0.001895/0.2856, allocations: 1.115 MB / 0.9934 GB, free: 13.15 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.154e-05/0.2857, allocations: 59.41 kB / 0.9935 GB, free: 13.08 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002421/0.2859, allocations: 296.5 kB / 0.9938 GB, free: 12.78 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.9e-05/0.2859, allocations: 29.7 kB / 0.9938 GB, free: 12.75 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 9.644e-05/0.286, allocations: 235.5 kB / 0.994 GB, free: 12.51 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 4.532e-05/0.2861, allocations: 82.78 kB / 0.9941 GB, free: 12.43 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.26e-05/0.2861, allocations: 8 kB / 0.9941 GB, free: 12.42 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.604e-05/0.2862, allocations: 346.7 kB / 0.9944 GB, free: 12.07 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001337/0.2863, allocations: 96.61 kB / 0.9945 GB, free: 11.98 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001627/0.2865, allocations: 191.7 kB / 0.9947 GB, free: 11.75 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000307/0.2868, allocations: 320.4 kB / 0.995 GB, free: 11.4 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.2868, allocations: 4 kB / 0.995 GB, free: 11.4 MB / 0.6198 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0005905/0.2874, allocations: 433.9 kB / 0.9954 GB, free: 10.96 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.894e-05/0.2875, allocations: 8 kB / 0.9954 GB, free: 10.95 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.496e-06/0.2875, allocations: 4 kB / 0.9954 GB, free: 10.95 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003559/0.2878, allocations: 94.69 kB / 0.9955 GB, free: 10.85 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000248/0.2881, allocations: 63.91 kB / 0.9956 GB, free: 10.79 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002204/0.2903, allocations: 4.075 MB / 0.9996 GB, free: 6.305 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002088/0.2905, allocations: 12 kB / 0.9996 GB, free: 6.293 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.992e-05/0.2906, allocations: 12.16 kB / 0.9996 GB, free: 6.281 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.0001716/0.2907, allocations: 187 kB / 0.9998 GB, free: 6.09 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.765e-05/0.2908, allocations: 27.72 kB / 0.9998 GB, free: 6.062 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.389e-05/0.2908, allocations: 42.31 kB / 0.9998 GB, free: 6.02 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-06/0.2909, allocations: 3.984 kB / 0.9999 GB, free: 6.016 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.923e-06/0.2909, allocations: 0 / 0.9999 GB, free: 6.016 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001002/0.291, allocations: 120.7 kB / 1 GB, free: 5.879 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.608e-05/0.291, allocations: 7.984 kB / 1 GB, free: 5.871 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001795/0.2912, allocations: 16 kB / 1 GB, free: 5.855 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.36e-05/0.2913, allocations: 19.91 kB / 1 GB, free: 5.836 MB / 0.6198 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0007728/0.292, allocations: 435.2 kB / 1 GB, free: 5.395 MB / 0.6198 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0004314/0.2925, allocations: 0.5215 MB / 1.001 GB, free: 4.855 MB / 0.6198 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001132/0.2926, allocations: 95.8 kB / 1.001 GB, free: 4.762 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001556/0.2928, allocations: 211.2 kB / 1.001 GB, free: 4.555 MB / 0.6198 GB Notification: Performance of Backend: time 6.81e-07/0.2928, allocations: 0 / 1.001 GB, free: 4.555 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001063/0.2938, allocations: 0.6664 MB / 1.002 GB, free: 3.844 MB / 0.6198 GB Notification: Performance of SimCode: time 0.001344/0.2952, allocations: 1.37 MB / 1.003 GB, free: 2.434 MB / 0.6198 GB Notification: Performance of Templates: time 0.009417/0.3046, allocations: 5.245 MB / 1.008 GB, free: 13.22 MB / 0.6355 GB make -j1 -f Buildings_8.0.0_Buildings.Electrical.DC.Lines.Examples.RCModel.makefile (rm -f Buildings_8.0.0_Buildings.Electrical.DC.Lines.Examples.RCModel.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.DC.Lines.Examples.RCModel.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.DC.Lines.Examples.RCModel.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.DC.Lines.Examples.RCModel.sim & ./Buildings_8.0.0_Buildings.Electrical.DC.Lines.Examples.RCModel -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Electrical.DC.Lines.Examples.RCModel.pipe 2>&1)