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.005267/0.005267, allocations: 102.3 kB / 15.73 MB, free: 5.578 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.001355/0.001355, allocations: 195.2 kB / 16.68 MB, free: 5.52 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.29/1.29, allocations: 222.9 MB / 240.4 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002042/0.002042, allocations: 281.7 kB / 290.8 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9356/0.9356, allocations: 169.2 MB / 0.4983 GB, free: 4.441 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001798/0.001798, allocations: 96.14 kB / 0.6814 GB, free: 6.98 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4282/0.43, allocations: 86.98 MB / 0.7664 GB, free: 3.891 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.DC.Conversion.Examples.DCDCConverter): time 0.004644/0.4347, allocations: 3.363 MB / 0.7696 GB, free: 0.5156 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.002278/0.437, allocations: 1.48 MB / 0.7711 GB, free: 15.03 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001891/0.4372, allocations: 4 kB / 0.7711 GB, free: 15.03 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001485/0.4387, allocations: 0.7048 MB / 0.7718 GB, free: 14.32 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0004645/0.4392, allocations: 187.1 kB / 0.772 GB, free: 14.13 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005994/0.4398, allocations: 251.3 kB / 0.7722 GB, free: 13.89 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0004666/0.4403, allocations: 407.2 kB / 0.7726 GB, free: 13.49 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004822/0.4408, allocations: 304.4 kB / 0.7729 GB, free: 13.19 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002102/0.441, allocations: 163.5 kB / 0.773 GB, free: 13.03 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003098/0.4413, allocations: 187.3 kB / 0.7732 GB, free: 12.85 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 4.882e-05/0.4414, allocations: 28 kB / 0.7732 GB, free: 12.82 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003752/0.4417, allocations: 243.4 kB / 0.7735 GB, free: 12.58 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001086/0.4419, allocations: 107.7 kB / 0.7736 GB, free: 12.48 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001501/0.442, allocations: 155.2 kB / 0.7737 GB, free: 12.32 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0005075/0.4425, allocations: 453.1 kB / 0.7742 GB, free: 11.88 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.447e-06/0.4425, allocations: 0 / 0.7742 GB, free: 11.88 MB / 0.545 GB Notification: Performance of FrontEnd: time 9.82e-07/0.4426, allocations: 0 / 0.7742 GB, free: 11.88 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.12e-05/0.4426, allocations: 0 / 0.7742 GB, free: 11.88 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.0009076/0.4435, allocations: 0.6004 MB / 0.7747 GB, free: 11.23 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.212e-05/0.4435, allocations: 8.031 kB / 0.7748 GB, free: 11.23 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006897/0.4442, allocations: 104.5 kB / 0.7749 GB, free: 11.12 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003503/0.4446, allocations: 280.2 kB / 0.7751 GB, free: 10.81 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.638e-05/0.4446, allocations: 58.8 kB / 0.7752 GB, free: 10.75 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.178e-05/0.4447, allocations: 28.38 kB / 0.7752 GB, free: 10.72 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006686/0.4454, allocations: 420.6 kB / 0.7756 GB, free: 10.29 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.18e-05/0.4454, allocations: 0 / 0.7756 GB, free: 10.29 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.231e-05/0.4454, allocations: 16 kB / 0.7756 GB, free: 10.27 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.483e-05/0.4455, allocations: 28.55 kB / 0.7756 GB, free: 10.24 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006117/0.4461, allocations: 329.9 kB / 0.776 GB, free: 9.918 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002222/0.4483, allocations: 2.088 MB / 0.778 GB, free: 7.609 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005706/0.4489, allocations: 202.7 kB / 0.7782 GB, free: 7.402 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000316/0.4493, allocations: 132.7 kB / 0.7783 GB, free: 7.27 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.356e-05/0.4493, allocations: 0 / 0.7783 GB, free: 7.27 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.822e-05/0.4493, allocations: 38.56 kB / 0.7784 GB, free: 7.223 MB / 0.545 GB Notification: Performance of pre-optimization done (n=17): time 1.032e-06/0.4493, allocations: 0 / 0.7784 GB, free: 7.223 MB / 0.545 GB Notification: Performance of matching and sorting (n=17): time 0.000638/0.45, allocations: 260.2 kB / 0.7786 GB, free: 6.965 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.29e-05/0.45, allocations: 55.34 kB / 0.7787 GB, free: 6.898 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000217/0.4502, allocations: 228.9 kB / 0.7789 GB, free: 6.668 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.171e-05/0.4503, allocations: 25.7 kB / 0.7789 GB, free: 6.637 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001264/0.4504, allocations: 195.9 kB / 0.7791 GB, free: 6.441 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.302e-05/0.4505, allocations: 63.19 kB / 0.7791 GB, free: 6.379 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.643e-05/0.4505, allocations: 53.61 kB / 0.7792 GB, free: 6.32 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001202/0.4507, allocations: 326.8 kB / 0.7795 GB, free: 5.992 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002008/0.4509, allocations: 80.8 kB / 0.7796 GB, free: 5.91 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002712/0.4512, allocations: 181.7 kB / 0.7798 GB, free: 5.684 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004611/0.4516, allocations: 272.6 kB / 0.78 GB, free: 5.371 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.4516, allocations: 0 / 0.78 GB, free: 5.371 MB / 0.545 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005407/0.4522, allocations: 289 kB / 0.7803 GB, free: 5.082 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.782e-05/0.4522, allocations: 10.66 kB / 0.7803 GB, free: 5.074 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.564e-06/0.4522, allocations: 4 kB / 0.7803 GB, free: 5.07 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.823e-05/0.4523, allocations: 7.938 kB / 0.7803 GB, free: 5.062 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004064/0.4527, allocations: 72.33 kB / 0.7804 GB, free: 4.992 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001078/0.4538, allocations: 1.404 MB / 0.7818 GB, free: 3.449 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001885/0.454, allocations: 39.73 kB / 0.7818 GB, free: 3.41 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.153e-05/0.454, allocations: 12 kB / 0.7818 GB, free: 3.398 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002694/0.4543, allocations: 190.5 kB / 0.782 GB, free: 3.211 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002413/0.4545, allocations: 184.1 kB / 0.7822 GB, free: 2.98 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000479/0.455, allocations: 284.6 kB / 0.7824 GB, free: 2.656 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.214e-06/0.455, allocations: 0 / 0.7824 GB, free: 2.656 MB / 0.545 GB Notification: Performance of matching and sorting (n=31) (initialization_lambda0): time 0.0005551/0.4556, allocations: 277.1 kB / 0.7827 GB, free: 2.379 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 9.167e-06/0.4556, allocations: 4 kB / 0.7827 GB, free: 2.375 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.532e-06/0.4556, allocations: 4 kB / 0.7827 GB, free: 2.371 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.938e-05/0.4556, allocations: 15.92 kB / 0.7827 GB, free: 2.355 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003877/0.456, allocations: 68.31 kB / 0.7828 GB, free: 2.289 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001026/0.4571, allocations: 1.424 MB / 0.7842 GB, free: 0.7266 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001902/0.4573, allocations: 24 kB / 0.7842 GB, free: 0.7031 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.021e-05/0.4573, allocations: 12 kB / 0.7842 GB, free: 0.6914 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.0001611/0.4575, allocations: 200.7 kB / 0.7844 GB, free: 500 kB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.796e-05/0.4575, allocations: 19.81 kB / 0.7844 GB, free: 480 kB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.65e-05/0.4576, allocations: 26.12 kB / 0.7844 GB, free: 452 kB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/0.4576, allocations: 4 kB / 0.7845 GB, free: 448 kB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.934e-06/0.4576, allocations: 0 / 0.7845 GB, free: 448 kB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.943e-06/0.4576, allocations: 3.984 kB / 0.7845 GB, free: 444 kB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001077/0.4587, allocations: 0.7349 MB / 0.7852 GB, free: 15.61 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.005e-06/0.4587, allocations: 0 / 0.7852 GB, free: 15.61 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003568/0.4591, allocations: 48.12 kB / 0.7852 GB, free: 15.56 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.66e-06/0.4591, allocations: 4 kB / 0.7852 GB, free: 15.56 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.691e-05/0.4591, allocations: 4 kB / 0.7852 GB, free: 15.55 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.957e-06/0.4591, allocations: 7.938 kB / 0.7852 GB, free: 15.55 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.4591, allocations: 3.938 kB / 0.7852 GB, free: 15.54 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004913/0.4596, allocations: 315.4 kB / 0.7855 GB, free: 15.2 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001003/0.4598, allocations: 116.8 kB / 0.7856 GB, free: 15.07 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.514e-05/0.4598, allocations: 0 / 0.7856 GB, free: 15.07 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001511/0.4599, allocations: 15.98 kB / 0.7857 GB, free: 15.05 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.594e-05/0.46, allocations: 19.86 kB / 0.7857 GB, free: 15.04 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.303e-05/0.46, allocations: 12 kB / 0.7857 GB, free: 15.02 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001486/0.4602, allocations: 156.5 kB / 0.7858 GB, free: 14.87 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4602, allocations: 0 / 0.7858 GB, free: 14.87 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0005351/0.4607, allocations: 127.5 kB / 0.786 GB, free: 14.75 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.0001152/0.4609, allocations: 99.25 kB / 0.7861 GB, free: 14.64 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001083/0.4619, allocations: 329.2 kB / 0.7864 GB, free: 14.32 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.462, allocations: 0 / 0.7864 GB, free: 14.32 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.000368/0.4623, allocations: 96.2 kB / 0.7865 GB, free: 14.23 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004449/0.4628, allocations: 54.08 kB / 0.7865 GB, free: 14.18 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009467/0.4638, allocations: 499.1 kB / 0.787 GB, free: 13.66 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003965/0.4642, allocations: 0.7753 MB / 0.7878 GB, free: 12.86 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001722/0.4643, allocations: 57.89 kB / 0.7878 GB, free: 12.79 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.259e-05/0.4644, allocations: 23.44 kB / 0.7878 GB, free: 12.77 MB / 0.5606 GB Notification: Performance of SimCode: time 3.21e-07/0.4644, allocations: 0 / 0.7878 GB, free: 12.77 MB / 0.5606 GB Notification: Performance of Templates: time 0.006207/0.4706, allocations: 2.465 MB / 0.7902 GB, free: 10.32 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)