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.001446/0.001446, allocations: 107.1 kB / 15.99 MB, free: 6.359 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.001437/0.001437, allocations: 190.3 kB / 16.91 MB, free: 6.195 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.389/1.389, allocations: 222.9 MB / 240.6 MB, free: 15.39 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002472/0.002472, allocations: 286.5 kB / 291 MB, free: 14.7 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.177/1.177, allocations: 178.5 MB / 0.5076 GB, free: 12.7 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.004286/0.004286, allocations: 99.84 kB / 0.6066 GB, free: 9.652 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1986/0.2029, allocations: 89.13 MB / 0.6936 GB, free: 444 kB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.DC.Conversion.Examples.DCDCConverter): time 0.005064/0.208, allocations: 3.407 MB / 0.6969 GB, free: 13 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002272/0.2103, allocations: 1.48 MB / 0.6984 GB, free: 11.51 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001226/0.2105, allocations: 4 kB / 0.6984 GB, free: 11.51 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001479/0.212, allocations: 0.6622 MB / 0.699 GB, free: 10.84 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0004168/0.2124, allocations: 179.2 kB / 0.6992 GB, free: 10.66 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005937/0.213, allocations: 225.7 kB / 0.6994 GB, free: 10.45 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0004624/0.2135, allocations: 415.2 kB / 0.6998 GB, free: 10.04 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005467/0.2141, allocations: 331.8 kB / 0.7001 GB, free: 9.719 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001894/0.2143, allocations: 171.4 kB / 0.7003 GB, free: 9.551 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003129/0.2146, allocations: 199.3 kB / 0.7005 GB, free: 9.355 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 4.037e-05/0.2146, allocations: 24 kB / 0.7005 GB, free: 9.332 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003696/0.215, allocations: 235.5 kB / 0.7007 GB, free: 9.102 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001158/0.2151, allocations: 103.7 kB / 0.7008 GB, free: 9 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.000147/0.2153, allocations: 147.3 kB / 0.701 GB, free: 8.855 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0004288/0.2157, allocations: 355.1 kB / 0.7013 GB, free: 8.508 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.2157, allocations: 0 / 0.7013 GB, free: 8.508 MB / 0.545 GB Notification: Performance of FrontEnd: time 3.236e-06/0.2157, allocations: 4 kB / 0.7013 GB, free: 8.504 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.016e-05/0.2158, allocations: 0 / 0.7013 GB, free: 8.504 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.000996/0.2168, allocations: 0.5966 MB / 0.7019 GB, free: 7.855 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.839e-05/0.2168, allocations: 12.03 kB / 0.7019 GB, free: 7.844 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006658/0.2175, allocations: 104.5 kB / 0.702 GB, free: 7.742 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003528/0.2178, allocations: 272.5 kB / 0.7023 GB, free: 7.434 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.277e-05/0.2179, allocations: 42.83 kB / 0.7023 GB, free: 7.387 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.473e-05/0.218, allocations: 36.31 kB / 0.7024 GB, free: 7.352 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006988/0.2187, allocations: 428.5 kB / 0.7028 GB, free: 6.898 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.134e-05/0.2187, allocations: 0 / 0.7028 GB, free: 6.898 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.212e-05/0.2187, allocations: 11.98 kB / 0.7028 GB, free: 6.887 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.596e-05/0.2188, allocations: 32.55 kB / 0.7028 GB, free: 6.855 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006038/0.2194, allocations: 329.9 kB / 0.7031 GB, free: 6.535 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002294/0.2217, allocations: 2.092 MB / 0.7052 GB, free: 4.219 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005434/0.2223, allocations: 206.6 kB / 0.7054 GB, free: 4.008 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003308/0.2226, allocations: 136.8 kB / 0.7055 GB, free: 3.871 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.64e-05/0.2226, allocations: 3.984 kB / 0.7055 GB, free: 3.867 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.356e-05/0.2227, allocations: 30.56 kB / 0.7055 GB, free: 3.828 MB / 0.545 GB Notification: Performance of pre-optimization done (n=17): time 1.563e-06/0.2227, allocations: 4 kB / 0.7055 GB, free: 3.824 MB / 0.545 GB Notification: Performance of matching and sorting (n=17): time 0.0006306/0.2233, allocations: 259.8 kB / 0.7058 GB, free: 3.566 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.302e-05/0.2234, allocations: 59.34 kB / 0.7058 GB, free: 3.496 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002242/0.2236, allocations: 225 kB / 0.706 GB, free: 3.273 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.087e-05/0.2236, allocations: 33.7 kB / 0.7061 GB, free: 3.234 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001314/0.2238, allocations: 191.8 kB / 0.7063 GB, free: 3.039 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 5.319e-05/0.2238, allocations: 63.19 kB / 0.7063 GB, free: 2.977 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.618e-05/0.2239, allocations: 57.61 kB / 0.7064 GB, free: 2.914 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001423/0.2241, allocations: 326.8 kB / 0.7067 GB, free: 2.586 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000191/0.2243, allocations: 80.8 kB / 0.7068 GB, free: 2.504 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002534/0.2245, allocations: 173.7 kB / 0.7069 GB, free: 2.285 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000436/0.225, allocations: 275.1 kB / 0.7072 GB, free: 1.973 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.574e-06/0.225, allocations: 3.938 kB / 0.7072 GB, free: 1.969 MB / 0.545 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005291/0.2255, allocations: 289 kB / 0.7075 GB, free: 1.68 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.098e-05/0.2256, allocations: 8 kB / 0.7075 GB, free: 1.672 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.775e-06/0.2256, allocations: 0 / 0.7075 GB, free: 1.672 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.934e-05/0.2256, allocations: 15.88 kB / 0.7075 GB, free: 1.656 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004047/0.226, allocations: 68.33 kB / 0.7076 GB, free: 1.59 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00119/0.2272, allocations: 1.404 MB / 0.7089 GB, free: 52 kB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002097/0.2274, allocations: 35.67 kB / 0.709 GB, free: 16 kB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.029e-05/0.2275, allocations: 12 kB / 0.709 GB, free: 4 kB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.2361/0.4636, allocations: 188.4 kB / 0.7092 GB, free: 49.88 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002006/0.4638, allocations: 182.5 kB / 0.7093 GB, free: 49.74 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003408/0.4642, allocations: 279.2 kB / 0.7096 GB, free: 49.62 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.595e-06/0.4642, allocations: 0 / 0.7096 GB, free: 49.62 MB / 0.545 GB Notification: Performance of matching and sorting (n=31) (initialization_lambda0): time 0.0005041/0.4647, allocations: 292.8 kB / 0.7099 GB, free: 49.59 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.268e-05/0.4647, allocations: 5.125 kB / 0.7099 GB, free: 49.59 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/0.4647, allocations: 3.938 kB / 0.7099 GB, free: 49.59 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.524e-06/0.4647, allocations: 7.031 kB / 0.7099 GB, free: 49.59 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003841/0.4651, allocations: 64.23 kB / 0.71 GB, free: 49.59 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006747/0.4658, allocations: 1.408 MB / 0.7113 GB, free: 48.19 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001994/0.466, allocations: 25.11 kB / 0.7114 GB, free: 48.19 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.7e-05/0.466, allocations: 12.56 kB / 0.7114 GB, free: 48.19 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.0001019/0.4661, allocations: 207 kB / 0.7116 GB, free: 48.01 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.541e-05/0.4662, allocations: 19.28 kB / 0.7116 GB, free: 48.01 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.539e-05/0.4663, allocations: 25.77 kB / 0.7116 GB, free: 48 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.4663, allocations: 1.906 kB / 0.7116 GB, free: 48 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.685e-06/0.4663, allocations: 1.688 kB / 0.7116 GB, free: 48 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.4663, allocations: 1.547 kB / 0.7116 GB, free: 48 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008999/0.4672, allocations: 0.7352 MB / 0.7123 GB, free: 47.57 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.387e-06/0.4672, allocations: 1.812 kB / 0.7123 GB, free: 47.57 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003705/0.4676, allocations: 51.45 kB / 0.7124 GB, free: 47.57 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.228e-06/0.4676, allocations: 3.062 kB / 0.7124 GB, free: 47.57 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.625e-05/0.4676, allocations: 9 kB / 0.7124 GB, free: 47.57 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.177e-06/0.4676, allocations: 2.312 kB / 0.7124 GB, free: 47.57 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/0.4676, allocations: 1.766 kB / 0.7124 GB, free: 47.57 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003792/0.468, allocations: 318.9 kB / 0.7127 GB, free: 47.4 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 6.917e-05/0.4681, allocations: 112.8 kB / 0.7128 GB, free: 47.29 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.858e-05/0.4681, allocations: 9.312 kB / 0.7128 GB, free: 47.29 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001349/0.4683, allocations: 12.28 kB / 0.7128 GB, free: 47.29 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.156e-05/0.4683, allocations: 19.23 kB / 0.7128 GB, free: 47.29 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.319e-05/0.4683, allocations: 6.406 kB / 0.7129 GB, free: 47.29 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001284/0.4685, allocations: 164.8 kB / 0.713 GB, free: 47.21 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4685, allocations: 0 / 0.713 GB, free: 47.21 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0005425/0.469, allocations: 120.1 kB / 0.7131 GB, free: 47.2 MB / 0.545 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 7.882e-05/0.4691, allocations: 105.7 kB / 0.7132 GB, free: 47.11 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0008915/0.47, allocations: 339.2 kB / 0.7135 GB, free: 47.11 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.47, allocations: 0 / 0.7135 GB, free: 47.11 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0003077/0.4703, allocations: 95.92 kB / 0.7136 GB, free: 47.11 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004115/0.4708, allocations: 56.19 kB / 0.7137 GB, free: 47.11 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007422/0.4715, allocations: 0.6252 MB / 0.7143 GB, free: 46.71 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001627/0.4717, allocations: 0.7776 MB / 0.7151 GB, free: 46.02 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.405e-05/0.4717, allocations: 23.56 kB / 0.7151 GB, free: 46.01 MB / 0.545 GB Notification: Performance of SimCode: time 2.4e-07/0.4718, allocations: 0 / 0.7151 GB, free: 46.01 MB / 0.545 GB Notification: Performance of Templates: time 0.004758/0.4765, allocations: 3.889 MB / 0.7189 GB, free: 45.8 MB / 0.545 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)