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.0009702/0.0009704, allocations: 99.78 kB / 15.05 MB, free: 1.105 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.0009795/0.0009795, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.767/1.767, allocations: 205.4 MB / 222.1 MB, free: 5.66 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.693/1.693, allocations: 251.9 MB / 0.51 GB, free: 4.848 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.0005494/0.0005496, allocations: 16 kB / 0.6241 GB, free: 1.191 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6066/0.6072, allocations: 106.3 MB / 0.728 GB, free: 11.46 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.DCLine): time 0.006294/0.6135, allocations: 5.335 MB / 0.7332 GB, free: 6.105 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.006475/0.62, allocations: 4.133 MB / 0.7372 GB, free: 1.961 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006653/0.6207, allocations: 19.88 kB / 0.7372 GB, free: 1.941 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0005104/0.6213, allocations: 139.2 kB / 0.7374 GB, free: 1.805 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001791/0.6231, allocations: 0.6147 MB / 0.738 GB, free: 1.191 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006631/0.6237, allocations: 235.6 kB / 0.7382 GB, free: 0.9609 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001178/0.6249, allocations: 0.6687 MB / 0.7388 GB, free: 300 kB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007119/0.6257, allocations: 488.4 kB / 0.7393 GB, free: 15.79 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005154/0.6262, allocations: 346.7 kB / 0.7396 GB, free: 15.45 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005579/0.6267, allocations: 366.6 kB / 0.74 GB, free: 15.09 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 6.712e-05/0.6268, allocations: 32 kB / 0.74 GB, free: 15.06 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004042/0.6272, allocations: 139.8 kB / 0.7402 GB, free: 14.92 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001821/0.6274, allocations: 191.4 kB / 0.7403 GB, free: 14.73 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001704/0.6276, allocations: 161.3 kB / 0.7405 GB, free: 14.57 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0008337/0.6284, allocations: 0.8006 MB / 0.7413 GB, free: 13.77 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.447e-06/0.6285, allocations: 3.938 kB / 0.7413 GB, free: 13.77 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.425e-06/0.6285, allocations: 4 kB / 0.7413 GB, free: 13.76 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.33e-05/0.6285, allocations: 0 / 0.7413 GB, free: 13.76 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.001931/0.6304, allocations: 0.9852 MB / 0.7422 GB, free: 12.72 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.479e-05/0.6305, allocations: 8.031 kB / 0.7422 GB, free: 12.71 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003214/0.6337, allocations: 0.6583 MB / 0.7429 GB, free: 12.05 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009719/0.6347, allocations: 0.5182 MB / 0.7434 GB, free: 11.5 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.465e-05/0.6347, allocations: 41.31 kB / 0.7434 GB, free: 11.46 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.668e-05/0.6348, allocations: 59.94 kB / 0.7435 GB, free: 11.4 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002072/0.6369, allocations: 1.014 MB / 0.7445 GB, free: 10.34 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.788e-05/0.6369, allocations: 0 / 0.7445 GB, free: 10.34 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.74e-05/0.637, allocations: 24 kB / 0.7445 GB, free: 10.32 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.601e-05/0.6371, allocations: 49.28 kB / 0.7446 GB, free: 10.27 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002386/0.6395, allocations: 1.012 MB / 0.7455 GB, free: 9.254 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004942/0.6445, allocations: 3.517 MB / 0.749 GB, free: 5.434 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001521/0.646, allocations: 0.5208 MB / 0.7495 GB, free: 4.906 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 3.952e-05/0.6461, allocations: 4 kB / 0.7495 GB, free: 4.902 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.997e-05/0.6461, allocations: 38.55 kB / 0.7495 GB, free: 4.855 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=31): time 2.384e-06/0.6461, allocations: 0 / 0.7495 GB, free: 4.855 MB / 0.5606 GB Notification: Performance of matching and sorting (n=43): time 0.006959/0.6531, allocations: 2.221 MB / 0.7517 GB, free: 2.59 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.623e-05/0.6531, allocations: 55.41 kB / 0.7517 GB, free: 2.523 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006911/0.6538, allocations: 0.5588 MB / 0.7523 GB, free: 1.953 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.652e-05/0.6539, allocations: 37.7 kB / 0.7523 GB, free: 1.91 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002489/0.6542, allocations: 360.1 kB / 0.7527 GB, free: 1.555 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001293/0.6543, allocations: 145.8 kB / 0.7528 GB, free: 1.41 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.954e-05/0.6543, allocations: 16 kB / 0.7528 GB, free: 1.395 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001614/0.6545, allocations: 366.8 kB / 0.7532 GB, free: 1.027 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006766/0.6552, allocations: 276.9 kB / 0.7534 GB, free: 0.7539 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007218/0.6559, allocations: 381.8 kB / 0.7538 GB, free: 348 kB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007079/0.6566, allocations: 313.4 kB / 0.7541 GB, free: 36 kB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.6567, allocations: 0 / 0.7541 GB, free: 36 kB / 0.5606 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.002441/0.6591, allocations: 0.9744 MB / 0.7551 GB, free: 15.04 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005478/0.6597, allocations: 1.227 MB / 0.7563 GB, free: 13.71 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.203e-05/0.6597, allocations: 4 kB / 0.7563 GB, free: 13.71 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001119/0.6608, allocations: 284.8 kB / 0.7565 GB, free: 13.41 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006122/0.6614, allocations: 127.8 kB / 0.7567 GB, free: 13.29 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007741/0.6692, allocations: 8.566 MB / 0.765 GB, free: 3.93 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008281/0.6701, allocations: 56.02 kB / 0.7651 GB, free: 3.875 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.015e-05/0.6701, allocations: 20 kB / 0.7651 GB, free: 3.855 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.304e-05/0.6701, allocations: 7.938 kB / 0.7651 GB, free: 3.848 MB / 0.5762 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002418/0.6726, allocations: 1.081 MB / 0.7662 GB, free: 2.691 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.853e-06/0.6726, allocations: 4 kB / 0.7662 GB, free: 2.688 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007623/0.6734, allocations: 217 kB / 0.7664 GB, free: 2.457 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006072/0.674, allocations: 135.8 kB / 0.7665 GB, free: 2.324 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006562/0.6806, allocations: 8.219 MB / 0.7745 GB, free: 9.305 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007755/0.6814, allocations: 56.02 kB / 0.7746 GB, free: 9.25 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.929e-05/0.6814, allocations: 20 kB / 0.7746 GB, free: 9.23 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 (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.0004919/0.6819, allocations: 312.9 kB / 0.7749 GB, free: 8.914 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001137/0.6821, allocations: 75.14 kB / 0.775 GB, free: 8.84 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001483/0.6822, allocations: 78.38 kB / 0.775 GB, free: 8.762 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.22e-06/0.6822, allocations: 11.89 kB / 0.775 GB, free: 8.75 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.377e-05/0.6822, allocations: 4 kB / 0.7751 GB, free: 8.746 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.08e-06/0.6822, allocations: 0 / 0.7751 GB, free: 8.746 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007906/0.683, allocations: 0.6417 MB / 0.7757 GB, free: 8.055 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.6831, allocations: 0 / 0.7757 GB, free: 8.055 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005245/0.6836, allocations: 103.8 kB / 0.7758 GB, free: 7.953 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009445/0.6845, allocations: 260.8 kB / 0.776 GB, free: 7.68 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.819e-05/0.6846, allocations: 11.95 kB / 0.776 GB, free: 7.668 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006898/0.6915, allocations: 8.506 MB / 0.7843 GB, free: 14.36 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.834e-06/0.6915, allocations: 4.125 kB / 0.7843 GB, free: 14.36 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002275/0.6938, allocations: 0.9565 MB / 0.7853 GB, free: 13.37 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003355/0.6942, allocations: 188.3 kB / 0.7855 GB, free: 13.16 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.322e-05/0.6942, allocations: 4 kB / 0.7855 GB, free: 13.16 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005482/0.6948, allocations: 47.95 kB / 0.7855 GB, free: 13.11 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001228/0.6949, allocations: 47.88 kB / 0.7856 GB, free: 13.07 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.228e-05/0.695, allocations: 15.98 kB / 0.7856 GB, free: 13.05 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0004565/0.6954, allocations: 395.1 kB / 0.7859 GB, free: 12.67 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.7e-07/0.6954, allocations: 0 / 0.7859 GB, free: 12.67 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.001106/0.6965, allocations: 300 kB / 0.7862 GB, free: 12.38 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 (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.0001479/0.6967, allocations: 115.2 kB / 0.7863 GB, free: 12.25 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.003761/0.7005, allocations: 2.416 MB / 0.7887 GB, free: 9.684 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 8.356e-06/0.7005, allocations: 4.125 kB / 0.7887 GB, free: 9.68 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.001379/0.7019, allocations: 1.031 MB / 0.7897 GB, free: 8.57 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009125/0.7028, allocations: 201.8 kB / 0.7899 GB, free: 8.375 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002446/0.7053, allocations: 1.525 MB / 0.7914 GB, free: 6.828 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006136/0.7059, allocations: 0.9937 MB / 0.7924 GB, free: 5.809 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0005761/0.7065, allocations: 153.4 kB / 0.7925 GB, free: 5.656 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000125/0.7066, allocations: 43.42 kB / 0.7926 GB, free: 5.613 MB / 0.6075 GB Notification: Performance of SimCode: time 5.31e-07/0.7066, allocations: 0 / 0.7926 GB, free: 5.613 MB / 0.6075 GB Notification: Performance of Templates: time 0.02024/0.7269, allocations: 12.5 MB / 0.8048 GB, free: 9.254 MB / 0.6231 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.DCLine.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: