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 2.568/2.568, allocations: 287.5 MB / 302.4 MB, free: 8.371 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.001342/0.001342, allocations: 172.7 kB / 371 MB, free: 10.85 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.074/2.074, allocations: 205.4 MB / 0.6297 GB, free: 10.57 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.0009182/0.0009179, allocations: 84.2 kB / 0.743 GB, free: 6.574 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004748/0.000475, allocations: 10.41 kB / 0.8659 GB, free: 141.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2197/0.2202, allocations: 115.3 MB / 0.9785 GB, free: 28.25 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Conversion.Examples.DCDCConverter): time 0.004365/0.2246, allocations: 2.903 MB / 0.9813 GB, free: 25.33 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.00273/0.2274, allocations: 1.399 MB / 0.9827 GB, free: 23.93 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002135/0.2277, allocations: 4 kB / 0.9827 GB, free: 23.92 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0002429/0.228, allocations: 47.62 kB / 0.9827 GB, free: 23.88 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0005017/0.2285, allocations: 143.3 kB / 0.9828 GB, free: 23.73 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007859/0.2293, allocations: 186.1 kB / 0.983 GB, free: 23.55 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0007111/0.23, allocations: 467 kB / 0.9835 GB, free: 23.1 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000448/0.2305, allocations: 315 kB / 0.9838 GB, free: 22.76 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002441/0.2307, allocations: 127.5 kB / 0.9839 GB, free: 22.64 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004135/0.2312, allocations: 179.3 kB / 0.9841 GB, free: 22.46 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 6.293e-05/0.2312, allocations: 16 kB / 0.9841 GB, free: 22.45 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004507/0.2317, allocations: 107.9 kB / 0.9842 GB, free: 22.34 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.000129/0.2318, allocations: 99.69 kB / 0.9843 GB, free: 22.24 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 8.933e-05/0.232, allocations: 73.52 kB / 0.9843 GB, free: 22.16 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0005226/0.2325, allocations: 331.4 kB / 0.9847 GB, free: 21.84 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 7.595e-06/0.2325, allocations: 0 / 0.9847 GB, free: 21.84 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.114e-06/0.2325, allocations: 4 kB / 0.9847 GB, free: 21.84 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.424e-06/0.2325, allocations: 0 / 0.9847 GB, free: 21.84 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.0012/0.2338, allocations: 0.5535 MB / 0.9852 GB, free: 21.23 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.763e-05/0.2338, allocations: 16 kB / 0.9852 GB, free: 21.22 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.287e-05/0.2339, allocations: 66.48 kB / 0.9853 GB, free: 21.14 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001015/0.235, allocations: 115.5 kB / 0.9854 GB, free: 21.03 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005319/0.2355, allocations: 259.3 kB / 0.9856 GB, free: 20.74 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.292e-05/0.2356, allocations: 50.2 kB / 0.9857 GB, free: 20.68 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.488e-05/0.2357, allocations: 31.94 kB / 0.9857 GB, free: 20.65 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009772/0.2367, allocations: 416.5 kB / 0.9861 GB, free: 20.22 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.171e-05/0.2367, allocations: 3.938 kB / 0.9861 GB, free: 20.21 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.557e-05/0.2368, allocations: 12 kB / 0.9861 GB, free: 20.2 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.801e-05/0.2369, allocations: 36.48 kB / 0.9862 GB, free: 20.17 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009173/0.2378, allocations: 334 kB / 0.9865 GB, free: 19.84 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00278/0.2406, allocations: 2.104 MB / 0.9885 GB, free: 17.52 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007972/0.2414, allocations: 206.7 kB / 0.9887 GB, free: 17.3 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004727/0.2419, allocations: 140.8 kB / 0.9889 GB, free: 17.16 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.652e-05/0.242, allocations: 7.891 kB / 0.9889 GB, free: 17.16 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.836e-05/0.242, allocations: 38.56 kB / 0.9889 GB, free: 17.11 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=17): time 3.647e-06/0.242, allocations: 0 / 0.9889 GB, free: 17.11 MB / 0.6198 GB Notification: Performance of matching and sorting (n=17): time 0.0009261/0.243, allocations: 272 kB / 0.9892 GB, free: 16.84 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.212e-05/0.243, allocations: 51.41 kB / 0.9892 GB, free: 16.78 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002399/0.2433, allocations: 228.9 kB / 0.9894 GB, free: 16.55 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 5.971e-05/0.2433, allocations: 25.7 kB / 0.9895 GB, free: 16.52 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.000113/0.2435, allocations: 195.9 kB / 0.9896 GB, free: 16.32 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 4.693e-05/0.2435, allocations: 59.19 kB / 0.9897 GB, free: 16.26 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.611e-05/0.2436, allocations: 4 kB / 0.9897 GB, free: 16.25 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.759e-05/0.2436, allocations: 326.8 kB / 0.99 GB, free: 15.93 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002786/0.2439, allocations: 79.94 kB / 0.9901 GB, free: 15.85 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003305/0.2443, allocations: 185.6 kB / 0.9903 GB, free: 15.62 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003238/0.2446, allocations: 111.9 kB / 0.9904 GB, free: 15.51 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.16e-06/0.2446, allocations: 3.953 kB / 0.9904 GB, free: 15.5 MB / 0.6198 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0007747/0.2454, allocations: 307.4 kB / 0.9907 GB, free: 15.2 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 8.178e-05/0.2455, allocations: 193.2 kB / 0.9909 GB, free: 14.96 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.596e-06/0.2455, allocations: 0 / 0.9909 GB, free: 14.96 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.963e-05/0.2456, allocations: 8 kB / 0.9909 GB, free: 14.95 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007163/0.2463, allocations: 67.91 kB / 0.9909 GB, free: 14.89 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000986/0.2473, allocations: 1.306 MB / 0.9922 GB, free: 13.45 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003077/0.2476, allocations: 35.69 kB / 0.9922 GB, free: 13.41 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.657e-05/0.2476, allocations: 12 kB / 0.9923 GB, free: 13.4 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 7.555e-06/0.2477, allocations: 7.953 kB / 0.9923 GB, free: 13.39 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006829/0.2484, allocations: 251.9 kB / 0.9925 GB, free: 13.15 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.451e-06/0.2484, allocations: 8.094 kB / 0.9925 GB, free: 13.14 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.674e-06/0.2484, allocations: 8 kB / 0.9925 GB, free: 13.13 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006792/0.2491, allocations: 67.91 kB / 0.9926 GB, free: 13.07 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008984/0.25, allocations: 1.31 MB / 0.9939 GB, free: 11.62 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002833/0.2503, allocations: 23.84 kB / 0.9939 GB, free: 11.6 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.586e-05/0.2503, allocations: 19.98 kB / 0.9939 GB, free: 11.58 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.0002193/0.2506, allocations: 234.3 kB / 0.9941 GB, free: 11.34 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.064e-05/0.2506, allocations: 31.66 kB / 0.9942 GB, free: 11.31 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.475e-05/0.2507, allocations: 30.27 kB / 0.9942 GB, free: 11.29 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.347e-06/0.2507, allocations: 0 / 0.9942 GB, free: 11.29 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.2507, allocations: 4 kB / 0.9942 GB, free: 11.28 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.968e-06/0.2508, allocations: 0 / 0.9942 GB, free: 11.28 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001351/0.2521, allocations: 0.7466 MB / 0.9949 GB, free: 10.44 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.088e-06/0.2521, allocations: 0 / 0.9949 GB, free: 10.44 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006303/0.2528, allocations: 51.95 kB / 0.995 GB, free: 10.39 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.901e-06/0.2528, allocations: 0 / 0.995 GB, free: 10.39 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.906e-05/0.2528, allocations: 12.16 kB / 0.995 GB, free: 10.38 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.32e-06/0.2528, allocations: 7.938 kB / 0.995 GB, free: 10.37 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.2528, allocations: 0 / 0.995 GB, free: 10.37 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005941/0.2535, allocations: 325.2 kB / 0.9953 GB, free: 10.02 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001019/0.2536, allocations: 112.8 kB / 0.9954 GB, free: 9.895 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.739e-05/0.2536, allocations: 7.938 kB / 0.9954 GB, free: 9.887 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002154/0.2538, allocations: 8 kB / 0.9954 GB, free: 9.879 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.331e-05/0.2539, allocations: 27.92 kB / 0.9954 GB, free: 9.852 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.573e-05/0.254, allocations: 4 kB / 0.9954 GB, free: 9.848 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001618/0.2541, allocations: 156.5 kB / 0.9956 GB, free: 9.695 MB / 0.6198 GB Notification: Performance of sort global known variables: time 4.3e-07/0.2541, allocations: 4 kB / 0.9956 GB, free: 9.691 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0006771/0.2548, allocations: 115.6 kB / 0.9957 GB, free: 9.578 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.0008003/0.2556, allocations: 0.866 MB / 0.9966 GB, free: 8.672 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001575/0.2572, allocations: 339.8 kB / 0.9969 GB, free: 8.34 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 5.831e-06/0.2573, allocations: 3.938 kB / 0.9969 GB, free: 8.336 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0005953/0.2579, allocations: 101.5 kB / 0.997 GB, free: 8.238 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006127/0.2585, allocations: 38.59 kB / 0.997 GB, free: 8.203 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002892/0.2614, allocations: 1.429 MB / 0.9984 GB, free: 6.652 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002623/0.2617, allocations: 0.7716 MB / 0.9992 GB, free: 5.855 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0003159/0.262, allocations: 69.88 kB / 0.9992 GB, free: 5.785 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001401/0.2622, allocations: 75.34 kB / 0.9993 GB, free: 5.711 MB / 0.6198 GB Notification: Performance of SimCode: time 1.292e-06/0.2622, allocations: 0 / 0.9993 GB, free: 5.711 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02992/0.2921, allocations: 4.423 MB / 1.004 GB, free: 1.492 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001766/0.2924, allocations: 225.6 kB / 1.004 GB, free: 1.254 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.687/2.979, allocations: 4 kB / 1.004 GB, free: 1.25 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)