Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(IBPSA.Electrical.DC.Lines.Examples.RCModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.RCModel") translateModel(IBPSA.Electrical.DC.Lines.Examples.RCModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.0013/0.0013, allocations: 106 kB / 16.4 MB, free: 6.023 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.001256/0.001256, allocations: 193 kB / 17.34 MB, free: 5.633 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.36/1.36, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7811/0.7811, allocations: 115.3 MB / 406.5 MB, free: 6.234 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001207/0.001207, allocations: 63.17 kB / 0.5577 GB, free: 32.27 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1597/0.1609, allocations: 76.17 MB / 0.6321 GB, free: 4.434 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.DC.Lines.Examples.RCModel): time 0.00608/0.1671, allocations: 4.338 MB / 0.6363 GB, free: 80 kB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.003121/0.1702, allocations: 1.866 MB / 0.6381 GB, free: 14.2 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002657/0.1705, allocations: 8 kB / 0.6381 GB, free: 14.2 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001702/0.1722, allocations: 0.603 MB / 0.6387 GB, free: 13.59 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007921/0.173, allocations: 266.6 kB / 0.639 GB, free: 13.33 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007803/0.1738, allocations: 254.6 kB / 0.6392 GB, free: 13.08 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009814/0.1748, allocations: 0.6035 MB / 0.6398 GB, free: 12.48 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009315/0.1757, allocations: 474.8 kB / 0.6402 GB, free: 12.01 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003769/0.1761, allocations: 247.1 kB / 0.6405 GB, free: 11.77 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006145/0.1768, allocations: 271 kB / 0.6407 GB, free: 11.5 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 6.638e-05/0.1768, allocations: 36 kB / 0.6408 GB, free: 11.46 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006108/0.1775, allocations: 251.5 kB / 0.641 GB, free: 11.22 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000197/0.1777, allocations: 151.5 kB / 0.6412 GB, free: 11.07 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002683/0.1779, allocations: 215 kB / 0.6414 GB, free: 10.86 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008239/0.1788, allocations: 0.6152 MB / 0.642 GB, free: 10.24 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.1788, allocations: 4 kB / 0.642 GB, free: 10.24 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.1788, allocations: 0 / 0.642 GB, free: 10.24 MB / 494.1 MB Notification: Performance of Transformations before backend: time 9.608e-06/0.1788, allocations: 0 / 0.642 GB, free: 10.24 MB / 494.1 MB 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.001441/0.1803, allocations: 0.7136 MB / 0.6427 GB, free: 9.477 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.838e-05/0.1803, allocations: 12.03 kB / 0.6427 GB, free: 9.465 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001031/0.1814, allocations: 148.2 kB / 0.6428 GB, free: 9.32 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004661/0.1818, allocations: 350.4 kB / 0.6432 GB, free: 8.938 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.306e-05/0.1819, allocations: 25.38 kB / 0.6432 GB, free: 8.914 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.902e-05/0.182, allocations: 32.38 kB / 0.6432 GB, free: 8.883 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008065/0.1828, allocations: 0.5317 MB / 0.6437 GB, free: 8.309 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.35e-05/0.1828, allocations: 0 / 0.6437 GB, free: 8.309 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.514e-05/0.1828, allocations: 20 kB / 0.6437 GB, free: 8.289 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.162e-05/0.1829, allocations: 28.64 kB / 0.6438 GB, free: 8.262 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005876/0.1835, allocations: 390.2 kB / 0.6441 GB, free: 7.883 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002471/0.186, allocations: 2.399 MB / 0.6465 GB, free: 5.262 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005119/0.1865, allocations: 270.4 kB / 0.6467 GB, free: 4.988 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001567/0.1867, allocations: 108.8 kB / 0.6469 GB, free: 4.879 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.501e-05/0.1867, allocations: 4 kB / 0.6469 GB, free: 4.875 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.437e-05/0.1867, allocations: 34.56 kB / 0.6469 GB, free: 4.832 MB / 494.1 MB Notification: Performance of pre-optimization done (n=20): time 1.663e-06/0.1867, allocations: 0 / 0.6469 GB, free: 4.832 MB / 494.1 MB Notification: Performance of matching and sorting (n=23): time 0.002197/0.1889, allocations: 1.122 MB / 0.648 GB, free: 3.613 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.989e-05/0.189, allocations: 59.41 kB / 0.648 GB, free: 3.543 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000322/0.1893, allocations: 304.4 kB / 0.6483 GB, free: 3.234 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.868e-05/0.1894, allocations: 25.7 kB / 0.6484 GB, free: 3.203 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001536/0.1895, allocations: 235.6 kB / 0.6486 GB, free: 2.969 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.354e-05/0.1896, allocations: 78.75 kB / 0.6487 GB, free: 2.891 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001082/0.1897, allocations: 66.03 kB / 0.6487 GB, free: 2.816 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001257/0.1898, allocations: 338.8 kB / 0.649 GB, free: 2.477 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001726/0.19, allocations: 100.6 kB / 0.6491 GB, free: 2.379 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002165/0.1902, allocations: 195.7 kB / 0.6493 GB, free: 2.148 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000395/0.1906, allocations: 313 kB / 0.6496 GB, free: 1.809 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.178e-06/0.1906, allocations: 0 / 0.6496 GB, free: 1.809 MB / 494.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0007525/0.1914, allocations: 454.4 kB / 0.6501 GB, free: 1.352 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.067e-05/0.1914, allocations: 7.984 kB / 0.6501 GB, free: 1.344 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.709e-06/0.1915, allocations: 4 kB / 0.6501 GB, free: 1.34 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003779/0.1918, allocations: 98.66 kB / 0.6502 GB, free: 1.234 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002851/0.1921, allocations: 63.91 kB / 0.6502 GB, free: 1.172 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003249/0.1954, allocations: 4.395 MB / 0.6545 GB, free: 12.35 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002449/0.1957, allocations: 11.98 kB / 0.6545 GB, free: 12.34 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.233e-05/0.1957, allocations: 16 kB / 0.6545 GB, free: 12.32 MB / 0.4981 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.0002266/0.1959, allocations: 177.9 kB / 0.6547 GB, free: 12.14 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.433e-05/0.196, allocations: 35.56 kB / 0.6547 GB, free: 12.11 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.852e-05/0.1961, allocations: 38.31 kB / 0.6548 GB, free: 12.07 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.863e-06/0.1961, allocations: 0 / 0.6548 GB, free: 12.07 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.788e-06/0.1961, allocations: 4 kB / 0.6548 GB, free: 12.06 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.1961, allocations: 0 / 0.6548 GB, free: 12.06 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004637/0.1966, allocations: 401.4 kB / 0.6552 GB, free: 11.62 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.526e-06/0.1966, allocations: 4 kB / 0.6552 GB, free: 11.62 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001948/0.1968, allocations: 43.91 kB / 0.6552 GB, free: 11.57 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003102/0.1971, allocations: 90.44 kB / 0.6553 GB, free: 11.48 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.638e-05/0.1971, allocations: 4 kB / 0.6553 GB, free: 11.47 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003092/0.2002, allocations: 4.388 MB / 0.6596 GB, free: 6.668 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.2002, allocations: 0 / 0.6596 GB, free: 6.668 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008321/0.2011, allocations: 0.5585 MB / 0.6601 GB, free: 6.086 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001284/0.2012, allocations: 124.7 kB / 0.6603 GB, free: 5.945 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.893e-05/0.2013, allocations: 4.125 kB / 0.6603 GB, free: 5.941 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002081/0.2015, allocations: 19.98 kB / 0.6603 GB, free: 5.922 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.097e-05/0.2015, allocations: 15.98 kB / 0.6603 GB, free: 5.906 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.799e-05/0.2016, allocations: 11.94 kB / 0.6603 GB, free: 5.895 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0002668/0.2018, allocations: 211.1 kB / 0.6605 GB, free: 5.688 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2018, allocations: 0 / 0.6605 GB, free: 5.688 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0004775/0.2023, allocations: 99.94 kB / 0.6606 GB, free: 5.59 MB / 0.4981 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.0001337/0.2025, allocations: 103.2 kB / 0.6607 GB, free: 5.48 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.000879/0.2034, allocations: 0.6095 MB / 0.6613 GB, free: 4.832 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.287e-06/0.2034, allocations: 0 / 0.6613 GB, free: 4.832 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0004944/0.2039, allocations: 477.6 kB / 0.6617 GB, free: 4.328 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004896/0.2044, allocations: 69.25 kB / 0.6618 GB, free: 4.262 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001236/0.2056, allocations: 0.7023 MB / 0.6625 GB, free: 3.527 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004441/0.2061, allocations: 0.8388 MB / 0.6633 GB, free: 2.66 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001891/0.2063, allocations: 58.94 kB / 0.6634 GB, free: 2.605 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.137e-05/0.2063, allocations: 23.44 kB / 0.6634 GB, free: 2.582 MB / 0.4981 GB Notification: Performance of SimCode: time 3.11e-07/0.2064, allocations: 0 / 0.6634 GB, free: 2.582 MB / 0.4981 GB Notification: Performance of Templates: time 0.009777/0.2161, allocations: 4.493 MB / 0.6678 GB, free: 14.13 MB / 0.5137 GB make -j1 -f IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.RCModel.makefile (rm -f IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.RCModel.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.RCModel.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.RCModel.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.RCModel.sim & ./IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.RCModel -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.RCModel.pipe 2>&1)