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/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.725/1.725, allocations: 292.3 MB / 308.1 MB, free: 4.34 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.001457/0.001456, allocations: 190.4 kB / 376.9 MB, free: 1.828 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.575/1.575, allocations: 205.1 MB / 0.6354 GB, free: 9.801 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001084/0.001084, allocations: 100.6 kB / 0.748 GB, free: 61.33 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.001173/0.001174, allocations: 47.92 kB / 0.8704 GB, free: 13.12 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2698/0.271, allocations: 114.5 MB / 0.9822 GB, free: 10.42 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.RCModel): time 0.006243/0.2773, allocations: 4.372 MB / 0.9865 GB, free: 6.023 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.003205/0.2805, allocations: 1.867 MB / 0.9883 GB, free: 4.145 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003787/0.2809, allocations: 7.938 kB / 0.9883 GB, free: 4.137 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.001595/0.2825, allocations: 0.5645 MB / 0.9889 GB, free: 3.57 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0007159/0.2833, allocations: 246.9 kB / 0.9891 GB, free: 3.328 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006831/0.284, allocations: 227.5 kB / 0.9893 GB, free: 3.105 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0009398/0.2849, allocations: 0.8413 MB / 0.9901 GB, free: 2.262 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005016/0.2854, allocations: 302.9 kB / 0.9904 GB, free: 1.965 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003571/0.2858, allocations: 219.2 kB / 0.9906 GB, free: 1.75 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005743/0.2864, allocations: 279 kB / 0.9909 GB, free: 1.477 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 8.901e-05/0.2865, allocations: 24 kB / 0.9909 GB, free: 1.453 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006312/0.2871, allocations: 307.4 kB / 0.9912 GB, free: 1.152 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.0001979/0.2873, allocations: 143.5 kB / 0.9914 GB, free: 1.012 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.0002812/0.2876, allocations: 214.9 kB / 0.9916 GB, free: 0.8008 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0008573/0.2885, allocations: 0.6154 MB / 0.9922 GB, free: 188 kB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 5.981e-06/0.2885, allocations: 0 / 0.9922 GB, free: 188 kB / 0.7136 GB Notification: Performance of FrontEnd: time 1.263e-06/0.2885, allocations: 0 / 0.9922 GB, free: 188 kB / 0.7136 GB Notification: Performance of Transformations before backend: time 2.118e-05/0.2885, allocations: 0 / 0.9922 GB, free: 188 kB / 0.7136 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.001566/0.2901, allocations: 0.7213 MB / 0.9929 GB, free: 15.41 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.865e-05/0.2902, allocations: 8.031 kB / 0.9929 GB, free: 15.41 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00101/0.2912, allocations: 148.3 kB / 0.993 GB, free: 15.26 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005654/0.2917, allocations: 322.6 kB / 0.9933 GB, free: 14.91 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.678e-05/0.2918, allocations: 21.38 kB / 0.9933 GB, free: 14.89 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.098e-05/0.2919, allocations: 44.36 kB / 0.9934 GB, free: 14.84 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007744/0.2926, allocations: 0.5317 MB / 0.9939 GB, free: 14.28 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.488e-05/0.2927, allocations: 3.984 kB / 0.9939 GB, free: 14.27 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.889e-05/0.2927, allocations: 19.98 kB / 0.9939 GB, free: 14.25 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.771e-05/0.2928, allocations: 32.64 kB / 0.994 GB, free: 14.22 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005704/0.2933, allocations: 386.3 kB / 0.9943 GB, free: 13.85 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002843/0.2962, allocations: 2.411 MB / 0.9967 GB, free: 11.21 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005682/0.2968, allocations: 258.5 kB / 0.9969 GB, free: 10.95 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001818/0.297, allocations: 120.7 kB / 0.997 GB, free: 10.83 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.749e-05/0.297, allocations: 4 kB / 0.997 GB, free: 10.82 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.367e-05/0.297, allocations: 34.56 kB / 0.9971 GB, free: 10.78 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=20): time 2.044e-06/0.2971, allocations: 0 / 0.9971 GB, free: 10.78 MB / 0.7292 GB Notification: Performance of matching and sorting (n=23): time 0.002335/0.2994, allocations: 1.127 MB / 0.9982 GB, free: 9.559 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.4e-05/0.2995, allocations: 55.41 kB / 0.9982 GB, free: 9.492 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003652/0.2998, allocations: 304.4 kB / 0.9985 GB, free: 9.18 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.79e-05/0.2999, allocations: 29.7 kB / 0.9985 GB, free: 9.145 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001646/0.3, allocations: 227.5 kB / 0.9988 GB, free: 8.918 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 7.771e-05/0.3001, allocations: 86.83 kB / 0.9988 GB, free: 8.832 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001233/0.3002, allocations: 61.94 kB / 0.9989 GB, free: 8.766 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001477/0.3004, allocations: 338.8 kB / 0.9992 GB, free: 8.426 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00018/0.3006, allocations: 112.6 kB / 0.9993 GB, free: 8.316 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002209/0.3008, allocations: 188.4 kB / 0.9995 GB, free: 8.094 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004042/0.3012, allocations: 327.4 kB / 0.9998 GB, free: 7.738 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.3012, allocations: 0 / 0.9998 GB, free: 7.738 MB / 0.7292 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.000779/0.302, allocations: 433.9 kB / 1 GB, free: 7.301 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 2.18e-05/0.3021, allocations: 11.98 kB / 1 GB, free: 7.289 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.466e-06/0.3021, allocations: 4 kB / 1 GB, free: 7.285 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003525/0.3024, allocations: 98.62 kB / 1 GB, free: 7.18 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002704/0.3027, allocations: 63.91 kB / 1 GB, free: 7.117 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002998/0.3057, allocations: 4.068 MB / 1.004 GB, free: 2.645 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002428/0.306, allocations: 15.94 kB / 1.004 GB, free: 2.629 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.315e-05/0.306, allocations: 12.16 kB / 1.004 GB, free: 2.617 MB / 0.7292 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.0001984/0.3062, allocations: 190.3 kB / 1.005 GB, free: 2.422 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.832e-05/0.3063, allocations: 31.62 kB / 1.005 GB, free: 2.391 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.898e-05/0.3064, allocations: 42.31 kB / 1.005 GB, free: 2.352 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.3064, allocations: 0 / 1.005 GB, free: 2.352 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.193e-05/0.3064, allocations: 4 kB / 1.005 GB, free: 2.348 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.029e-06/0.3064, allocations: 0 / 1.005 GB, free: 2.348 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004394/0.3069, allocations: 405.3 kB / 1.005 GB, free: 1.902 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.3069, allocations: 3.938 kB / 1.005 GB, free: 1.898 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001798/0.3071, allocations: 31.97 kB / 1.005 GB, free: 1.867 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002891/0.3074, allocations: 94.5 kB / 1.005 GB, free: 1.766 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.786e-05/0.3074, allocations: 4 kB / 1.005 GB, free: 1.762 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002789/0.3102, allocations: 4.068 MB / 1.009 GB, free: 13.3 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.3102, allocations: 0 / 1.009 GB, free: 13.3 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002987/0.3132, allocations: 3.129 MB / 1.012 GB, free: 9.879 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000136/0.3133, allocations: 124.8 kB / 1.012 GB, free: 9.738 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.279e-05/0.3134, allocations: 4 kB / 1.012 GB, free: 9.734 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001989/0.3136, allocations: 15.98 kB / 1.012 GB, free: 9.719 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.752e-05/0.3136, allocations: 15.92 kB / 1.012 GB, free: 9.703 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.841e-05/0.3137, allocations: 11.98 kB / 1.012 GB, free: 9.691 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0001877/0.3139, allocations: 207.2 kB / 1.013 GB, free: 9.488 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.41e-07/0.3139, allocations: 4 kB / 1.013 GB, free: 9.484 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0005461/0.3144, allocations: 124 kB / 1.013 GB, free: 9.363 MB / 0.7448 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.0001409/0.3146, allocations: 107.2 kB / 1.013 GB, free: 9.246 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0008801/0.3155, allocations: 0.6094 MB / 1.013 GB, free: 8.598 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.3155, allocations: 0 / 1.013 GB, free: 8.598 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0004817/0.316, allocations: 472.2 kB / 1.014 GB, free: 8.098 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005007/0.3165, allocations: 68.61 kB / 1.014 GB, free: 8.031 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001712/0.3182, allocations: 1.171 MB / 1.015 GB, free: 6.812 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004989/0.3187, allocations: 0.8426 MB / 1.016 GB, free: 5.941 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0002433/0.319, allocations: 62.92 kB / 1.016 GB, free: 5.883 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.202e-05/0.319, allocations: 23.44 kB / 1.016 GB, free: 5.863 MB / 0.7448 GB Notification: Performance of SimCode: time 2.11e-07/0.319, allocations: 0 / 1.016 GB, free: 5.863 MB / 0.7448 GB Notification: Performance of Templates: time 0.00925/0.3283, allocations: 4.689 MB / 1.021 GB, free: 1.211 MB / 0.7448 GB make -j1 -f Buildings_8_Buildings.Electrical.DC.Lines.Examples.RCModel.makefile (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)