Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.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/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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: translateModel(Buildings.Electrical.DC.Conversion.Examples.DCDCConverter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.DC.Conversion.Examples.DCDCConverter") translateModel(Buildings.Electrical.DC.Conversion.Examples.DCDCConverter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.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.0008988/0.0008986, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.006854/0.006854, allocations: 168.9 kB / 16.26 MB, free: 6.648 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.481/1.481, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.966/2.966, allocations: 473.4 MB / 0.7469 GB, free: 6.027 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004146/0.0004145, allocations: 9.531 kB / 0.9158 GB, free: 33.08 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3687/0.3691, allocations: 162.2 MB / 1.074 GB, free: 7.535 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Conversion.Examples.DCDCConverter): time 0.00391/0.373, allocations: 3.042 MB / 1.077 GB, free: 4.48 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.002096/0.3752, allocations: 1.476 MB / 1.079 GB, free: 3 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001021/0.3753, allocations: 4 kB / 1.079 GB, free: 2.996 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001913/0.3755, allocations: 43.64 kB / 1.079 GB, free: 2.953 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0004131/0.3759, allocations: 179.2 kB / 1.079 GB, free: 2.777 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005244/0.3764, allocations: 230.2 kB / 1.079 GB, free: 2.555 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0005272/0.377, allocations: 0.5653 MB / 1.08 GB, free: 1.988 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003978/0.3774, allocations: 344.1 kB / 1.08 GB, free: 1.617 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001562/0.3775, allocations: 123.5 kB / 1.08 GB, free: 1.496 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003141/0.3779, allocations: 187.3 kB / 1.08 GB, free: 1.312 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.958e-05/0.3779, allocations: 12 kB / 1.08 GB, free: 1.301 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003832/0.3783, allocations: 291.4 kB / 1.08 GB, free: 1.016 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 9.776e-05/0.3784, allocations: 95.7 kB / 1.081 GB, free: 0.9219 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001488/0.3785, allocations: 157 kB / 1.081 GB, free: 0.7617 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.000454/0.379, allocations: 462.6 kB / 1.081 GB, free: 316 kB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.379, allocations: 0 / 1.081 GB, free: 316 kB / 0.8262 GB Notification: Performance of FrontEnd: time 1.342e-06/0.379, allocations: 4 kB / 1.081 GB, free: 312 kB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.68e-06/0.379, allocations: 4 kB / 1.081 GB, free: 308 kB / 0.8262 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.0008774/0.3799, allocations: 0.5459 MB / 1.082 GB, free: 15.7 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.551e-05/0.38, allocations: 15.95 kB / 1.082 GB, free: 15.69 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006705/0.3806, allocations: 108.5 kB / 1.082 GB, free: 15.58 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003118/0.381, allocations: 268.5 kB / 1.082 GB, free: 15.28 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.078e-05/0.381, allocations: 46.83 kB / 1.082 GB, free: 15.23 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.411e-05/0.3811, allocations: 28.38 kB / 1.082 GB, free: 15.2 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006735/0.3818, allocations: 429 kB / 1.083 GB, free: 14.75 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.436e-05/0.3818, allocations: 7.875 kB / 1.083 GB, free: 14.74 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.24e-05/0.3818, allocations: 15.94 kB / 1.083 GB, free: 14.73 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.66e-05/0.3819, allocations: 28.55 kB / 1.083 GB, free: 14.7 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006011/0.3825, allocations: 334 kB / 1.083 GB, free: 14.38 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002147/0.3847, allocations: 2.111 MB / 1.085 GB, free: 12.04 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005396/0.3852, allocations: 210.7 kB / 1.085 GB, free: 11.82 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003308/0.3855, allocations: 140.8 kB / 1.085 GB, free: 11.68 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.435e-05/0.3856, allocations: 7.984 kB / 1.085 GB, free: 11.68 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.207e-05/0.3856, allocations: 34.56 kB / 1.085 GB, free: 11.63 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=17): time 1.312e-06/0.3856, allocations: 0 / 1.085 GB, free: 11.63 MB / 0.8419 GB Notification: Performance of matching and sorting (n=17): time 0.0006347/0.3863, allocations: 274.7 kB / 1.086 GB, free: 11.36 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.265e-05/0.3863, allocations: 59.34 kB / 1.086 GB, free: 11.29 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002017/0.3865, allocations: 225 kB / 1.086 GB, free: 11.06 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.302e-05/0.3865, allocations: 29.7 kB / 1.086 GB, free: 11.03 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001184/0.3867, allocations: 195.8 kB / 1.086 GB, free: 10.83 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 4.411e-05/0.3867, allocations: 59.2 kB / 1.086 GB, free: 10.77 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.012e-05/0.3868, allocations: 29.7 kB / 1.086 GB, free: 10.74 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001208/0.3869, allocations: 326.8 kB / 1.086 GB, free: 10.41 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000185/0.3871, allocations: 79.94 kB / 1.087 GB, free: 10.33 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002544/0.3873, allocations: 190.1 kB / 1.087 GB, free: 10.1 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004483/0.3878, allocations: 286.4 kB / 1.087 GB, free: 9.773 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.3878, allocations: 0 / 1.087 GB, free: 9.773 MB / 0.8419 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005458/0.3884, allocations: 298.6 kB / 1.087 GB, free: 9.477 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001165/0.3885, allocations: 193.1 kB / 1.087 GB, free: 9.238 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.158e-06/0.3885, allocations: 7.984 kB / 1.087 GB, free: 9.23 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.558e-05/0.3886, allocations: 7.984 kB / 1.087 GB, free: 9.223 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003911/0.389, allocations: 71.84 kB / 1.088 GB, free: 9.152 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000986/0.39, allocations: 1.302 MB / 1.089 GB, free: 7.719 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001848/0.3902, allocations: 39.67 kB / 1.089 GB, free: 7.68 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.032e-05/0.3902, allocations: 12 kB / 1.089 GB, free: 7.668 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 4.108e-06/0.3902, allocations: 4 kB / 1.089 GB, free: 7.664 MB / 0.8419 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004762/0.3907, allocations: 249.5 kB / 1.089 GB, free: 7.422 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.783e-06/0.3907, allocations: 4.438 kB / 1.089 GB, free: 7.418 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.282e-06/0.3908, allocations: 15.88 kB / 1.089 GB, free: 7.402 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000371/0.3911, allocations: 67.91 kB / 1.089 GB, free: 7.336 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009281/0.3921, allocations: 1.325 MB / 1.09 GB, free: 5.879 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001804/0.3923, allocations: 27.78 kB / 1.091 GB, free: 5.852 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.649e-05/0.3923, allocations: 12 kB / 1.091 GB, free: 5.84 MB / 0.8419 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.0001863/0.3925, allocations: 245.4 kB / 1.091 GB, free: 5.59 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.332e-05/0.3925, allocations: 19.72 kB / 1.091 GB, free: 5.57 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.664e-05/0.3926, allocations: 30.17 kB / 1.091 GB, free: 5.539 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.3926, allocations: 4.094 kB / 1.091 GB, free: 5.535 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.876e-06/0.3926, allocations: 7.938 kB / 1.091 GB, free: 5.527 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.3926, allocations: 0 / 1.091 GB, free: 5.527 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001048/0.3937, allocations: 0.739 MB / 1.092 GB, free: 4.699 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.3937, allocations: 0 / 1.092 GB, free: 4.699 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003534/0.394, allocations: 55.89 kB / 1.092 GB, free: 4.645 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.905e-06/0.3941, allocations: 3.938 kB / 1.092 GB, free: 4.641 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.484e-05/0.3941, allocations: 8 kB / 1.092 GB, free: 4.633 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.189e-06/0.3941, allocations: 12.09 kB / 1.092 GB, free: 4.621 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.3941, allocations: 0 / 1.092 GB, free: 4.621 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004734/0.3946, allocations: 327.3 kB / 1.092 GB, free: 4.27 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 9.132e-05/0.3947, allocations: 108.8 kB / 1.092 GB, free: 4.145 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.532e-05/0.3947, allocations: 11.98 kB / 1.092 GB, free: 4.133 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000136/0.3948, allocations: 7.938 kB / 1.092 GB, free: 4.125 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.257e-05/0.3949, allocations: 19.98 kB / 1.092 GB, free: 4.105 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.177e-06/0.3949, allocations: 4 kB / 1.092 GB, free: 4.102 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0001461/0.3951, allocations: 164.5 kB / 1.092 GB, free: 3.938 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3951, allocations: 0 / 1.092 GB, free: 3.938 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0005172/0.3956, allocations: 115.6 kB / 1.092 GB, free: 3.824 MB / 0.8419 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.0001312/0.3957, allocations: 107.2 kB / 1.092 GB, free: 3.711 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0009935/0.3967, allocations: 346.1 kB / 1.093 GB, free: 3.375 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.3968, allocations: 0 / 1.093 GB, free: 3.375 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0003612/0.3971, allocations: 95.88 kB / 1.093 GB, free: 3.281 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004387/0.3976, allocations: 42.11 kB / 1.093 GB, free: 3.242 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008632/0.3984, allocations: 0.6134 MB / 1.094 GB, free: 2.586 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003677/0.3988, allocations: 0.7754 MB / 1.094 GB, free: 1.785 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0001694/0.399, allocations: 61.89 kB / 1.094 GB, free: 1.727 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.063e-05/0.3991, allocations: 19.44 kB / 1.094 GB, free: 1.707 MB / 0.8419 GB Notification: Performance of SimCode: time 2.4e-07/0.3991, allocations: 0 / 1.094 GB, free: 1.707 MB / 0.8419 GB Notification: Performance of Templates: time 0.005585/0.4047, allocations: 2.22 MB / 1.097 GB, free: 15.5 MB / 0.8575 GB make -j1 -f Buildings_3.0.0_Buildings.Electrical.DC.Conversion.Examples.DCDCConverter.makefile (rm -f Buildings_3.0.0_Buildings.Electrical.DC.Conversion.Examples.DCDCConverter.pipe ; mkfifo Buildings_3.0.0_Buildings.Electrical.DC.Conversion.Examples.DCDCConverter.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Electrical.DC.Conversion.Examples.DCDCConverter.pipe >> ../files/Buildings_3.0.0_Buildings.Electrical.DC.Conversion.Examples.DCDCConverter.sim & ./Buildings_3.0.0_Buildings.Electrical.DC.Conversion.Examples.DCDCConverter -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Electrical.DC.Conversion.Examples.DCDCConverter.pipe 2>&1)