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: "" <> buildModelFMU(BuildingSystems.Electrical.DC.Conversion.Examples.DCDCConverter,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_DC_Conversion_Examples_DCDCConverter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Electrical.DC.Conversion.Examples.DCDCConverter,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_DC_Conversion_Examples_DCDCConverter",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000955/0.000955, allocations: 89.66 kB / 15.36 MB, free: 0.7383 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.00633/0.006331, allocations: 171.4 kB / 16.26 MB, free: 6.613 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.294/1.294, allocations: 223.2 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001724/0.001724, allocations: 278.9 kB / 291.7 MB, free: 1.867 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9044/0.9044, allocations: 169.5 MB / 0.5004 GB, free: 14.05 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004367/0.0004368, allocations: 17.06 kB / 0.5988 GB, free: 28.07 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1545/0.1549, allocations: 88.54 MB / 0.6852 GB, free: 14.94 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.DC.Conversion.Examples.DCDCConverter): time 0.003524/0.1585, allocations: 3.036 MB / 0.6882 GB, free: 11.89 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.00205/0.1606, allocations: 1.462 MB / 0.6896 GB, free: 10.42 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001074/0.1607, allocations: 4.562 kB / 0.6896 GB, free: 10.42 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001641/0.1609, allocations: 44.8 kB / 0.6897 GB, free: 10.38 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000386/0.1613, allocations: 184.6 kB / 0.6898 GB, free: 10.2 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004917/0.1618, allocations: 233.5 kB / 0.6901 GB, free: 9.969 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005148/0.1623, allocations: 0.562 MB / 0.6906 GB, free: 9.406 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003766/0.1627, allocations: 334.8 kB / 0.6909 GB, free: 9.059 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001579/0.1628, allocations: 136.3 kB / 0.6911 GB, free: 8.926 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002818/0.1631, allocations: 179.3 kB / 0.6912 GB, free: 8.75 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.09e-05/0.1632, allocations: 16.55 kB / 0.6913 GB, free: 8.734 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003796/0.1636, allocations: 295.9 kB / 0.6915 GB, free: 8.445 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 9.389e-05/0.1637, allocations: 96.88 kB / 0.6916 GB, free: 8.352 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001445/0.1638, allocations: 161 kB / 0.6918 GB, free: 8.188 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004716/0.1643, allocations: 450.5 kB / 0.6922 GB, free: 7.746 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.995e-06/0.1643, allocations: 0 / 0.6922 GB, free: 7.746 MB / 494.1 MB Notification: Performance of FrontEnd: time 3.226e-06/0.1643, allocations: 4.828 kB / 0.6922 GB, free: 7.742 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.853e-06/0.1643, allocations: 0 / 0.6922 GB, free: 7.742 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.0008471/0.1652, allocations: 0.5575 MB / 0.6928 GB, free: 7.129 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.567e-05/0.1652, allocations: 8.031 kB / 0.6928 GB, free: 7.121 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.818e-05/0.1653, allocations: 66.72 kB / 0.6928 GB, free: 7.047 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006531/0.166, allocations: 108.5 kB / 0.6929 GB, free: 6.941 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003206/0.1663, allocations: 268.5 kB / 0.6932 GB, free: 6.637 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.037e-05/0.1664, allocations: 46.83 kB / 0.6932 GB, free: 6.586 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.477e-05/0.1664, allocations: 28.38 kB / 0.6933 GB, free: 6.559 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006947/0.1671, allocations: 432.8 kB / 0.6937 GB, free: 6.113 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.186e-05/0.1671, allocations: 0 / 0.6937 GB, free: 6.113 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.521e-05/0.1672, allocations: 15.98 kB / 0.6937 GB, free: 6.098 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.693e-05/0.1672, allocations: 32.48 kB / 0.6937 GB, free: 6.066 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006204/0.1679, allocations: 334 kB / 0.694 GB, free: 5.742 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002191/0.1701, allocations: 2.104 MB / 0.6961 GB, free: 3.414 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005161/0.1706, allocations: 210.7 kB / 0.6963 GB, free: 3.199 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003225/0.1709, allocations: 136.8 kB / 0.6964 GB, free: 3.062 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.423e-05/0.171, allocations: 11.92 kB / 0.6964 GB, free: 3.051 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.148e-05/0.171, allocations: 38.55 kB / 0.6965 GB, free: 3.004 MB / 494.1 MB Notification: Performance of pre-optimization done (n=17): time 1.513e-06/0.171, allocations: 0 / 0.6965 GB, free: 3.004 MB / 494.1 MB Notification: Performance of matching and sorting (n=17): time 0.0006169/0.1716, allocations: 271.8 kB / 0.6967 GB, free: 2.734 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.323e-05/0.1717, allocations: 59.39 kB / 0.6968 GB, free: 2.664 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001948/0.1719, allocations: 229 kB / 0.697 GB, free: 2.438 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.239e-05/0.1719, allocations: 29.7 kB / 0.697 GB, free: 2.402 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001189/0.172, allocations: 187.9 kB / 0.6972 GB, free: 2.215 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.409e-05/0.1721, allocations: 59.11 kB / 0.6973 GB, free: 2.156 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.005e-05/0.1721, allocations: 33.7 kB / 0.6973 GB, free: 2.117 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001142/0.1723, allocations: 330.8 kB / 0.6976 GB, free: 1.785 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001889/0.1725, allocations: 75.95 kB / 0.6977 GB, free: 1.711 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002435/0.1727, allocations: 191.7 kB / 0.6979 GB, free: 1.477 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004325/0.1731, allocations: 276.7 kB / 0.6981 GB, free: 1.16 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.1732, allocations: 8 kB / 0.6981 GB, free: 1.152 MB / 494.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.000532/0.1737, allocations: 299.1 kB / 0.6984 GB, free: 0.8555 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001037/0.1738, allocations: 197.1 kB / 0.6986 GB, free: 0.6133 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.133e-06/0.1738, allocations: 4 kB / 0.6986 GB, free: 0.6094 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.324e-05/0.1738, allocations: 4 kB / 0.6986 GB, free: 0.6055 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004039/0.1743, allocations: 71.91 kB / 0.6987 GB, free: 0.5352 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009517/0.1752, allocations: 1.31 MB / 0.7 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001899/0.1754, allocations: 35.69 kB / 0.7 GB, free: 15.06 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.916e-05/0.1754, allocations: 12 kB / 0.7 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 6.151e-06/0.1755, allocations: 4 kB / 0.7 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004638/0.1759, allocations: 254 kB / 0.7003 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.53e-06/0.1759, allocations: 4 kB / 0.7003 GB, free: 14.79 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.891e-06/0.176, allocations: 8.375 kB / 0.7003 GB, free: 14.79 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003989/0.1764, allocations: 75.84 kB / 0.7003 GB, free: 14.71 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007897/0.1772, allocations: 1.306 MB / 0.7016 GB, free: 13.28 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001649/0.1773, allocations: 31.75 kB / 0.7017 GB, free: 13.25 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.675e-05/0.1774, allocations: 12 kB / 0.7017 GB, free: 13.23 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.0001736/0.1775, allocations: 246.2 kB / 0.7019 GB, free: 12.98 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.22e-05/0.1776, allocations: 19.72 kB / 0.7019 GB, free: 12.96 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.709e-05/0.1777, allocations: 30.17 kB / 0.7019 GB, free: 12.93 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.1777, allocations: 3.938 kB / 0.702 GB, free: 12.93 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.713e-06/0.1777, allocations: 4.062 kB / 0.702 GB, free: 12.93 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.1777, allocations: 3.938 kB / 0.702 GB, free: 12.92 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000979/0.1787, allocations: 0.7351 MB / 0.7027 GB, free: 12.1 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-06/0.1787, allocations: 3.938 kB / 0.7027 GB, free: 12.09 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003584/0.179, allocations: 55.95 kB / 0.7027 GB, free: 12.04 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.1791, allocations: 0 / 0.7027 GB, free: 12.04 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.277e-05/0.1791, allocations: 4 kB / 0.7027 GB, free: 12.04 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.689e-06/0.1791, allocations: 7.938 kB / 0.7027 GB, free: 12.03 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.1791, allocations: 8.141 kB / 0.7028 GB, free: 12.02 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004285/0.1795, allocations: 331.3 kB / 0.7031 GB, free: 11.66 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.778e-05/0.1796, allocations: 112.8 kB / 0.7032 GB, free: 11.54 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.658e-05/0.1796, allocations: 11.98 kB / 0.7032 GB, free: 11.52 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001376/0.1798, allocations: 7.938 kB / 0.7032 GB, free: 11.52 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.429e-05/0.1798, allocations: 23.92 kB / 0.7032 GB, free: 11.49 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.07e-05/0.1799, allocations: 7.984 kB / 0.7032 GB, free: 11.48 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001335/0.18, allocations: 160.5 kB / 0.7034 GB, free: 11.32 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.18, allocations: 0 / 0.7034 GB, free: 11.32 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0005372/0.1805, allocations: 115.6 kB / 0.7035 GB, free: 11.21 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.0006704/0.1812, allocations: 0.8744 MB / 0.7043 GB, free: 10.3 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0009773/0.1822, allocations: 336.5 kB / 0.7047 GB, free: 9.969 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.776e-06/0.1822, allocations: 0 / 0.7047 GB, free: 9.969 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003568/0.1826, allocations: 100.8 kB / 0.7048 GB, free: 9.871 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004523/0.1831, allocations: 51.05 kB / 0.7048 GB, free: 9.824 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002943/0.186, allocations: 2.71 MB / 0.7075 GB, free: 6.914 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003055/0.1863, allocations: 0.7753 MB / 0.7082 GB, free: 6.113 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001818/0.1865, allocations: 65.88 kB / 0.7083 GB, free: 6.051 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001041/0.1866, allocations: 63.42 kB / 0.7083 GB, free: 5.988 MB / 0.4981 GB Notification: Performance of SimCode: time 4.01e-07/0.1866, allocations: 0 / 0.7083 GB, free: 5.988 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01521/0.2018, allocations: 4.415 MB / 0.7126 GB, free: 1.812 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001798/0.2021, allocations: 251.3 kB / 0.7129 GB, free: 1.559 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.735/1.937, allocations: 3.938 kB / 0.7129 GB, free: 1.555 MB / 0.4981 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Electrical_DC_Conversion_Examples_DCDCConverter_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Electrical_DC_Conversion_Examples_DCDCConverter.fmu > BuildingSystems_BuildingSystems.Electrical.DC.Conversion.Examples.DCDCConverter.pipe 2>&1)