Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.DC.Conversion.Examples.DCDCConverter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.DC.Conversion.Examples.DCDCConverter,fileNamePrefix="Buildings_8_0_0_Buildings_Electrical_DC_Conversion_Examples_DCDCConverter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.DC.Conversion.Examples.DCDCConverter,fileNamePrefix="Buildings_8_0_0_Buildings_Electrical_DC_Conversion_Examples_DCDCConverter",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.661/1.661, allocations: 287.4 MB / 302.6 MB, free: 8.211 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00141/0.001411, allocations: 190 kB / 371.1 MB, free: 10.81 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.642/1.642, allocations: 205.4 MB / 0.6298 GB, free: 10.54 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000855/0.0008552, allocations: 91.67 kB / 0.7431 GB, free: 6.551 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004343/0.0004343, allocations: 13.25 kB / 0.8662 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2496/0.2501, allocations: 115.3 MB / 0.9787 GB, free: 28.13 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Conversion.Examples.DCDCConverter): time 0.003829/0.254, allocations: 2.922 MB / 0.9816 GB, free: 25.19 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001938/0.256, allocations: 1.387 MB / 0.9829 GB, free: 23.8 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002532/0.2562, allocations: 7.938 kB / 0.9829 GB, free: 23.79 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0002536/0.2565, allocations: 51.62 kB / 0.983 GB, free: 23.74 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0005309/0.2571, allocations: 143.3 kB / 0.9831 GB, free: 23.6 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006231/0.2577, allocations: 181.5 kB / 0.9833 GB, free: 23.42 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0004849/0.2582, allocations: 475 kB / 0.9837 GB, free: 22.96 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003673/0.2586, allocations: 320.4 kB / 0.9841 GB, free: 22.62 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001911/0.2588, allocations: 127.5 kB / 0.9842 GB, free: 22.49 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003053/0.2591, allocations: 179.4 kB / 0.9843 GB, free: 22.32 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 4.624e-05/0.2591, allocations: 16 kB / 0.9844 GB, free: 22.3 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002397/0.2594, allocations: 119.8 kB / 0.9845 GB, free: 22.18 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 8.076e-05/0.2595, allocations: 91.7 kB / 0.9846 GB, free: 22.09 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 5.603e-05/0.2595, allocations: 73.52 kB / 0.9846 GB, free: 22.02 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0003273/0.2599, allocations: 335.4 kB / 0.985 GB, free: 21.69 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.2599, allocations: 0 / 0.985 GB, free: 21.69 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.513e-06/0.2599, allocations: 0 / 0.985 GB, free: 21.69 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.124e-05/0.2599, allocations: 0 / 0.985 GB, free: 21.69 MB / 0.6198 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.0008582/0.2608, allocations: 0.5537 MB / 0.9855 GB, free: 21.08 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.54e-05/0.2608, allocations: 12.03 kB / 0.9855 GB, free: 21.07 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.748e-05/0.2609, allocations: 66.72 kB / 0.9856 GB, free: 21 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006128/0.2615, allocations: 108.5 kB / 0.9857 GB, free: 20.89 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002967/0.2618, allocations: 280.3 kB / 0.9859 GB, free: 20.58 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.886e-05/0.2619, allocations: 50.81 kB / 0.986 GB, free: 20.52 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.432e-05/0.262, allocations: 24.38 kB / 0.986 GB, free: 20.5 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005944/0.2626, allocations: 436.8 kB / 0.9864 GB, free: 20.05 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.432e-05/0.2626, allocations: 0 / 0.9864 GB, free: 20.05 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.877e-05/0.2626, allocations: 12 kB / 0.9864 GB, free: 20.04 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.593e-05/0.2627, allocations: 28.55 kB / 0.9865 GB, free: 20.01 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005402/0.2632, allocations: 337.9 kB / 0.9868 GB, free: 19.68 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001855/0.2651, allocations: 2.092 MB / 0.9888 GB, free: 17.36 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005105/0.2656, allocations: 213 kB / 0.989 GB, free: 17.15 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002828/0.2659, allocations: 140.7 kB / 0.9892 GB, free: 17.01 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.466e-05/0.2659, allocations: 4 kB / 0.9892 GB, free: 17 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.687e-05/0.266, allocations: 38.55 kB / 0.9892 GB, free: 16.96 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=17): time 1.343e-06/0.266, allocations: 0 / 0.9892 GB, free: 16.96 MB / 0.6198 GB Notification: Performance of matching and sorting (n=17): time 0.0005791/0.2666, allocations: 273.2 kB / 0.9895 GB, free: 16.68 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.337e-05/0.2666, allocations: 59.34 kB / 0.9895 GB, free: 16.61 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001956/0.2668, allocations: 224.9 kB / 0.9897 GB, free: 16.39 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.836e-05/0.2668, allocations: 25.7 kB / 0.9898 GB, free: 16.36 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 8.749e-05/0.2669, allocations: 195.9 kB / 0.99 GB, free: 16.16 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.583e-05/0.267, allocations: 55.2 kB / 0.99 GB, free: 16.1 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.007e-05/0.267, allocations: 4 kB / 0.99 GB, free: 16.1 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.715e-05/0.2671, allocations: 338.8 kB / 0.9903 GB, free: 15.76 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001626/0.2672, allocations: 75.95 kB / 0.9904 GB, free: 15.68 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001938/0.2674, allocations: 193.6 kB / 0.9906 GB, free: 15.45 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003603/0.2678, allocations: 283.1 kB / 0.9909 GB, free: 15.12 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.009e-06/0.2678, allocations: 8 kB / 0.9909 GB, free: 15.12 MB / 0.6198 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004995/0.2683, allocations: 297.2 kB / 0.9911 GB, free: 14.82 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 8.552e-05/0.2684, allocations: 189.1 kB / 0.9913 GB, free: 14.59 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.207e-06/0.2685, allocations: 11.98 kB / 0.9913 GB, free: 14.57 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.247e-05/0.2685, allocations: 4 kB / 0.9913 GB, free: 14.57 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003645/0.2689, allocations: 67.91 kB / 0.9914 GB, free: 14.5 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007621/0.2696, allocations: 1.306 MB / 0.9927 GB, free: 13.07 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000179/0.2698, allocations: 35.69 kB / 0.9927 GB, free: 13.04 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.992e-05/0.2698, allocations: 19.98 kB / 0.9927 GB, free: 13.02 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 8.025e-06/0.2699, allocations: 9.969 kB / 0.9927 GB, free: 13.01 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003966/0.2703, allocations: 243.6 kB / 0.993 GB, free: 12.77 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.2703, allocations: 4 kB / 0.993 GB, free: 12.77 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.761e-06/0.2703, allocations: 8.375 kB / 0.993 GB, free: 12.76 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003379/0.2706, allocations: 71.89 kB / 0.9931 GB, free: 12.69 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006107/0.2713, allocations: 1.306 MB / 0.9943 GB, free: 11.25 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001664/0.2714, allocations: 39.92 kB / 0.9944 GB, free: 11.21 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.529e-05/0.2715, allocations: 8 kB / 0.9944 GB, free: 11.2 MB / 0.6198 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 (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001395/0.2716, allocations: 234.3 kB / 0.9946 GB, free: 10.96 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.116e-05/0.2717, allocations: 27.72 kB / 0.9946 GB, free: 10.94 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.464e-05/0.2717, allocations: 26.17 kB / 0.9947 GB, free: 10.91 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.726e-06/0.2717, allocations: 4 kB / 0.9947 GB, free: 10.91 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.584e-06/0.2717, allocations: 0 / 0.9947 GB, free: 10.91 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.968e-06/0.2717, allocations: 7.984 kB / 0.9947 GB, free: 10.9 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008695/0.2726, allocations: 0.7466 MB / 0.9954 GB, free: 10.06 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.487e-06/0.2726, allocations: 3.984 kB / 0.9954 GB, free: 10.06 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003136/0.2729, allocations: 51.91 kB / 0.9954 GB, free: 10.01 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.117e-06/0.273, allocations: 4 kB / 0.9955 GB, free: 10 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.196e-05/0.273, allocations: 0 / 0.9955 GB, free: 10 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.477e-06/0.273, allocations: 7.938 kB / 0.9955 GB, free: 9.996 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.273, allocations: 0 / 0.9955 GB, free: 9.996 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003666/0.2734, allocations: 333.1 kB / 0.9958 GB, free: 9.641 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 6.878e-05/0.2734, allocations: 116.7 kB / 0.9959 GB, free: 9.508 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.425e-05/0.2735, allocations: 11.94 kB / 0.9959 GB, free: 9.496 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001282/0.2736, allocations: 11.94 kB / 0.9959 GB, free: 9.484 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.301e-05/0.2737, allocations: 15.97 kB / 0.9959 GB, free: 9.469 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.997e-06/0.2737, allocations: 8 kB / 0.9959 GB, free: 9.461 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001099/0.2738, allocations: 164.5 kB / 0.9961 GB, free: 9.301 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.51e-07/0.2738, allocations: 0 / 0.9961 GB, free: 9.301 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.000452/0.2743, allocations: 111.7 kB / 0.9962 GB, free: 9.191 MB / 0.6198 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005311/0.2748, allocations: 0.8607 MB / 0.997 GB, free: 8.289 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0008818/0.2757, allocations: 346.5 kB / 0.9974 GB, free: 7.953 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.2757, allocations: 0 / 0.9974 GB, free: 7.953 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0003422/0.2761, allocations: 100.6 kB / 0.9975 GB, free: 7.855 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004112/0.2765, allocations: 44.17 kB / 0.9975 GB, free: 7.816 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001913/0.2784, allocations: 1.432 MB / 0.9989 GB, free: 6.266 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002242/0.2786, allocations: 0.7755 MB / 0.9997 GB, free: 5.465 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001881/0.2788, allocations: 61.83 kB / 0.9997 GB, free: 5.402 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.054e-05/0.2789, allocations: 75.41 kB / 0.9998 GB, free: 5.328 MB / 0.6198 GB Notification: Performance of SimCode: time 3.21e-07/0.2789, allocations: 0 / 0.9998 GB, free: 5.328 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01618/0.2951, allocations: 4.389 MB / 1.004 GB, free: 1.137 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001379/0.2953, allocations: 214.2 kB / 1.004 GB, free: 0.8984 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.889/2.184, allocations: 0 / 1.004 GB, free: 0.8984 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.Electrical.DC.Conversion.Examples.DCDCConverter.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.DC.Conversion.Examples.DCDCConverter.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.DC.Conversion.Examples.DCDCConverter.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.DC.Conversion.Examples.DCDCConverter.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Electrical_DC_Conversion_Examples_DCDCConverter_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Electrical_DC_Conversion_Examples_DCDCConverter.fmu > Buildings_8.0.0_Buildings.Electrical.DC.Conversion.Examples.DCDCConverter.pipe 2>&1)