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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) 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) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001187/0.001187, allocations: 111.3 kB / 15.23 MB, free: 0.6406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001134/0.001135, allocations: 191.4 kB / 16.14 MB, free: 6.711 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.472/1.472, allocations: 205.1 MB / 222 MB, free: 4.75 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.745/1.745, allocations: 292.2 MB / 0.5484 GB, free: 13.65 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001311/0.001311, allocations: 62.09 kB / 0.6708 GB, free: 26.19 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2285/0.2299, allocations: 114.5 MB / 0.7827 GB, free: 14.01 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.RCModel): time 0.005844/0.2358, allocations: 4.358 MB / 0.7869 GB, free: 9.629 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002839/0.2386, allocations: 1.867 MB / 0.7887 GB, free: 7.75 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002358/0.2389, allocations: 11.94 kB / 0.7888 GB, free: 7.738 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001492/0.2404, allocations: 0.5645 MB / 0.7893 GB, free: 7.172 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0006579/0.2411, allocations: 246.8 kB / 0.7895 GB, free: 6.93 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006517/0.2418, allocations: 234.8 kB / 0.7898 GB, free: 6.703 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0007732/0.2426, allocations: 0.8374 MB / 0.7906 GB, free: 5.863 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004739/0.243, allocations: 302.9 kB / 0.7909 GB, free: 5.562 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002519/0.2433, allocations: 211.2 kB / 0.7911 GB, free: 5.355 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004023/0.2437, allocations: 279 kB / 0.7913 GB, free: 5.082 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 5.162e-05/0.2438, allocations: 28 kB / 0.7914 GB, free: 5.055 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004887/0.2443, allocations: 319.3 kB / 0.7917 GB, free: 4.742 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001363/0.2444, allocations: 139.6 kB / 0.7918 GB, free: 4.605 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001902/0.2446, allocations: 207 kB / 0.792 GB, free: 4.402 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0005836/0.2452, allocations: 0.6115 MB / 0.7926 GB, free: 3.789 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.2452, allocations: 0 / 0.7926 GB, free: 3.789 MB / 0.6075 GB Notification: Performance of FrontEnd: time 9.01e-07/0.2452, allocations: 0 / 0.7926 GB, free: 3.789 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.302e-06/0.2452, allocations: 0 / 0.7926 GB, free: 3.789 MB / 0.6075 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.001295/0.2465, allocations: 0.7213 MB / 0.7933 GB, free: 3.02 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.858e-05/0.2466, allocations: 8.031 kB / 0.7933 GB, free: 3.012 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009598/0.2475, allocations: 156.2 kB / 0.7935 GB, free: 2.859 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004072/0.248, allocations: 326.5 kB / 0.7938 GB, free: 2.5 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.455e-05/0.248, allocations: 29.36 kB / 0.7938 GB, free: 2.473 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.519e-05/0.2481, allocations: 32.38 kB / 0.7938 GB, free: 2.441 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000761/0.2488, allocations: 0.5318 MB / 0.7944 GB, free: 1.871 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.343e-05/0.2489, allocations: 0 / 0.7944 GB, free: 1.871 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.913e-05/0.2489, allocations: 16 kB / 0.7944 GB, free: 1.855 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.075e-05/0.249, allocations: 32.62 kB / 0.7944 GB, free: 1.82 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005642/0.2495, allocations: 390.2 kB / 0.7948 GB, free: 1.441 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002438/0.252, allocations: 2.399 MB / 0.7971 GB, free: 14.82 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005197/0.2525, allocations: 286.3 kB / 0.7974 GB, free: 14.53 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001532/0.2527, allocations: 112.8 kB / 0.7975 GB, free: 14.42 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 1.635e-05/0.2527, allocations: 4 kB / 0.7975 GB, free: 14.41 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.282e-05/0.2527, allocations: 30.56 kB / 0.7975 GB, free: 14.38 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=20): time 1.753e-06/0.2527, allocations: 0 / 0.7975 GB, free: 14.38 MB / 0.6231 GB Notification: Performance of matching and sorting (n=23): time 0.002224/0.255, allocations: 1.129 MB / 0.7986 GB, free: 13.15 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.331e-05/0.255, allocations: 55.41 kB / 0.7987 GB, free: 13.08 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003025/0.2553, allocations: 304.4 kB / 0.799 GB, free: 12.78 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 2.762e-05/0.2554, allocations: 29.7 kB / 0.799 GB, free: 12.74 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.000154/0.2555, allocations: 231.6 kB / 0.7992 GB, free: 12.51 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 7.269e-05/0.2556, allocations: 82.75 kB / 0.7993 GB, free: 12.43 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.598e-05/0.2557, allocations: 62.03 kB / 0.7994 GB, free: 12.36 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001405/0.2559, allocations: 338.8 kB / 0.7997 GB, free: 12.02 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001747/0.256, allocations: 104.6 kB / 0.7998 GB, free: 11.92 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002287/0.2563, allocations: 187.8 kB / 0.8 GB, free: 11.7 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004016/0.2567, allocations: 323.4 kB / 0.8003 GB, free: 11.34 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.2567, allocations: 0 / 0.8003 GB, free: 11.34 MB / 0.6231 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0007154/0.2574, allocations: 441.8 kB / 0.8007 GB, free: 10.9 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.825e-05/0.2574, allocations: 4 kB / 0.8007 GB, free: 10.89 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.995e-06/0.2575, allocations: 4 kB / 0.8007 GB, free: 10.89 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003702/0.2578, allocations: 98.7 kB / 0.8008 GB, free: 10.79 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002753/0.2581, allocations: 63.91 kB / 0.8009 GB, free: 10.72 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003104/0.2612, allocations: 4.072 MB / 0.8048 GB, free: 6.246 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002116/0.2615, allocations: 12 kB / 0.8048 GB, free: 6.234 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.152e-05/0.2615, allocations: 12 kB / 0.8049 GB, free: 6.223 MB / 0.6231 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.0001989/0.2617, allocations: 181.7 kB / 0.805 GB, free: 6.035 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.511e-05/0.2618, allocations: 31.62 kB / 0.8051 GB, free: 6.004 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.085e-05/0.2618, allocations: 42.31 kB / 0.8051 GB, free: 5.965 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.2619, allocations: 8.234 kB / 0.8051 GB, free: 5.957 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.764e-06/0.2619, allocations: 0 / 0.8051 GB, free: 5.957 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.462e-06/0.2619, allocations: 3.984 kB / 0.8051 GB, free: 5.953 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004242/0.2623, allocations: 405.3 kB / 0.8055 GB, free: 5.508 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.754e-06/0.2623, allocations: 0 / 0.8055 GB, free: 5.508 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001832/0.2625, allocations: 31.98 kB / 0.8055 GB, free: 5.477 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003014/0.2628, allocations: 98.42 kB / 0.8056 GB, free: 5.371 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.648e-05/0.2628, allocations: 4 kB / 0.8056 GB, free: 5.367 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00281/0.2657, allocations: 4.064 MB / 0.8096 GB, free: 0.9023 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.564e-06/0.2657, allocations: 4.031 kB / 0.8096 GB, free: 0.8984 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007516/0.2664, allocations: 0.5546 MB / 0.8101 GB, free: 328 kB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001645/0.2666, allocations: 132.6 kB / 0.8103 GB, free: 176 kB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.71e-05/0.2667, allocations: 8 kB / 0.8103 GB, free: 168 kB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001941/0.2669, allocations: 12.06 kB / 0.8103 GB, free: 156 kB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.761e-05/0.2669, allocations: 15.97 kB / 0.8103 GB, free: 140 kB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.558e-05/0.2669, allocations: 15.94 kB / 0.8103 GB, free: 124 kB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0002083/0.2671, allocations: 207.1 kB / 0.8105 GB, free: 15.92 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2672, allocations: 0 / 0.8105 GB, free: 15.92 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.000432/0.2676, allocations: 100 kB / 0.8106 GB, free: 15.82 MB / 0.6387 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.0001373/0.2677, allocations: 107.9 kB / 0.8107 GB, free: 15.71 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0007705/0.2685, allocations: 0.5941 MB / 0.8113 GB, free: 15.08 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.2685, allocations: 4.125 kB / 0.8113 GB, free: 15.07 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0004504/0.269, allocations: 474.5 kB / 0.8117 GB, free: 14.57 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004849/0.2695, allocations: 81.47 kB / 0.8118 GB, free: 14.49 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001194/0.2707, allocations: 0.8682 MB / 0.8127 GB, free: 13.6 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003945/0.2711, allocations: 0.8309 MB / 0.8135 GB, free: 12.74 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0002124/0.2713, allocations: 62.92 kB / 0.8135 GB, free: 12.68 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.842e-05/0.2714, allocations: 27.44 kB / 0.8136 GB, free: 12.65 MB / 0.6387 GB Notification: Performance of SimCode: time 4.81e-07/0.2714, allocations: 0 / 0.8136 GB, free: 12.65 MB / 0.6387 GB Notification: Performance of Templates: time 0.007497/0.2789, allocations: 4.266 MB / 0.8177 GB, free: 8.434 MB / 0.6387 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)