Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Electrical.DC.Lines.Examples.DCLine.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Electrical.DC.Lines.Examples.DCLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Electrical.DC.Lines.Examples.DCLine") translateModel(Buildings.Electrical.DC.Lines.Examples.DCLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Electrical.DC.Lines.Examples.DCLine") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.288/2.288, allocations: 251.2 MB / 266.2 MB, free: 11.53 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001327/0.001327, allocations: 177.7 kB / 325.8 MB, free: 2.777 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.606/2.606, allocations: 205.4 MB / 0.5767 GB, free: 20.71 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001366/0.001366, allocations: 90.23 kB / 0.6812 GB, free: 13.57 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0008063/0.0008065, allocations: 16.81 kB / 0.7953 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.244/0.2448, allocations: 106.3 MB / 0.899 GB, free: 65.41 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.DCLine): time 0.008354/0.2533, allocations: 5.557 MB / 0.9045 GB, free: 59.83 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.008273/0.2616, allocations: 4.234 MB / 0.9086 GB, free: 55.58 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008749/0.2625, allocations: 19.88 kB / 0.9086 GB, free: 55.56 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0007522/0.2633, allocations: 142.9 kB / 0.9088 GB, free: 55.42 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.002958/0.2663, allocations: 0.6353 MB / 0.9094 GB, free: 54.79 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.001146/0.2675, allocations: 246.2 kB / 0.9096 GB, free: 54.55 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.002093/0.2696, allocations: 1.214 MB / 0.9108 GB, free: 53.33 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001004/0.2707, allocations: 0.5082 MB / 0.9113 GB, free: 52.79 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008938/0.2716, allocations: 382.4 kB / 0.9117 GB, free: 52.42 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001174/0.2728, allocations: 462.2 kB / 0.9121 GB, free: 51.96 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 0.0001911/0.273, allocations: 40 kB / 0.9121 GB, free: 51.93 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006577/0.2737, allocations: 139.8 kB / 0.9123 GB, free: 51.79 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0002642/0.274, allocations: 207.3 kB / 0.9125 GB, free: 51.59 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0002708/0.2743, allocations: 161.3 kB / 0.9126 GB, free: 51.42 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.001235/0.2755, allocations: 0.8145 MB / 0.9134 GB, free: 50.61 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 9.388e-06/0.2756, allocations: 0 / 0.9134 GB, free: 50.61 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.335e-06/0.2756, allocations: 0 / 0.9134 GB, free: 50.61 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 2.288e-05/0.2756, allocations: 0 / 0.9134 GB, free: 50.61 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 142 * Number of variables: 142 Notification: Performance of Generate backend data structure: time 0.002614/0.2782, allocations: 0.9816 MB / 0.9144 GB, free: 49.57 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.646e-05/0.2783, allocations: 11.97 kB / 0.9144 GB, free: 49.56 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005435/0.2837, allocations: 0.6514 MB / 0.915 GB, free: 48.91 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001376/0.2852, allocations: 0.5195 MB / 0.9155 GB, free: 48.34 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.842e-05/0.2853, allocations: 41.67 kB / 0.9156 GB, free: 48.3 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001396/0.2854, allocations: 52.12 kB / 0.9156 GB, free: 48.25 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00328/0.2887, allocations: 1.022 MB / 0.9166 GB, free: 47.19 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.171e-05/0.2888, allocations: 4 kB / 0.9166 GB, free: 47.18 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001125/0.2889, allocations: 23.98 kB / 0.9166 GB, free: 47.16 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.572e-05/0.289, allocations: 45.3 kB / 0.9167 GB, free: 47.11 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00404/0.2931, allocations: 1.012 MB / 0.9177 GB, free: 46.1 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006284/0.2994, allocations: 3.513 MB / 0.9211 GB, free: 42.29 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002546/0.302, allocations: 0.5101 MB / 0.9216 GB, free: 41.77 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001009/0.3031, allocations: 244.7 kB / 0.9218 GB, free: 41.52 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 5.671e-05/0.3032, allocations: 11.97 kB / 0.9218 GB, free: 41.51 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.945e-05/0.3032, allocations: 38.56 kB / 0.9219 GB, free: 41.46 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=31): time 3.506e-06/0.3032, allocations: 0 / 0.9219 GB, free: 41.46 MB / 0.6042 GB Notification: Performance of matching and sorting (n=43): time 0.01286/0.3161, allocations: 2.221 MB / 0.924 GB, free: 39.2 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.202e-05/0.3162, allocations: 55.41 kB / 0.9241 GB, free: 39.13 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009484/0.3171, allocations: 0.5588 MB / 0.9246 GB, free: 38.56 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 0.0001119/0.3173, allocations: 29.7 kB / 0.9247 GB, free: 38.53 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002644/0.3176, allocations: 364.1 kB / 0.925 GB, free: 38.17 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001505/0.3177, allocations: 149.8 kB / 0.9252 GB, free: 38.02 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.815e-05/0.3178, allocations: 11.94 kB / 0.9252 GB, free: 38.01 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001153/0.3179, allocations: 382.7 kB / 0.9255 GB, free: 37.62 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001186/0.3191, allocations: 276.9 kB / 0.9258 GB, free: 37.35 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001265/0.3204, allocations: 381.8 kB / 0.9262 GB, free: 36.93 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001293/0.3217, allocations: 309.4 kB / 0.9265 GB, free: 36.63 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.859e-06/0.3218, allocations: 0 / 0.9265 GB, free: 36.63 MB / 0.6042 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.004236/0.326, allocations: 0.9785 MB / 0.9274 GB, free: 35.63 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001135/0.3262, allocations: 182.6 kB / 0.9276 GB, free: 35.41 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.361e-05/0.3262, allocations: 8 kB / 0.9276 GB, free: 35.4 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001872/0.3281, allocations: 280.8 kB / 0.9279 GB, free: 35.11 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001217/0.3294, allocations: 127.8 kB / 0.928 GB, free: 34.98 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009024/0.3384, allocations: 8.479 MB / 0.9363 GB, free: 25.71 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001151/0.3396, allocations: 56.02 kB / 0.9363 GB, free: 25.65 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.008e-05/0.3398, allocations: 23.98 kB / 0.9363 GB, free: 25.63 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.282e-05/0.3398, allocations: 4 kB / 0.9364 GB, free: 25.62 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004025/0.3438, allocations: 1.073 MB / 0.9374 GB, free: 24.48 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.292e-05/0.3439, allocations: 4 kB / 0.9374 GB, free: 24.47 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001293/0.3452, allocations: 221.3 kB / 0.9376 GB, free: 24.24 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0012/0.3464, allocations: 135.8 kB / 0.9377 GB, free: 24.11 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00687/0.3533, allocations: 8.156 MB / 0.9457 GB, free: 15.15 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001061/0.3544, allocations: 60 kB / 0.9458 GB, free: 15.09 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.041e-05/0.3545, allocations: 20 kB / 0.9458 GB, free: 15.07 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (47): * Single equations (assignments): 41 * 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: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 3 {1 2,1 2,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0004945/0.355, allocations: 317.6 kB / 0.9461 GB, free: 14.75 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001652/0.3552, allocations: 67.3 kB / 0.9462 GB, free: 14.68 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001732/0.3554, allocations: 90.34 kB / 0.9462 GB, free: 14.59 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.336e-06/0.3554, allocations: 8 kB / 0.9462 GB, free: 14.59 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.302e-05/0.3554, allocations: 0 / 0.9462 GB, free: 14.59 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.303e-06/0.3554, allocations: 0 / 0.9462 GB, free: 14.59 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001094/0.3565, allocations: 0.6455 MB / 0.9469 GB, free: 13.89 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.813e-06/0.3566, allocations: 0 / 0.9469 GB, free: 13.89 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000973/0.3576, allocations: 103.8 kB / 0.947 GB, free: 13.79 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001684/0.3593, allocations: 256.9 kB / 0.9472 GB, free: 13.52 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.222e-05/0.3594, allocations: 8 kB / 0.9472 GB, free: 13.51 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007871/0.3673, allocations: 8.423 MB / 0.9555 GB, free: 4.289 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.3674, allocations: 0 / 0.9555 GB, free: 4.289 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003789/0.3712, allocations: 0.9638 MB / 0.9564 GB, free: 3.289 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004401/0.3716, allocations: 176.3 kB / 0.9566 GB, free: 3.098 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001332/0.3718, allocations: 15.94 kB / 0.9566 GB, free: 3.082 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009355/0.3727, allocations: 47.95 kB / 0.9566 GB, free: 3.035 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002057/0.373, allocations: 39.88 kB / 0.9567 GB, free: 2.996 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.577e-05/0.373, allocations: 16 kB / 0.9567 GB, free: 2.98 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0006539/0.3737, allocations: 399.1 kB / 0.9571 GB, free: 2.598 MB / 0.6042 GB Notification: Performance of sort global known variables: time 6.22e-07/0.3737, allocations: 4 kB / 0.9571 GB, free: 2.594 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.00151/0.3752, allocations: 300 kB / 0.9574 GB, free: 2.301 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (31): * Single equations (assignments): 25 * 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: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 3 {1 2,1 2,1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001868/0.3755, allocations: 115 kB / 0.9575 GB, free: 2.176 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.006028/0.3815, allocations: 2.416 MB / 0.9598 GB, free: 15.61 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 7.554e-06/0.3816, allocations: 0 / 0.9598 GB, free: 15.61 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.002461/0.384, allocations: 1.02 MB / 0.9608 GB, free: 14.51 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001852/0.3859, allocations: 218.8 kB / 0.961 GB, free: 14.3 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00421/0.3902, allocations: 1.528 MB / 0.9625 GB, free: 12.75 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008333/0.3911, allocations: 0.982 MB / 0.9635 GB, free: 11.74 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.001116/0.3922, allocations: 149.4 kB / 0.9636 GB, free: 11.59 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002453/0.3925, allocations: 47.44 kB / 0.9637 GB, free: 11.54 MB / 0.6198 GB Notification: Performance of SimCode: time 9.22e-07/0.3925, allocations: 0 / 0.9637 GB, free: 11.54 MB / 0.6198 GB Notification: Performance of Templates: time 0.03663/0.4291, allocations: 12.49 MB / 0.9759 GB, free: 15.18 MB / 0.6355 GB make -j1 -f Buildings_7.0.0_Buildings.Electrical.DC.Lines.Examples.DCLine.makefile (rm -f Buildings_7.0.0_Buildings.Electrical.DC.Lines.Examples.DCLine.pipe ; mkfifo Buildings_7.0.0_Buildings.Electrical.DC.Lines.Examples.DCLine.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Electrical.DC.Lines.Examples.DCLine.pipe >> ../files/Buildings_7.0.0_Buildings.Electrical.DC.Lines.Examples.DCLine.sim & ./Buildings_7.0.0_Buildings.Electrical.DC.Lines.Examples.DCLine -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Electrical.DC.Lines.Examples.DCLine.pipe 2>&1)