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) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 90] 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=500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.RCModel") translateModel(IBPSA.Electrical.DC.Lines.Examples.RCModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.RCModel") [Timeout 660] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001253/0.001253, allocations: 114.2 kB / 17.33 MB, free: 5.008 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.001141/0.001141, allocations: 197.8 kB / 18.33 MB, free: 4.016 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.368/1.368, allocations: 225.6 MB / 244.8 MB, free: 13.59 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8236/0.8236, allocations: 128.4 MB / 426.1 MB, free: 7.195 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001818/0.001818, allocations: 64.86 kB / 0.5911 GB, free: 21.42 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1497/0.1516, allocations: 83.26 MB / 0.6724 GB, free: 3.922 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.DC.Lines.Examples.RCModel): time 0.006263/0.1578, allocations: 4.42 MB / 0.6768 GB, free: 15.49 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.002937/0.1608, allocations: 1.874 MB / 0.6786 GB, free: 13.61 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000143/0.1609, allocations: 12 kB / 0.6786 GB, free: 13.59 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.001574/0.1625, allocations: 0.6021 MB / 0.6792 GB, free: 12.99 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0004913/0.163, allocations: 262.6 kB / 0.6794 GB, free: 12.73 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005425/0.1635, allocations: 255.4 kB / 0.6797 GB, free: 12.48 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0006816/0.1642, allocations: 0.6112 MB / 0.6803 GB, free: 11.87 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005672/0.1648, allocations: 362.9 kB / 0.6806 GB, free: 11.52 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002775/0.165, allocations: 251.1 kB / 0.6809 GB, free: 11.27 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004736/0.1655, allocations: 282.9 kB / 0.6811 GB, free: 11 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 6.167e-05/0.1656, allocations: 40 kB / 0.6812 GB, free: 10.96 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004076/0.166, allocations: 255.5 kB / 0.6814 GB, free: 10.71 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0001682/0.1661, allocations: 159.5 kB / 0.6816 GB, free: 10.55 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0002158/0.1664, allocations: 222.9 kB / 0.6818 GB, free: 10.33 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0007012/0.1671, allocations: 0.6031 MB / 0.6824 GB, free: 9.727 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.1671, allocations: 0 / 0.6824 GB, free: 9.727 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.623e-06/0.1671, allocations: 8 kB / 0.6824 GB, free: 9.719 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.331e-05/0.1671, allocations: 0 / 0.6824 GB, free: 9.719 MB / 0.5137 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.001235/0.1683, allocations: 0.7285 MB / 0.6831 GB, free: 8.938 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.947e-05/0.1684, allocations: 8.031 kB / 0.6831 GB, free: 8.93 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009486/0.1693, allocations: 160.4 kB / 0.6833 GB, free: 8.773 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004634/0.1698, allocations: 338.6 kB / 0.6836 GB, free: 8.402 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3e-05/0.1698, allocations: 33.31 kB / 0.6836 GB, free: 8.371 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.679e-05/0.1699, allocations: 32.38 kB / 0.6836 GB, free: 8.34 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008089/0.1707, allocations: 0.5317 MB / 0.6842 GB, free: 7.77 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.335e-05/0.1707, allocations: 4 kB / 0.6842 GB, free: 7.766 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.974e-05/0.1707, allocations: 19.98 kB / 0.6842 GB, free: 7.746 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.397e-05/0.1708, allocations: 32.62 kB / 0.6842 GB, free: 7.715 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005837/0.1714, allocations: 386.3 kB / 0.6846 GB, free: 7.336 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002641/0.174, allocations: 2.396 MB / 0.6869 GB, free: 4.719 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000519/0.1745, allocations: 246.5 kB / 0.6872 GB, free: 4.469 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001522/0.1747, allocations: 92.81 kB / 0.6872 GB, free: 4.375 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 1.322e-05/0.1747, allocations: 4 kB / 0.6872 GB, free: 4.371 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.614e-05/0.1747, allocations: 38.5 kB / 0.6873 GB, free: 4.324 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=20): time 1.102e-06/0.1747, allocations: 0 / 0.6873 GB, free: 4.324 MB / 0.5137 GB Notification: Performance of matching and sorting (n=23): time 0.00213/0.1769, allocations: 1.137 MB / 0.6884 GB, free: 3.094 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.684e-05/0.1769, allocations: 55.41 kB / 0.6884 GB, free: 3.027 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003094/0.1772, allocations: 296.5 kB / 0.6887 GB, free: 2.734 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.654e-05/0.1772, allocations: 29.7 kB / 0.6888 GB, free: 2.699 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001598/0.1774, allocations: 240.1 kB / 0.689 GB, free: 2.461 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 7.572e-05/0.1775, allocations: 83.27 kB / 0.6891 GB, free: 2.379 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.768e-05/0.1776, allocations: 65.98 kB / 0.6891 GB, free: 2.305 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001563/0.1777, allocations: 342.8 kB / 0.6895 GB, free: 1.961 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001919/0.1779, allocations: 104.6 kB / 0.6896 GB, free: 1.859 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002356/0.1782, allocations: 187.7 kB / 0.6897 GB, free: 1.637 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004122/0.1786, allocations: 320.9 kB / 0.69 GB, free: 1.289 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.567e-06/0.1786, allocations: 3.984 kB / 0.69 GB, free: 1.285 MB / 0.5137 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0007405/0.1793, allocations: 438 kB / 0.6905 GB, free: 0.8438 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.817e-05/0.1793, allocations: 8 kB / 0.6905 GB, free: 0.8359 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.795e-06/0.1793, allocations: 3.984 kB / 0.6905 GB, free: 0.832 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003616/0.1797, allocations: 106.6 kB / 0.6906 GB, free: 0.7188 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000265/0.18, allocations: 63.91 kB / 0.6906 GB, free: 0.6562 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003575/0.1835, allocations: 4.392 MB / 0.6949 GB, free: 11.84 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001977/0.1837, allocations: 8 kB / 0.6949 GB, free: 11.83 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.488e-05/0.1838, allocations: 20 kB / 0.695 GB, free: 11.81 MB / 0.5294 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.000191/0.1839, allocations: 185.8 kB / 0.6951 GB, free: 11.62 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.279e-05/0.184, allocations: 35.75 kB / 0.6952 GB, free: 11.59 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.791e-05/0.1841, allocations: 38.31 kB / 0.6952 GB, free: 11.55 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.987e-06/0.1841, allocations: 4 kB / 0.6952 GB, free: 11.55 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.032e-06/0.1841, allocations: 0 / 0.6952 GB, free: 11.55 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.1841, allocations: 0 / 0.6952 GB, free: 11.55 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004533/0.1846, allocations: 397.4 kB / 0.6956 GB, free: 11.11 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.1846, allocations: 0 / 0.6956 GB, free: 11.11 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001892/0.1847, allocations: 43.92 kB / 0.6956 GB, free: 11.07 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002909/0.185, allocations: 98.45 kB / 0.6957 GB, free: 10.96 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.639e-05/0.1851, allocations: 4 kB / 0.6957 GB, free: 10.96 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003469/0.1885, allocations: 4.383 MB / 0.7 GB, free: 6.148 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.1885, allocations: 4.156 kB / 0.7 GB, free: 6.145 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008061/0.1893, allocations: 0.556 MB / 0.7006 GB, free: 5.562 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000135/0.1895, allocations: 128.9 kB / 0.7007 GB, free: 5.418 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.834e-05/0.1895, allocations: 4 kB / 0.7007 GB, free: 5.414 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002116/0.1897, allocations: 12.06 kB / 0.7007 GB, free: 5.402 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.959e-05/0.1898, allocations: 19.97 kB / 0.7007 GB, free: 5.383 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.62e-05/0.1898, allocations: 8 kB / 0.7007 GB, free: 5.375 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.000216/0.19, allocations: 211.1 kB / 0.7009 GB, free: 5.172 MB / 0.5294 GB Notification: Performance of sort global known variables: time 9.1e-08/0.19, allocations: 7.875 kB / 0.7009 GB, free: 5.164 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0004128/0.1904, allocations: 103.9 kB / 0.701 GB, free: 5.062 MB / 0.5294 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.0001314/0.1906, allocations: 99.91 kB / 0.7011 GB, free: 4.957 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0008327/0.1914, allocations: 0.5939 MB / 0.7017 GB, free: 4.324 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.1914, allocations: 4.125 kB / 0.7017 GB, free: 4.32 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0004956/0.1919, allocations: 460.5 kB / 0.7021 GB, free: 3.832 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004729/0.1924, allocations: 76.17 kB / 0.7022 GB, free: 3.762 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001235/0.1936, allocations: 0.7159 MB / 0.7029 GB, free: 3.02 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005439/0.1941, allocations: 0.8311 MB / 0.7037 GB, free: 2.156 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0001846/0.1943, allocations: 58.92 kB / 0.7038 GB, free: 2.094 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.876e-05/0.1944, allocations: 23.44 kB / 0.7038 GB, free: 2.07 MB / 0.5294 GB Notification: Performance of SimCode: time 2.5e-07/0.1944, allocations: 0 / 0.7038 GB, free: 2.07 MB / 0.5294 GB Notification: Performance of Templates: time 0.009131/0.2035, allocations: 4.594 MB / 0.7083 GB, free: 13.52 MB / 0.545 GB make -j1 -f IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.RCModel.makefile [Timeout 660] (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) [Timeout 480]