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.001206/0.001207, allocations: 107.3 kB / 16.41 MB, free: 6.406 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.001007/0.001007, allocations: 191.4 kB / 17.34 MB, free: 5.695 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.481/1.481, allocations: 222.9 MB / 241 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002144/0.002144, allocations: 281 kB / 291.5 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9747/0.9747, allocations: 169.3 MB / 0.499 GB, free: 4.441 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002005/0.002005, allocations: 91.86 kB / 0.6821 GB, free: 7.023 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4364/0.4384, allocations: 86.98 MB / 0.767 GB, free: 3.941 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.DC.Conversion.Examples.DCDCConverter): time 0.005026/0.4435, allocations: 3.366 MB / 0.7703 GB, free: 0.5664 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.002268/0.4458, allocations: 1.492 MB / 0.7718 GB, free: 15.07 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001315/0.4459, allocations: 4 kB / 0.7718 GB, free: 15.07 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001533/0.4475, allocations: 0.6892 MB / 0.7724 GB, free: 14.37 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0003756/0.4479, allocations: 191.1 kB / 0.7726 GB, free: 14.18 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005455/0.4484, allocations: 258.8 kB / 0.7729 GB, free: 13.93 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0003992/0.4488, allocations: 407.2 kB / 0.7733 GB, free: 13.54 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005596/0.4494, allocations: 300.4 kB / 0.7735 GB, free: 13.24 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001807/0.4496, allocations: 167.4 kB / 0.7737 GB, free: 13.08 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002935/0.4499, allocations: 187.3 kB / 0.7739 GB, free: 12.89 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 4.002e-05/0.4499, allocations: 24 kB / 0.7739 GB, free: 12.87 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003378/0.4503, allocations: 243.4 kB / 0.7741 GB, free: 12.63 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001058/0.4504, allocations: 107.7 kB / 0.7742 GB, free: 12.53 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001388/0.4506, allocations: 155.2 kB / 0.7744 GB, free: 12.38 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0004761/0.451, allocations: 449.1 kB / 0.7748 GB, free: 11.94 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.451, allocations: 0 / 0.7748 GB, free: 11.94 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.183e-06/0.4511, allocations: 4 kB / 0.7748 GB, free: 11.93 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.593e-06/0.4511, allocations: 0 / 0.7748 GB, free: 11.93 MB / 0.545 GB 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.000917/0.452, allocations: 0.5965 MB / 0.7754 GB, free: 11.29 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.516e-05/0.452, allocations: 12.03 kB / 0.7754 GB, free: 11.28 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006952/0.4527, allocations: 108.4 kB / 0.7755 GB, free: 11.17 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000474/0.4532, allocations: 282.3 kB / 0.7758 GB, free: 10.86 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.009e-05/0.4533, allocations: 46.83 kB / 0.7758 GB, free: 10.8 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.975e-05/0.4533, allocations: 28.36 kB / 0.7759 GB, free: 10.78 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006537/0.454, allocations: 432.6 kB / 0.7763 GB, free: 10.33 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.374e-05/0.454, allocations: 0 / 0.7763 GB, free: 10.33 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.177e-05/0.4541, allocations: 12 kB / 0.7763 GB, free: 10.32 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.581e-05/0.4541, allocations: 24.55 kB / 0.7763 GB, free: 10.29 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006691/0.4548, allocations: 333.9 kB / 0.7766 GB, free: 9.965 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002176/0.457, allocations: 2.084 MB / 0.7787 GB, free: 7.66 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000624/0.4576, allocations: 194.7 kB / 0.7788 GB, free: 7.461 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003145/0.4579, allocations: 144.7 kB / 0.779 GB, free: 7.316 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.129e-05/0.458, allocations: 4 kB / 0.779 GB, free: 7.312 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.463e-05/0.458, allocations: 34.56 kB / 0.779 GB, free: 7.27 MB / 0.545 GB Notification: Performance of pre-optimization done (n=17): time 1.433e-06/0.458, allocations: 0 / 0.779 GB, free: 7.27 MB / 0.545 GB Notification: Performance of matching and sorting (n=17): time 0.0007129/0.4587, allocations: 251.6 kB / 0.7793 GB, free: 7.02 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.739e-05/0.4588, allocations: 59.34 kB / 0.7793 GB, free: 6.949 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002022/0.459, allocations: 232.9 kB / 0.7795 GB, free: 6.715 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.273e-05/0.459, allocations: 29.7 kB / 0.7796 GB, free: 6.68 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001088/0.4591, allocations: 187.9 kB / 0.7797 GB, free: 6.492 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.394e-05/0.4592, allocations: 63.17 kB / 0.7798 GB, free: 6.43 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.901e-05/0.4592, allocations: 57.61 kB / 0.7799 GB, free: 6.367 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001105/0.4594, allocations: 326.8 kB / 0.7802 GB, free: 6.039 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001893/0.4596, allocations: 80.8 kB / 0.7803 GB, free: 5.957 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002366/0.4598, allocations: 177.7 kB / 0.7804 GB, free: 5.734 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004102/0.4602, allocations: 272.6 kB / 0.7807 GB, free: 5.422 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.4602, allocations: 4 kB / 0.7807 GB, free: 5.418 MB / 0.545 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005192/0.4608, allocations: 292 kB / 0.781 GB, free: 5.129 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.741e-05/0.4608, allocations: 8.438 kB / 0.781 GB, free: 5.121 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.354e-06/0.4608, allocations: 8 kB / 0.781 GB, free: 5.113 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.07e-05/0.4608, allocations: 7.938 kB / 0.781 GB, free: 5.105 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004015/0.4612, allocations: 63.89 kB / 0.781 GB, free: 5.043 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00114/0.4624, allocations: 1.408 MB / 0.7824 GB, free: 3.496 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001899/0.4626, allocations: 35.67 kB / 0.7825 GB, free: 3.461 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.155e-05/0.4626, allocations: 12 kB / 0.7825 GB, free: 3.449 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002862/0.4629, allocations: 190.5 kB / 0.7827 GB, free: 3.262 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002381/0.4632, allocations: 188.2 kB / 0.7828 GB, free: 3.027 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003949/0.4636, allocations: 273.4 kB / 0.7831 GB, free: 2.711 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.583e-06/0.4636, allocations: 0 / 0.7831 GB, free: 2.711 MB / 0.545 GB Notification: Performance of matching and sorting (n=31) (initialization_lambda0): time 0.0005024/0.4641, allocations: 281.1 kB / 0.7834 GB, free: 2.43 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.163e-05/0.4641, allocations: 8.469 kB / 0.7834 GB, free: 2.422 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/0.4641, allocations: 7.938 kB / 0.7834 GB, free: 2.414 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.859e-06/0.4641, allocations: 8 kB / 0.7834 GB, free: 2.406 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000382/0.4645, allocations: 75.83 kB / 0.7835 GB, free: 2.332 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001038/0.4656, allocations: 1.404 MB / 0.7848 GB, free: 0.7891 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001981/0.4658, allocations: 27.83 kB / 0.7849 GB, free: 0.7617 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.838e-05/0.4658, allocations: 16 kB / 0.7849 GB, free: 0.7461 MB / 0.545 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.0001154/0.4659, allocations: 196.7 kB / 0.7851 GB, free: 0.5469 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.471e-05/0.466, allocations: 19.8 kB / 0.7851 GB, free: 0.5273 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.602e-05/0.466, allocations: 34.19 kB / 0.7851 GB, free: 0.4922 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.787e-06/0.466, allocations: 3.984 kB / 0.7851 GB, free: 500 kB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.884e-06/0.466, allocations: 0 / 0.7851 GB, free: 500 kB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.242e-06/0.4661, allocations: 7.984 kB / 0.7851 GB, free: 492 kB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001036/0.4671, allocations: 0.731 MB / 0.7858 GB, free: 15.66 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.378e-06/0.4671, allocations: 4 kB / 0.7858 GB, free: 15.66 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003485/0.4675, allocations: 43.97 kB / 0.7859 GB, free: 15.61 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.107e-06/0.4675, allocations: 0 / 0.7859 GB, free: 15.61 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.516e-05/0.4675, allocations: 11.94 kB / 0.7859 GB, free: 15.6 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.557e-06/0.4675, allocations: 4 kB / 0.7859 GB, free: 15.6 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/0.4675, allocations: 3.938 kB / 0.7859 GB, free: 15.59 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000405/0.4679, allocations: 315.6 kB / 0.7862 GB, free: 15.25 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 8.591e-05/0.468, allocations: 112.8 kB / 0.7863 GB, free: 15.12 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.62e-05/0.468, allocations: 4 kB / 0.7863 GB, free: 15.12 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001347/0.4682, allocations: 11.98 kB / 0.7863 GB, free: 15.11 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.001e-05/0.4682, allocations: 23.86 kB / 0.7863 GB, free: 15.09 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.388e-06/0.4683, allocations: 4 kB / 0.7863 GB, free: 15.08 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001324/0.4684, allocations: 164.5 kB / 0.7865 GB, free: 14.92 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4684, allocations: 0 / 0.7865 GB, free: 14.92 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0004988/0.4689, allocations: 119.5 kB / 0.7866 GB, free: 14.8 MB / 0.5606 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.0001715/0.4691, allocations: 103.2 kB / 0.7867 GB, free: 14.7 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.000963/0.4701, allocations: 335.4 kB / 0.787 GB, free: 14.38 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.4701, allocations: 4.062 kB / 0.787 GB, free: 14.37 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0003351/0.4704, allocations: 87.83 kB / 0.7871 GB, free: 14.29 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004107/0.4708, allocations: 52.48 kB / 0.7872 GB, free: 14.24 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008019/0.4716, allocations: 0.5324 MB / 0.7877 GB, free: 13.66 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003326/0.472, allocations: 0.7792 MB / 0.7885 GB, free: 12.86 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.272e-05/0.4721, allocations: 23.44 kB / 0.7885 GB, free: 12.83 MB / 0.5606 GB Notification: Performance of SimCode: time 2.5e-07/0.4721, allocations: 0 / 0.7885 GB, free: 12.83 MB / 0.5606 GB Notification: Performance of Templates: time 0.00537/0.4774, allocations: 3.887 MB / 0.7923 GB, free: 8.953 MB / 0.5606 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)