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.001627/0.001627, allocations: 103.1 kB / 16.35 MB, free: 6.348 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.002044/0.002044, allocations: 194.7 kB / 17.29 MB, free: 5.93 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.464/1.464, allocations: 205.1 MB / 223.2 MB, free: 12.26 MB / 190.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.3 MB / 0.5496 GB, free: 17.5 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.001501/0.001501, allocations: 79.88 kB / 0.6729 GB, free: 5.832 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.239/0.2405, allocations: 114.5 MB / 0.7848 GB, free: 3.172 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.RCModel): time 0.4248/0.6653, allocations: 4.322 MB / 0.789 GB, free: 46.66 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.002515/0.6679, allocations: 1.859 MB / 0.7908 GB, free: 46.24 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001961/0.6681, allocations: 10.06 kB / 0.7908 GB, free: 46.24 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.001519/0.6696, allocations: 0.6016 MB / 0.7914 GB, free: 46.09 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0005569/0.6703, allocations: 260.5 kB / 0.7916 GB, free: 46.04 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006247/0.6709, allocations: 251.6 kB / 0.7919 GB, free: 46.02 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0005822/0.6715, allocations: 0.6107 MB / 0.7925 GB, free: 45.98 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006049/0.6721, allocations: 462.8 kB / 0.7929 GB, free: 45.96 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002415/0.6724, allocations: 249.5 kB / 0.7932 GB, free: 45.93 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003938/0.6728, allocations: 269 kB / 0.7934 GB, free: 45.87 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 5.672e-05/0.6728, allocations: 33.88 kB / 0.7935 GB, free: 45.87 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003995/0.6732, allocations: 260.8 kB / 0.7937 GB, free: 45.83 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0001246/0.6734, allocations: 154.9 kB / 0.7938 GB, free: 45.8 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001849/0.6736, allocations: 213.8 kB / 0.7941 GB, free: 45.75 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0005723/0.6741, allocations: 0.6125 MB / 0.7947 GB, free: 45.64 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.6741, allocations: 1.406 kB / 0.7947 GB, free: 45.64 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.763e-06/0.6742, allocations: 0 / 0.7947 GB, free: 45.64 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 7.725e-06/0.6742, allocations: 0 / 0.7947 GB, free: 45.64 MB / 0.6544 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.001153/0.6753, allocations: 0.7243 MB / 0.7954 GB, free: 45.14 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.089e-05/0.6754, allocations: 11.78 kB / 0.7954 GB, free: 45.14 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000989/0.6764, allocations: 150.1 kB / 0.7955 GB, free: 45.11 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004547/0.6768, allocations: 323.8 kB / 0.7958 GB, free: 44.88 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.503e-05/0.6769, allocations: 31.45 kB / 0.7959 GB, free: 44.88 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.375e-05/0.6769, allocations: 30.22 kB / 0.7959 GB, free: 44.88 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000646/0.6776, allocations: 0.5357 MB / 0.7964 GB, free: 44.75 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.473e-05/0.6776, allocations: 5.906 kB / 0.7964 GB, free: 44.75 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.974e-05/0.6777, allocations: 15.09 kB / 0.7964 GB, free: 44.75 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.415e-05/0.6777, allocations: 34.2 kB / 0.7965 GB, free: 44.75 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005019/0.6782, allocations: 383.4 kB / 0.7968 GB, free: 44.75 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002157/0.6804, allocations: 2.4 MB / 0.7992 GB, free: 42.96 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004935/0.6809, allocations: 266.2 kB / 0.7994 GB, free: 42.93 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001531/0.6811, allocations: 115.1 kB / 0.7995 GB, free: 42.91 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.432e-05/0.6811, allocations: 2.844 kB / 0.7995 GB, free: 42.91 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.399e-05/0.6811, allocations: 41.62 kB / 0.7996 GB, free: 42.87 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=20): time 2.024e-06/0.6811, allocations: 0 / 0.7996 GB, free: 42.87 MB / 0.6544 GB Notification: Performance of matching and sorting (n=23): time 0.002067/0.6832, allocations: 1.115 MB / 0.8007 GB, free: 42.13 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.814e-05/0.6832, allocations: 54.28 kB / 0.8007 GB, free: 42.07 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003443/0.6836, allocations: 303.2 kB / 0.801 GB, free: 41.91 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.097e-05/0.6836, allocations: 29.7 kB / 0.801 GB, free: 41.87 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001243/0.6838, allocations: 231.6 kB / 0.8013 GB, free: 41.68 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 6.15e-05/0.6838, allocations: 86.95 kB / 0.8013 GB, free: 41.61 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.805e-05/0.6839, allocations: 64.39 kB / 0.8014 GB, free: 41.57 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 8.871e-05/0.684, allocations: 342.6 kB / 0.8017 GB, free: 41.25 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001909/0.6842, allocations: 105 kB / 0.8018 GB, free: 41.21 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002159/0.6844, allocations: 188.9 kB / 0.802 GB, free: 41.07 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000409/0.6849, allocations: 315.6 kB / 0.8023 GB, free: 40.88 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.967e-06/0.6849, allocations: 4 kB / 0.8023 GB, free: 40.88 MB / 0.6544 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0008022/0.6857, allocations: 442.6 kB / 0.8027 GB, free: 40.7 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.345e-05/0.6857, allocations: 6.125 kB / 0.8027 GB, free: 40.7 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.007e-06/0.6857, allocations: 3.656 kB / 0.8027 GB, free: 40.7 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003683/0.6861, allocations: 102.1 kB / 0.8028 GB, free: 40.65 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002857/0.6864, allocations: 63.64 kB / 0.8029 GB, free: 40.65 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002671/0.6891, allocations: 4.386 MB / 0.8072 GB, free: 36.35 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002572/0.6893, allocations: 12.97 kB / 0.8072 GB, free: 36.34 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.55e-05/0.6894, allocations: 10.47 kB / 0.8072 GB, free: 36.34 MB / 0.6544 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.0001876/0.6896, allocations: 183.5 kB / 0.8074 GB, free: 36.19 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.229e-05/0.6896, allocations: 35.72 kB / 0.8074 GB, free: 36.17 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.184e-05/0.6897, allocations: 40.59 kB / 0.8075 GB, free: 36.14 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.479e-06/0.6897, allocations: 3.656 kB / 0.8075 GB, free: 36.14 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.167e-05/0.6898, allocations: 2.812 kB / 0.8075 GB, free: 36.14 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.947e-06/0.6898, allocations: 0.7031 kB / 0.8075 GB, free: 36.14 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004948/0.6903, allocations: 403.2 kB / 0.8078 GB, free: 35.87 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.866e-06/0.6903, allocations: 0.6094 kB / 0.8078 GB, free: 35.87 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002047/0.6905, allocations: 40.33 kB / 0.8079 GB, free: 35.86 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003058/0.6908, allocations: 91.83 kB / 0.808 GB, free: 35.82 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.816e-05/0.6908, allocations: 11.16 kB / 0.808 GB, free: 35.81 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002777/0.6936, allocations: 4.384 MB / 0.8123 GB, free: 31.5 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.317e-06/0.6936, allocations: 2.219 kB / 0.8123 GB, free: 31.5 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001089/0.6947, allocations: 0.5582 MB / 0.8128 GB, free: 31.18 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000166/0.6949, allocations: 128.5 kB / 0.8129 GB, free: 31.06 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.344e-05/0.695, allocations: 6.578 kB / 0.8129 GB, free: 31.05 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002184/0.6952, allocations: 13.81 kB / 0.813 GB, free: 31.05 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.934e-05/0.6953, allocations: 18.16 kB / 0.813 GB, free: 31.05 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.228e-05/0.6953, allocations: 4.719 kB / 0.813 GB, free: 31.05 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0002913/0.6956, allocations: 209 kB / 0.8132 GB, free: 30.93 MB / 0.6544 GB Notification: Performance of sort global known variables: time 2.5e-07/0.6956, allocations: 0 / 0.8132 GB, free: 30.93 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0006306/0.6962, allocations: 103.5 kB / 0.8133 GB, free: 30.92 MB / 0.6544 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.0001486/0.6964, allocations: 109.6 kB / 0.8134 GB, free: 30.82 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0009503/0.6973, allocations: 0.6097 MB / 0.814 GB, free: 30.39 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 4.037e-06/0.6974, allocations: 0 / 0.814 GB, free: 30.39 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0005043/0.6979, allocations: 467.7 kB / 0.8144 GB, free: 30.01 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005856/0.6985, allocations: 79.83 kB / 0.8145 GB, free: 29.98 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001345/0.6998, allocations: 0.7126 MB / 0.8152 GB, free: 29.57 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004098/0.7002, allocations: 0.8347 MB / 0.816 GB, free: 28.86 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0002191/0.7005, allocations: 59.97 kB / 0.8161 GB, free: 28.85 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.442e-05/0.7005, allocations: 23.44 kB / 0.8161 GB, free: 28.84 MB / 0.6544 GB Notification: Performance of SimCode: time 9.82e-07/0.7005, allocations: 1.312 kB / 0.8161 GB, free: 28.84 MB / 0.6544 GB Notification: Performance of Templates: time 0.01109/0.7116, allocations: 4.423 MB / 0.8204 GB, free: 28.64 MB / 0.6544 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 -s gbode -lv LOG_STATS > Buildings_8_Buildings.Electrical.DC.Lines.Examples.RCModel.pipe 2>&1)