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.672/1.672, allocations: 287.5 MB / 302.6 MB, free: 8.219 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.001154/0.001155, allocations: 186.2 kB / 371.2 MB, free: 10.84 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.774/1.774, allocations: 205.4 MB / 0.6299 GB, free: 10.61 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.000809/0.000809, allocations: 100.1 kB / 0.7432 GB, free: 6.598 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003987/0.0003987, allocations: 11 kB / 0.8661 GB, free: 140.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2462/0.2466, allocations: 115.3 MB / 0.9787 GB, free: 28.21 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.RCModel): time 0.005015/0.2517, allocations: 3.81 MB / 0.9824 GB, free: 24.39 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.003326/0.255, allocations: 1.735 MB / 0.9841 GB, free: 22.64 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000277/0.2554, allocations: 11.94 kB / 0.9841 GB, free: 22.63 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0002812/0.2557, allocations: 71.41 kB / 0.9842 GB, free: 22.56 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0006677/0.2563, allocations: 210.9 kB / 0.9844 GB, free: 22.35 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006485/0.257, allocations: 181 kB / 0.9845 GB, free: 22.18 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0007741/0.2578, allocations: 0.6891 MB / 0.9852 GB, free: 21.48 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005653/0.2584, allocations: 431.5 kB / 0.9856 GB, free: 21.04 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002837/0.2587, allocations: 203.2 kB / 0.9858 GB, free: 20.84 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005038/0.2592, allocations: 251.1 kB / 0.9861 GB, free: 20.59 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 6.219e-05/0.2593, allocations: 20 kB / 0.9861 GB, free: 20.57 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003589/0.2596, allocations: 127.8 kB / 0.9862 GB, free: 20.45 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001536/0.2598, allocations: 127.6 kB / 0.9863 GB, free: 20.32 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001028/0.2599, allocations: 97.52 kB / 0.9864 GB, free: 20.22 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0005552/0.2605, allocations: 459 kB / 0.9869 GB, free: 19.77 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 7.644e-06/0.2605, allocations: 0 / 0.9869 GB, free: 19.77 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.936e-06/0.2605, allocations: 0 / 0.9869 GB, free: 19.77 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 8.235e-06/0.2605, allocations: 0 / 0.9869 GB, free: 19.77 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.001277/0.2618, allocations: 0.6552 MB / 0.9875 GB, free: 19.07 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.68e-05/0.2619, allocations: 16.03 kB / 0.9875 GB, free: 19.05 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001173/0.2631, allocations: 148.2 kB / 0.9876 GB, free: 18.91 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004843/0.2636, allocations: 334.5 kB / 0.988 GB, free: 18.54 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.21e-05/0.2636, allocations: 25.31 kB / 0.988 GB, free: 18.51 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.906e-05/0.2637, allocations: 32.38 kB / 0.988 GB, free: 18.48 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009281/0.2646, allocations: 0.5317 MB / 0.9885 GB, free: 17.91 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.849e-05/0.2647, allocations: 0 / 0.9885 GB, free: 17.91 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.916e-05/0.2647, allocations: 20 kB / 0.9886 GB, free: 17.89 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.242e-05/0.2648, allocations: 32.64 kB / 0.9886 GB, free: 17.86 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007378/0.2655, allocations: 390.2 kB / 0.989 GB, free: 17.48 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002703/0.2683, allocations: 2.407 MB / 0.9913 GB, free: 14.85 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006118/0.2689, allocations: 272.7 kB / 0.9916 GB, free: 14.57 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001913/0.2691, allocations: 112.8 kB / 0.9917 GB, free: 14.46 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.472e-05/0.2691, allocations: 0 / 0.9917 GB, free: 14.46 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.447e-05/0.2692, allocations: 42.55 kB / 0.9917 GB, free: 14.41 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=20): time 1.804e-06/0.2692, allocations: 0 / 0.9917 GB, free: 14.41 MB / 0.6198 GB Notification: Performance of matching and sorting (n=23): time 0.002491/0.2717, allocations: 1.124 MB / 0.9928 GB, free: 13.19 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.549e-05/0.2717, allocations: 55.41 kB / 0.9929 GB, free: 13.12 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003367/0.2721, allocations: 308.4 kB / 0.9932 GB, free: 12.81 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.339e-05/0.2721, allocations: 29.7 kB / 0.9932 GB, free: 12.78 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001129/0.2722, allocations: 239.5 kB / 0.9934 GB, free: 12.54 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 5.789e-05/0.2723, allocations: 78.84 kB / 0.9935 GB, free: 12.46 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.761e-05/0.2723, allocations: 12 kB / 0.9935 GB, free: 12.45 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.795e-05/0.2724, allocations: 342.8 kB / 0.9938 GB, free: 12.11 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002009/0.2726, allocations: 96.61 kB / 0.9939 GB, free: 12.01 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002335/0.2729, allocations: 187.7 kB / 0.9941 GB, free: 11.79 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004587/0.2733, allocations: 320.4 kB / 0.9944 GB, free: 11.44 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.2733, allocations: 0 / 0.9944 GB, free: 11.44 MB / 0.6198 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0008781/0.2742, allocations: 437.9 kB / 0.9948 GB, free: 11 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.757e-05/0.2743, allocations: 4 kB / 0.9948 GB, free: 10.99 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.296e-06/0.2743, allocations: 4 kB / 0.9948 GB, free: 10.99 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004275/0.2747, allocations: 98.69 kB / 0.9949 GB, free: 10.88 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003499/0.2751, allocations: 59.91 kB / 0.995 GB, free: 10.82 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002689/0.2778, allocations: 4.075 MB / 0.999 GB, free: 6.344 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002788/0.2781, allocations: 12.02 kB / 0.999 GB, free: 6.332 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.693e-05/0.2781, allocations: 20 kB / 0.999 GB, free: 6.312 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.0002102/0.2783, allocations: 183 kB / 0.9992 GB, free: 6.125 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.862e-05/0.2784, allocations: 27.72 kB / 0.9992 GB, free: 6.098 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.558e-05/0.2785, allocations: 42.41 kB / 0.9992 GB, free: 6.055 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.047e-06/0.2785, allocations: 4 kB / 0.9992 GB, free: 6.051 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.536e-06/0.2786, allocations: 0 / 0.9992 GB, free: 6.051 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.2786, allocations: 0 / 0.9992 GB, free: 6.051 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004842/0.2791, allocations: 405.3 kB / 0.9996 GB, free: 5.605 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.2791, allocations: 0 / 0.9996 GB, free: 5.605 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002375/0.2793, allocations: 35.97 kB / 0.9997 GB, free: 5.57 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003532/0.2797, allocations: 98.52 kB / 0.9998 GB, free: 5.465 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.968e-05/0.2797, allocations: 4 kB / 0.9998 GB, free: 5.461 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002597/0.2823, allocations: 4.068 MB / 1.004 GB, free: 0.9922 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/0.2823, allocations: 0 / 1.004 GB, free: 0.9922 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009292/0.2833, allocations: 0.552 MB / 1.004 GB, free: 424 kB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000132/0.2834, allocations: 132.6 kB / 1.004 GB, free: 272 kB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.897e-05/0.2835, allocations: 12.12 kB / 1.004 GB, free: 260 kB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002665/0.2838, allocations: 11.98 kB / 1.004 GB, free: 248 kB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.467e-05/0.2838, allocations: 15.98 kB / 1.004 GB, free: 232 kB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.877e-05/0.2839, allocations: 8 kB / 1.004 GB, free: 224 kB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0002309/0.2841, allocations: 207.1 kB / 1.005 GB, free: 20 kB / 0.6198 GB Notification: Performance of sort global known variables: time 1.9e-07/0.2841, allocations: 0 / 1.005 GB, free: 20 kB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0006792/0.2848, allocations: 100 kB / 1.005 GB, free: 15.92 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.0001693/0.285, allocations: 107.2 kB / 1.005 GB, free: 15.8 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.001105/0.2861, allocations: 0.6016 MB / 1.005 GB, free: 15.16 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.776e-06/0.2861, allocations: 4 kB / 1.005 GB, free: 15.16 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0006419/0.2868, allocations: 476 kB / 1.006 GB, free: 14.66 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006772/0.2875, allocations: 78.62 kB / 1.006 GB, free: 14.58 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001564/0.289, allocations: 0.8586 MB / 1.007 GB, free: 13.7 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005196/0.2896, allocations: 0.8309 MB / 1.008 GB, free: 12.85 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0003179/0.2899, allocations: 58.88 kB / 1.008 GB, free: 12.79 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.619e-05/0.29, allocations: 23.44 kB / 1.008 GB, free: 12.77 MB / 0.6355 GB Notification: Performance of SimCode: time 2.7e-07/0.29, allocations: 0 / 1.008 GB, free: 12.77 MB / 0.6355 GB Notification: Performance of Templates: time 0.01092/0.3009, allocations: 4.095 MB / 1.012 GB, free: 8.715 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)