Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.DCLine.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 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.Lines.Examples.DCLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.DCLine") translateModel(Buildings.Electrical.DC.Lines.Examples.DCLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.DCLine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001152/0.001152, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001314/0.001314, allocations: 195.5 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.603/1.603, allocations: 205.1 MB / 222.4 MB, free: 4.594 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.63/1.63, allocations: 251.7 MB / 0.5092 GB, free: 3.117 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001731/0.001731, allocations: 63.91 kB / 0.6223 GB, free: 1.496 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5989/0.6006, allocations: 104.7 MB / 0.7245 GB, free: 12.93 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.DCLine): time 0.009403/0.6101, allocations: 6.24 MB / 0.7306 GB, free: 6.656 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.007311/0.6174, allocations: 4.565 MB / 0.7351 GB, free: 2.074 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007058/0.6182, allocations: 27.88 kB / 0.7351 GB, free: 2.047 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.00269/0.6209, allocations: 0.9133 MB / 0.736 GB, free: 1.133 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.002935/0.6239, allocations: 0.7691 MB / 0.7367 GB, free: 368 kB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001278/0.6252, allocations: 330.2 kB / 0.7371 GB, free: 40 kB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.002362/0.6275, allocations: 1.133 MB / 0.7382 GB, free: 14.9 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001327/0.6289, allocations: 0.679 MB / 0.7388 GB, free: 14.22 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001149/0.63, allocations: 470.4 kB / 0.7393 GB, free: 13.76 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001315/0.6314, allocations: 0.498 MB / 0.7398 GB, free: 13.26 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0002283/0.6316, allocations: 72 kB / 0.7398 GB, free: 13.19 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008303/0.6324, allocations: 275.5 kB / 0.7401 GB, free: 12.92 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0003469/0.6328, allocations: 251.3 kB / 0.7403 GB, free: 12.68 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0006794/0.6335, allocations: 409.9 kB / 0.7407 GB, free: 12.27 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.00156/0.6351, allocations: 1.063 MB / 0.7418 GB, free: 11.21 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.262e-06/0.6351, allocations: 0 / 0.7418 GB, free: 11.21 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.523e-06/0.6351, allocations: 0 / 0.7418 GB, free: 11.21 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 3.431e-05/0.6351, allocations: 4 kB / 0.7418 GB, free: 11.2 MB / 0.5606 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.002606/0.6377, allocations: 1.094 MB / 0.7428 GB, free: 10.05 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.339e-05/0.6378, allocations: 8.031 kB / 0.7428 GB, free: 10.05 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003364/0.6412, allocations: 0.628 MB / 0.7435 GB, free: 9.418 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00103/0.6422, allocations: 0.5462 MB / 0.744 GB, free: 8.832 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.458e-05/0.6423, allocations: 37.69 kB / 0.744 GB, free: 8.793 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001224/0.6424, allocations: 52.12 kB / 0.7441 GB, free: 8.742 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002225/0.6446, allocations: 1.026 MB / 0.7451 GB, free: 7.672 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.676e-05/0.6447, allocations: 0 / 0.7451 GB, free: 7.672 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.903e-05/0.6448, allocations: 24 kB / 0.7451 GB, free: 7.648 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.868e-05/0.6448, allocations: 45.28 kB / 0.7451 GB, free: 7.605 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00257/0.6474, allocations: 1.004 MB / 0.7461 GB, free: 6.598 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004904/0.6523, allocations: 3.494 MB / 0.7495 GB, free: 2.797 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001578/0.6539, allocations: 0.4892 MB / 0.75 GB, free: 2.301 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006008/0.6546, allocations: 220.7 kB / 0.7502 GB, free: 2.082 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 3.787e-05/0.6546, allocations: 11.94 kB / 0.7502 GB, free: 2.07 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.555e-05/0.6547, allocations: 38.56 kB / 0.7503 GB, free: 2.023 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=31): time 2.614e-06/0.6547, allocations: 3.938 kB / 0.7503 GB, free: 2.02 MB / 0.5606 GB Notification: Performance of matching and sorting (n=43): time 0.007388/0.6621, allocations: 2.016 MB / 0.7522 GB, free: 15.96 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.16e-05/0.6621, allocations: 59.41 kB / 0.7523 GB, free: 15.89 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008399/0.663, allocations: 0.5665 MB / 0.7529 GB, free: 15.31 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 6.026e-05/0.6631, allocations: 37.7 kB / 0.7529 GB, free: 15.27 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.000288/0.6634, allocations: 360.1 kB / 0.7532 GB, free: 14.91 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001595/0.6635, allocations: 145.8 kB / 0.7534 GB, free: 14.76 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002059/0.6637, allocations: 94.16 kB / 0.7535 GB, free: 14.66 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001933/0.664, allocations: 374.7 kB / 0.7538 GB, free: 14.29 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007221/0.6647, allocations: 262.9 kB / 0.7541 GB, free: 14.03 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007813/0.6655, allocations: 357.8 kB / 0.7544 GB, free: 13.64 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001453/0.6669, allocations: 0.6187 MB / 0.755 GB, free: 12.98 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.33e-06/0.667, allocations: 7.938 kB / 0.755 GB, free: 12.97 MB / 0.5762 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.002594/0.6696, allocations: 0.9272 MB / 0.7559 GB, free: 12.02 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.133e-05/0.6696, allocations: 8 kB / 0.7559 GB, free: 12.01 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.632e-05/0.6696, allocations: 4 kB / 0.7559 GB, free: 12 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001253/0.6709, allocations: 281.2 kB / 0.7562 GB, free: 11.71 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006474/0.6715, allocations: 115.8 kB / 0.7563 GB, free: 11.6 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008307/0.6799, allocations: 9.119 MB / 0.7652 GB, free: 1.648 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007728/0.6807, allocations: 39.95 kB / 0.7653 GB, free: 1.609 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.896e-05/0.6808, allocations: 23.98 kB / 0.7653 GB, free: 1.586 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001105/0.6819, allocations: 437 kB / 0.7657 GB, free: 1.156 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007565/0.6827, allocations: 353.4 kB / 0.766 GB, free: 0.7695 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001417/0.6841, allocations: 0.6092 MB / 0.7666 GB, free: 120 kB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.038e-06/0.6841, allocations: 0 / 0.7666 GB, free: 120 kB / 0.5762 GB Notification: Performance of matching and sorting (n=59) (initialization_lambda0): time 0.00264/0.6868, allocations: 1.125 MB / 0.7677 GB, free: 14.91 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.575e-05/0.6868, allocations: 7.938 kB / 0.7677 GB, free: 14.9 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.993e-06/0.6868, allocations: 4 kB / 0.7677 GB, free: 14.89 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008292/0.6877, allocations: 217.3 kB / 0.7679 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006135/0.6883, allocations: 127.8 kB / 0.7681 GB, free: 14.54 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007143/0.6954, allocations: 8.8 MB / 0.7767 GB, free: 4.902 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008302/0.6963, allocations: 39.95 kB / 0.7767 GB, free: 4.863 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.926e-05/0.6964, allocations: 23.98 kB / 0.7767 GB, free: 4.84 MB / 0.5919 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 (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,2), (1,2), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0002836/0.6967, allocations: 208.2 kB / 0.7769 GB, free: 4.629 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001935/0.6969, allocations: 67.16 kB / 0.777 GB, free: 4.562 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002108/0.6971, allocations: 82.31 kB / 0.7771 GB, free: 4.484 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.519e-06/0.6972, allocations: 4 kB / 0.7771 GB, free: 4.48 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.947e-05/0.6972, allocations: 8 kB / 0.7771 GB, free: 4.473 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.837e-06/0.6972, allocations: 3.984 kB / 0.7771 GB, free: 4.469 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001026/0.6982, allocations: 0.6455 MB / 0.7777 GB, free: 3.773 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.809e-06/0.6982, allocations: 0 / 0.7777 GB, free: 3.773 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005088/0.6988, allocations: 91.84 kB / 0.7778 GB, free: 3.684 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001036/0.6998, allocations: 265 kB / 0.7781 GB, free: 3.406 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.075e-05/0.6999, allocations: 11.98 kB / 0.7781 GB, free: 3.395 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008319/0.7082, allocations: 9.058 MB / 0.7869 GB, free: 9.492 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.7082, allocations: 4.062 kB / 0.7869 GB, free: 9.488 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00236/0.7106, allocations: 0.9169 MB / 0.7878 GB, free: 8.535 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003256/0.7109, allocations: 176.3 kB / 0.788 GB, free: 8.344 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.77e-05/0.711, allocations: 8 kB / 0.788 GB, free: 8.336 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004932/0.7115, allocations: 43.94 kB / 0.788 GB, free: 8.293 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00017/0.7117, allocations: 39.89 kB / 0.7881 GB, free: 8.254 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.248e-05/0.7118, allocations: 12 kB / 0.7881 GB, free: 8.242 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0005167/0.7123, allocations: 407.1 kB / 0.7885 GB, free: 7.848 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7123, allocations: 0 / 0.7885 GB, free: 7.848 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.001097/0.7134, allocations: 300 kB / 0.7887 GB, free: 7.555 MB / 0.6075 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 (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,2), (1,2), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001688/0.7136, allocations: 111.2 kB / 0.7889 GB, free: 7.438 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.004042/0.7176, allocations: 2.4 MB / 0.7912 GB, free: 4.883 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 5.38e-06/0.7176, allocations: 4.062 kB / 0.7912 GB, free: 4.879 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.00136/0.719, allocations: 1.004 MB / 0.7922 GB, free: 3.797 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00109/0.7201, allocations: 239.7 kB / 0.7924 GB, free: 3.582 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002642/0.7228, allocations: 1.316 MB / 0.7937 GB, free: 2.234 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006631/0.7234, allocations: 0.982 MB / 0.7947 GB, free: 1.223 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.000595/0.724, allocations: 157.4 kB / 0.7948 GB, free: 1.066 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001271/0.7242, allocations: 43.42 kB / 0.7948 GB, free: 1.027 MB / 0.6075 GB Notification: Performance of SimCode: time 4.61e-07/0.7242, allocations: 0 / 0.7948 GB, free: 1.027 MB / 0.6075 GB Notification: Performance of Templates: time 0.02611/0.7503, allocations: 13.44 MB / 0.808 GB, free: 3.73 MB / 0.6231 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.DCLine.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.DCLine.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.DCLine.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.DCLine.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.DCLine.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.DCLine -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.DCLine.pipe 2>&1)