Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.DC.Conversion.Examples.DCDCConverter.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Electrical.DC.Conversion.Examples.DCDCConverter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.DC.Conversion.Examples.DCDCConverter") translateModel(BuildingSystems.Electrical.DC.Conversion.Examples.DCDCConverter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.DC.Conversion.Examples.DCDCConverter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001453/0.001453, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001838/0.001838, allocations: 195.2 kB / 16.25 MB, free: 6.621 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.325/1.325, allocations: 222.9 MB / 239.9 MB, free: 4.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002117/0.002117, allocations: 286.9 kB / 290.4 MB, free: 2.047 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9456/0.9456, allocations: 169.2 MB / 0.4978 GB, free: 14.09 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001605/0.001605, allocations: 96.91 kB / 0.5947 GB, free: 28.26 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1591/0.1607, allocations: 86.98 MB / 0.6796 GB, free: 1.055 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.DC.Conversion.Examples.DCDCConverter): time 0.004641/0.1654, allocations: 3.407 MB / 0.683 GB, free: 13.64 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002107/0.1676, allocations: 1.473 MB / 0.6844 GB, free: 12.17 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001309/0.1677, allocations: 7.938 kB / 0.6844 GB, free: 12.16 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001454/0.1692, allocations: 0.6621 MB / 0.685 GB, free: 11.5 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004181/0.1696, allocations: 181.2 kB / 0.6852 GB, free: 11.32 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005839/0.1702, allocations: 231 kB / 0.6854 GB, free: 11.1 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004119/0.1706, allocations: 407.1 kB / 0.6858 GB, free: 10.7 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005179/0.1711, allocations: 339.7 kB / 0.6862 GB, free: 10.37 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001586/0.1713, allocations: 155.5 kB / 0.6863 GB, free: 10.22 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002864/0.1716, allocations: 199.3 kB / 0.6865 GB, free: 10.02 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.925e-05/0.1717, allocations: 24 kB / 0.6865 GB, free: 10 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003305/0.172, allocations: 239.4 kB / 0.6867 GB, free: 9.766 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001139/0.1721, allocations: 107.8 kB / 0.6868 GB, free: 9.66 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001338/0.1723, allocations: 151.2 kB / 0.687 GB, free: 9.512 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000506/0.1728, allocations: 474.5 kB / 0.6874 GB, free: 9.047 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.1728, allocations: 4 kB / 0.6874 GB, free: 9.043 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.1728, allocations: 0 / 0.6874 GB, free: 9.043 MB / 494.1 MB Notification: Performance of Transformations before backend: time 7.745e-06/0.1728, allocations: 0 / 0.6874 GB, free: 9.043 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: 71 * Number of variables: 71 Notification: Performance of Generate backend data structure: time 0.001042/0.1739, allocations: 0.5966 MB / 0.688 GB, free: 8.395 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.137e-05/0.1739, allocations: 8.031 kB / 0.688 GB, free: 8.387 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006743/0.1746, allocations: 108.5 kB / 0.6881 GB, free: 8.281 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003351/0.1749, allocations: 268.5 kB / 0.6884 GB, free: 7.977 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.891e-05/0.175, allocations: 46.83 kB / 0.6884 GB, free: 7.926 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.634e-05/0.1751, allocations: 28.3 kB / 0.6885 GB, free: 7.898 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006636/0.1757, allocations: 432.6 kB / 0.6889 GB, free: 7.453 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.513e-05/0.1758, allocations: 0 / 0.6889 GB, free: 7.453 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.954e-05/0.1758, allocations: 12 kB / 0.6889 GB, free: 7.441 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.652e-05/0.1759, allocations: 28.55 kB / 0.6889 GB, free: 7.414 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005821/0.1764, allocations: 325.9 kB / 0.6892 GB, free: 7.098 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002019/0.1785, allocations: 2.1 MB / 0.6913 GB, free: 4.773 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005186/0.179, allocations: 202.7 kB / 0.6915 GB, free: 4.566 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003071/0.1793, allocations: 128.8 kB / 0.6916 GB, free: 4.438 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.949e-05/0.1794, allocations: 8 kB / 0.6916 GB, free: 4.43 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.988e-05/0.1794, allocations: 34.56 kB / 0.6916 GB, free: 4.387 MB / 494.1 MB Notification: Performance of pre-optimization done (n=17): time 1.522e-06/0.1794, allocations: 0 / 0.6916 GB, free: 4.387 MB / 494.1 MB Notification: Performance of matching and sorting (n=17): time 0.000603/0.18, allocations: 261.1 kB / 0.6919 GB, free: 4.125 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.492e-05/0.1801, allocations: 55.39 kB / 0.6919 GB, free: 4.059 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002014/0.1803, allocations: 225 kB / 0.6922 GB, free: 3.832 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.177e-05/0.1803, allocations: 29.7 kB / 0.6922 GB, free: 3.797 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001184/0.1804, allocations: 199.8 kB / 0.6924 GB, free: 3.598 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.433e-05/0.1805, allocations: 59.19 kB / 0.6924 GB, free: 3.539 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.962e-05/0.1806, allocations: 53.61 kB / 0.6925 GB, free: 3.48 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001085/0.1807, allocations: 334.8 kB / 0.6928 GB, free: 3.145 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001717/0.1809, allocations: 76.81 kB / 0.6929 GB, free: 3.066 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002242/0.1811, allocations: 185.7 kB / 0.693 GB, free: 2.836 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003909/0.1815, allocations: 270.8 kB / 0.6933 GB, free: 2.527 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.408e-06/0.1815, allocations: 4 kB / 0.6933 GB, free: 2.523 MB / 494.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004854/0.182, allocations: 293 kB / 0.6936 GB, free: 2.23 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.489e-05/0.182, allocations: 6.344 kB / 0.6936 GB, free: 2.227 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.024e-06/0.182, allocations: 4.438 kB / 0.6936 GB, free: 2.223 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.767e-05/0.1821, allocations: 15.92 kB / 0.6936 GB, free: 2.207 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003902/0.1825, allocations: 63.91 kB / 0.6937 GB, free: 2.145 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001017/0.1835, allocations: 1.404 MB / 0.695 GB, free: 0.6016 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001821/0.1837, allocations: 31.69 kB / 0.6951 GB, free: 0.5703 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.096e-05/0.1837, allocations: 12 kB / 0.6951 GB, free: 0.5586 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002698/0.184, allocations: 196.7 kB / 0.6953 GB, free: 372 kB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002655/0.1843, allocations: 187.5 kB / 0.6955 GB, free: 132 kB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004558/0.1847, allocations: 271.6 kB / 0.6957 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.158e-06/0.1847, allocations: 8 kB / 0.6957 GB, free: 15.81 MB / 0.4981 GB Notification: Performance of matching and sorting (n=31) (initialization_lambda0): time 0.0005764/0.1853, allocations: 281 kB / 0.696 GB, free: 15.53 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.557e-05/0.1853, allocations: 8.406 kB / 0.696 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.1854, allocations: 8 kB / 0.696 GB, free: 15.51 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.498e-06/0.1854, allocations: 8 kB / 0.696 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003715/0.1858, allocations: 63.89 kB / 0.6961 GB, free: 15.44 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001103/0.1869, allocations: 1.413 MB / 0.6975 GB, free: 13.89 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001987/0.1871, allocations: 23.83 kB / 0.6975 GB, free: 13.87 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.074e-05/0.1871, allocations: 12 kB / 0.6975 GB, free: 13.86 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (31): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001397/0.1873, allocations: 196.3 kB / 0.6977 GB, free: 13.66 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.908e-05/0.1873, allocations: 23.72 kB / 0.6977 GB, free: 13.64 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.676e-05/0.1874, allocations: 34.11 kB / 0.6977 GB, free: 13.6 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.356e-06/0.1874, allocations: 4 kB / 0.6977 GB, free: 13.6 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.745e-06/0.1874, allocations: 0 / 0.6977 GB, free: 13.6 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.978e-06/0.1874, allocations: 0 / 0.6977 GB, free: 13.6 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00113/0.1885, allocations: 0.7348 MB / 0.6984 GB, free: 12.77 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.1886, allocations: 0 / 0.6984 GB, free: 12.77 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003442/0.1889, allocations: 47.97 kB / 0.6985 GB, free: 12.73 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.779e-06/0.1889, allocations: 4 kB / 0.6985 GB, free: 12.72 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.774e-05/0.1889, allocations: 7.984 kB / 0.6985 GB, free: 12.71 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.737e-06/0.189, allocations: 4.094 kB / 0.6985 GB, free: 12.71 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.035e-06/0.189, allocations: 8 kB / 0.6985 GB, free: 12.7 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004219/0.1894, allocations: 319.4 kB / 0.6988 GB, free: 12.36 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 8.852e-05/0.1895, allocations: 112.8 kB / 0.6989 GB, free: 12.23 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.541e-05/0.1895, allocations: 4 kB / 0.6989 GB, free: 12.23 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001418/0.1897, allocations: 11.98 kB / 0.6989 GB, free: 12.21 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.214e-05/0.1897, allocations: 23.86 kB / 0.699 GB, free: 12.19 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.778e-06/0.1898, allocations: 4 kB / 0.699 GB, free: 12.19 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001376/0.1899, allocations: 160.5 kB / 0.6991 GB, free: 12.03 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1899, allocations: 8 kB / 0.6991 GB, free: 12.02 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0005173/0.1904, allocations: 111.7 kB / 0.6992 GB, free: 11.91 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 simulation (17): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001073/0.1905, allocations: 99.91 kB / 0.6993 GB, free: 11.81 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0009966/0.1915, allocations: 346.2 kB / 0.6997 GB, free: 11.47 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.629e-06/0.1916, allocations: 0 / 0.6997 GB, free: 11.47 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003423/0.1919, allocations: 95.81 kB / 0.6998 GB, free: 11.38 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004443/0.1924, allocations: 47.5 kB / 0.6998 GB, free: 11.34 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009748/0.1933, allocations: 0.59 MB / 0.7004 GB, free: 10.7 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003801/0.1937, allocations: 0.7751 MB / 0.7011 GB, free: 9.902 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0002031/0.1939, allocations: 65.88 kB / 0.7012 GB, free: 9.84 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.546e-05/0.194, allocations: 19.44 kB / 0.7012 GB, free: 9.82 MB / 0.4981 GB Notification: Performance of SimCode: time 3.51e-07/0.194, allocations: 0 / 0.7012 GB, free: 9.82 MB / 0.4981 GB Notification: Performance of Templates: time 0.005954/0.2, allocations: 2.354 MB / 0.7035 GB, free: 7.488 MB / 0.4981 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.DC.Conversion.Examples.DCDCConverter.makefile (rm -f BuildingSystems_BuildingSystems.Electrical.DC.Conversion.Examples.DCDCConverter.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.DC.Conversion.Examples.DCDCConverter.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.DC.Conversion.Examples.DCDCConverter.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.DC.Conversion.Examples.DCDCConverter.sim & ./BuildingSystems_BuildingSystems.Electrical.DC.Conversion.Examples.DCDCConverter -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.DC.Conversion.Examples.DCDCConverter.pipe 2>&1)