Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/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: "" <> buildModelFMU(IBPSA.Electrical.DC.Conversion.Examples.DCDCConverter,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_DC_Conversion_Examples_DCDCConverter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.DC.Conversion.Examples.DCDCConverter,fileNamePrefix="IBPSA_latest_IBPSA_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.001115/0.001115, allocations: 102.5 kB / 16.27 MB, free: 5.93 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.001216/0.001216, allocations: 190.5 kB / 17.2 MB, free: 5.574 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.288/1.288, allocations: 222.9 MB / 240.9 MB, free: 15.28 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7551/0.7551, allocations: 122.9 MB / 413.9 MB, free: 15.89 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001647/0.001647, allocations: 63.89 kB / 0.4912 GB, free: 7.414 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.353/0.3547, allocations: 77.92 MB / 0.5673 GB, free: 32.81 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.DC.Conversion.Examples.DCDCConverter): time 0.004568/0.3593, allocations: 3.351 MB / 0.5706 GB, free: 30.55 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002137/0.3615, allocations: 1.488 MB / 0.572 GB, free: 29.55 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001754/0.3617, allocations: 10.12 kB / 0.572 GB, free: 29.54 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001447/0.3631, allocations: 0.6921 MB / 0.5727 GB, free: 29.09 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004236/0.3636, allocations: 190.5 kB / 0.5729 GB, free: 28.99 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006595/0.3642, allocations: 250.5 kB / 0.5731 GB, free: 28.87 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.000469/0.3647, allocations: 409.5 kB / 0.5735 GB, free: 28.7 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004977/0.3652, allocations: 303.2 kB / 0.5738 GB, free: 28.58 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001768/0.3654, allocations: 157.5 kB / 0.5739 GB, free: 28.52 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002965/0.3657, allocations: 198.2 kB / 0.5741 GB, free: 28.43 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 4.732e-05/0.3658, allocations: 28.84 kB / 0.5742 GB, free: 28.43 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004347/0.3662, allocations: 231.5 kB / 0.5744 GB, free: 28.35 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001233/0.3663, allocations: 107.9 kB / 0.5745 GB, free: 28.31 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001338/0.3665, allocations: 149.8 kB / 0.5746 GB, free: 28.22 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005983/0.3671, allocations: 454.1 kB / 0.5751 GB, free: 28.06 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.472e-06/0.3671, allocations: 0.7031 kB / 0.5751 GB, free: 28.06 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.3671, allocations: 0.9062 kB / 0.5751 GB, free: 28.06 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.023e-06/0.3671, allocations: 0 / 0.5751 GB, free: 28.06 MB / 446.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.0008755/0.368, allocations: 0.6063 MB / 0.5757 GB, free: 27.55 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.728e-05/0.368, allocations: 9.594 kB / 0.5757 GB, free: 27.55 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.353e-05/0.3681, allocations: 65.5 kB / 0.5757 GB, free: 27.5 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006905/0.3688, allocations: 104.1 kB / 0.5758 GB, free: 27.48 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003301/0.3692, allocations: 275.8 kB / 0.5761 GB, free: 27.23 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.64e-05/0.3692, allocations: 47.73 kB / 0.5761 GB, free: 27.19 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.419e-05/0.3693, allocations: 25.22 kB / 0.5762 GB, free: 27.18 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006648/0.3699, allocations: 425.9 kB / 0.5766 GB, free: 26.97 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.251e-05/0.37, allocations: 0 / 0.5766 GB, free: 26.97 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.096e-05/0.37, allocations: 12.72 kB / 0.5766 GB, free: 26.96 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.745e-05/0.3701, allocations: 33.44 kB / 0.5766 GB, free: 26.95 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006212/0.3707, allocations: 323.3 kB / 0.5769 GB, free: 26.86 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002078/0.3728, allocations: 2.094 MB / 0.579 GB, free: 25.05 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000539/0.3733, allocations: 201.7 kB / 0.5792 GB, free: 24.97 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000322/0.3737, allocations: 138.5 kB / 0.5793 GB, free: 24.93 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.499e-05/0.3737, allocations: 6.734 kB / 0.5793 GB, free: 24.92 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.677e-05/0.3737, allocations: 33.23 kB / 0.5793 GB, free: 24.88 MB / 446.1 MB Notification: Performance of pre-optimization done (n=17): time 1.703e-06/0.3737, allocations: 0 / 0.5793 GB, free: 24.88 MB / 446.1 MB Notification: Performance of matching and sorting (n=17): time 0.0006093/0.3743, allocations: 262.5 kB / 0.5796 GB, free: 24.78 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.006e-05/0.3744, allocations: 52.78 kB / 0.5796 GB, free: 24.72 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002082/0.3746, allocations: 228.2 kB / 0.5798 GB, free: 24.57 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.986e-05/0.3746, allocations: 31.08 kB / 0.5799 GB, free: 24.54 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001018/0.3747, allocations: 192.8 kB / 0.5801 GB, free: 24.37 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.012e-05/0.3748, allocations: 56.72 kB / 0.5801 GB, free: 24.33 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.828e-05/0.3749, allocations: 59.02 kB / 0.5802 GB, free: 24.29 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 8.231e-05/0.375, allocations: 331.6 kB / 0.5805 GB, free: 23.97 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001861/0.3752, allocations: 79.08 kB / 0.5806 GB, free: 23.94 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002279/0.3754, allocations: 187.2 kB / 0.5807 GB, free: 23.78 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00043/0.3758, allocations: 273.8 kB / 0.581 GB, free: 23.59 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.877e-06/0.3758, allocations: 1.188 kB / 0.581 GB, free: 23.59 MB / 446.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005293/0.3764, allocations: 292 kB / 0.5813 GB, free: 23.47 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.774e-05/0.3764, allocations: 4.844 kB / 0.5813 GB, free: 23.47 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.768e-06/0.3764, allocations: 8.5 kB / 0.5813 GB, free: 23.47 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.133e-05/0.3764, allocations: 6.062 kB / 0.5813 GB, free: 23.47 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004004/0.3768, allocations: 67.86 kB / 0.5814 GB, free: 23.46 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007673/0.3776, allocations: 1.399 MB / 0.5827 GB, free: 22.02 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001929/0.3778, allocations: 34.23 kB / 0.5828 GB, free: 22 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.393e-05/0.3779, allocations: 15.44 kB / 0.5828 GB, free: 21.99 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002799/0.3782, allocations: 194 kB / 0.583 GB, free: 21.87 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002132/0.3784, allocations: 189.4 kB / 0.5831 GB, free: 21.69 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003765/0.3788, allocations: 276 kB / 0.5834 GB, free: 21.47 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.585e-06/0.3788, allocations: 5.438 kB / 0.5834 GB, free: 21.46 MB / 446.1 MB Notification: Performance of matching and sorting (n=31) (initialization_lambda0): time 0.0004782/0.3793, allocations: 287.1 kB / 0.5837 GB, free: 21.32 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.302e-05/0.3793, allocations: 10.97 kB / 0.5837 GB, free: 21.32 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.52e-06/0.3793, allocations: 3.25 kB / 0.5837 GB, free: 21.32 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.541e-06/0.3793, allocations: 5.281 kB / 0.5837 GB, free: 21.32 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000359/0.3797, allocations: 67.03 kB / 0.5838 GB, free: 21.3 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006145/0.3803, allocations: 1.412 MB / 0.5851 GB, free: 19.81 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001869/0.3805, allocations: 27.61 kB / 0.5852 GB, free: 19.79 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.743e-05/0.3805, allocations: 13.62 kB / 0.5852 GB, free: 19.79 MB / 446.1 MB 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 9.2e-05/0.3806, allocations: 201.2 kB / 0.5854 GB, free: 19.59 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.521e-05/0.3807, allocations: 25.22 kB / 0.5854 GB, free: 19.58 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.759e-05/0.3807, allocations: 27.77 kB / 0.5854 GB, free: 19.56 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.3807, allocations: 6.297 kB / 0.5854 GB, free: 19.55 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.996e-06/0.3807, allocations: 0 / 0.5854 GB, free: 19.55 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.377e-06/0.3807, allocations: 0 / 0.5854 GB, free: 19.55 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008907/0.3816, allocations: 0.7355 MB / 0.5861 GB, free: 18.91 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.238e-06/0.3817, allocations: 2.031 kB / 0.5861 GB, free: 18.91 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003351/0.382, allocations: 48.31 kB / 0.5862 GB, free: 18.89 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.358e-06/0.382, allocations: 3.188 kB / 0.5862 GB, free: 18.89 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.457e-05/0.382, allocations: 5.625 kB / 0.5862 GB, free: 18.89 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.116e-06/0.382, allocations: 2.812 kB / 0.5862 GB, free: 18.89 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.382, allocations: 6.125 kB / 0.5862 GB, free: 18.89 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000332/0.3824, allocations: 327.6 kB / 0.5865 GB, free: 18.62 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.666e-05/0.3824, allocations: 102.5 kB / 0.5866 GB, free: 18.52 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.492e-05/0.3825, allocations: 6.656 kB / 0.5866 GB, free: 18.51 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000127/0.3826, allocations: 11.64 kB / 0.5866 GB, free: 18.51 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.399e-05/0.3827, allocations: 15.08 kB / 0.5867 GB, free: 18.5 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.049e-05/0.3827, allocations: 12.84 kB / 0.5867 GB, free: 18.49 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.000106/0.3828, allocations: 163.3 kB / 0.5868 GB, free: 18.38 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3828, allocations: 4 kB / 0.5868 GB, free: 18.37 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0005184/0.3833, allocations: 124.4 kB / 0.5869 GB, free: 18.34 MB / 446.1 MB 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.0005054/0.3838, allocations: 0.8471 MB / 0.5878 GB, free: 17.56 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0009102/0.3848, allocations: 337.1 kB / 0.5881 GB, free: 17.42 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.3848, allocations: 0 / 0.5881 GB, free: 17.42 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003163/0.3851, allocations: 94.16 kB / 0.5882 GB, free: 17.38 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000411/0.3855, allocations: 55.8 kB / 0.5882 GB, free: 17.35 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002584/0.3881, allocations: 2.565 MB / 0.5907 GB, free: 15.22 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001726/0.3883, allocations: 0.775 MB / 0.5915 GB, free: 14.48 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001701/0.3885, allocations: 63.08 kB / 0.5916 GB, free: 14.45 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.619e-05/0.3886, allocations: 71.53 kB / 0.5916 GB, free: 14.39 MB / 446.1 MB Notification: Performance of SimCode: time 4.81e-07/0.3886, allocations: 0 / 0.5916 GB, free: 14.39 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02149/0.4101, allocations: 4.763 MB / 0.5963 GB, free: 12.08 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.24/10.65, allocations: 4.062 kB / 0.5963 GB, free: 12.08 MB / 446.1 MB (rm -f IBPSA_latest_IBPSA.Electrical.DC.Conversion.Examples.DCDCConverter.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.DC.Conversion.Examples.DCDCConverter.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.DC.Conversion.Examples.DCDCConverter.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.DC.Conversion.Examples.DCDCConverter.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Electrical.DC.Conversion.Examples.DCDCConverter_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IBPSA_latest_IBPSA_Electrical_DC_Conversion_Examples_DCDCConverter.fmu > IBPSA_latest_IBPSA.Electrical.DC.Conversion.Examples.DCDCConverter.pipe 2>&1)