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.001037/0.001037, allocations: 86.56 kB / 15.06 MB, free: 1.09 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.0008512/0.0008512, allocations: 168.7 kB / 15.95 MB, free: 204 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.58/1.58, 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.581/1.581, allocations: 252 MB / 0.5102 GB, free: 4.762 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.0005389/0.000539, allocations: 12 kB / 0.6243 GB, free: 1.109 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5572/0.5577, allocations: 106.3 MB / 0.7281 GB, free: 11.57 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.DCLine): time 0.006922/0.5647, allocations: 5.545 MB / 0.7335 GB, free: 6 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.006366/0.5711, allocations: 4.249 MB / 0.7377 GB, free: 1.738 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005389/0.5717, allocations: 27.88 kB / 0.7377 GB, free: 1.711 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0004895/0.5722, allocations: 134.9 kB / 0.7378 GB, free: 1.578 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001742/0.5739, allocations: 0.6323 MB / 0.7385 GB, free: 0.9453 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007039/0.5747, allocations: 244.4 kB / 0.7387 GB, free: 0.707 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001401/0.5761, allocations: 1.195 MB / 0.7399 GB, free: 15.51 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000658/0.5767, allocations: 496.4 kB / 0.7403 GB, free: 15 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004899/0.5772, allocations: 382.4 kB / 0.7407 GB, free: 14.62 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006748/0.5779, allocations: 458.2 kB / 0.7411 GB, free: 14.17 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 6.806e-05/0.578, allocations: 35.94 kB / 0.7412 GB, free: 14.14 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000417/0.5784, allocations: 147.8 kB / 0.7413 GB, free: 13.99 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002118/0.5786, allocations: 199.3 kB / 0.7415 GB, free: 13.8 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001587/0.5788, allocations: 173.3 kB / 0.7417 GB, free: 13.62 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0007706/0.5796, allocations: 0.8086 MB / 0.7425 GB, free: 12.81 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 7.575e-06/0.5796, allocations: 0 / 0.7425 GB, free: 12.81 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.723e-06/0.5796, allocations: 0 / 0.7425 GB, free: 12.81 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 9.218e-06/0.5796, allocations: 0 / 0.7425 GB, free: 12.81 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.001732/0.5814, allocations: 0.9814 MB / 0.7434 GB, free: 11.78 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.397e-05/0.5814, allocations: 12.03 kB / 0.7434 GB, free: 11.77 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002852/0.5843, allocations: 0.6505 MB / 0.7441 GB, free: 11.11 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008496/0.5851, allocations: 0.5182 MB / 0.7446 GB, free: 10.55 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.844e-05/0.5852, allocations: 41.3 kB / 0.7446 GB, free: 10.51 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.037e-05/0.5853, allocations: 55.95 kB / 0.7447 GB, free: 10.46 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001845/0.5871, allocations: 1.022 MB / 0.7457 GB, free: 9.391 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.686e-05/0.5872, allocations: 0 / 0.7457 GB, free: 9.391 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.034e-05/0.5872, allocations: 27.98 kB / 0.7457 GB, free: 9.363 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.749e-05/0.5873, allocations: 45.3 kB / 0.7457 GB, free: 9.316 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002186/0.5895, allocations: 1.012 MB / 0.7467 GB, free: 8.305 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004259/0.5938, allocations: 3.514 MB / 0.7501 GB, free: 4.488 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001432/0.5952, allocations: 0.5143 MB / 0.7507 GB, free: 3.965 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005425/0.5958, allocations: 244.6 kB / 0.7509 GB, free: 3.723 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 6.04e-05/0.5958, allocations: 19.97 kB / 0.7509 GB, free: 3.703 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.823e-05/0.5959, allocations: 30.56 kB / 0.7509 GB, free: 3.664 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=31): time 1.993e-06/0.5959, allocations: 4 kB / 0.7509 GB, free: 3.66 MB / 0.5606 GB Notification: Performance of matching and sorting (n=43): time 0.006391/0.6023, allocations: 2.217 MB / 0.7531 GB, free: 1.398 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.122e-05/0.6024, allocations: 59.41 kB / 0.7532 GB, free: 1.328 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007259/0.6031, allocations: 0.5665 MB / 0.7537 GB, free: 0.75 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.866e-05/0.6031, allocations: 29.7 kB / 0.7537 GB, free: 0.7148 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002548/0.6034, allocations: 364.1 kB / 0.7541 GB, free: 364 kB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001255/0.6035, allocations: 145.8 kB / 0.7542 GB, free: 216 kB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.859e-05/0.6036, allocations: 8 kB / 0.7542 GB, free: 208 kB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.000184/0.6038, allocations: 374.8 kB / 0.7546 GB, free: 15.83 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006278/0.6044, allocations: 276.9 kB / 0.7549 GB, free: 15.55 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006921/0.6051, allocations: 385.7 kB / 0.7552 GB, free: 15.14 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000671/0.6058, allocations: 313.4 kB / 0.7555 GB, free: 14.83 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.6058, allocations: 0 / 0.7555 GB, free: 14.83 MB / 0.5762 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.00226/0.6081, allocations: 0.9705 MB / 0.7565 GB, free: 13.84 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001411/0.6082, allocations: 184.5 kB / 0.7566 GB, free: 13.61 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.966e-06/0.6082, allocations: 4 kB / 0.7567 GB, free: 13.61 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001072/0.6093, allocations: 268.9 kB / 0.7569 GB, free: 13.32 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005924/0.6099, allocations: 131.8 kB / 0.757 GB, free: 13.2 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007507/0.6174, allocations: 8.486 MB / 0.7653 GB, free: 3.918 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007208/0.6182, allocations: 56.02 kB / 0.7654 GB, free: 3.863 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.087e-05/0.6182, allocations: 19.98 kB / 0.7654 GB, free: 3.844 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 9.758e-06/0.6183, allocations: 4 kB / 0.7654 GB, free: 3.84 MB / 0.5762 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002335/0.6206, allocations: 1.073 MB / 0.7664 GB, free: 2.691 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.386e-06/0.6206, allocations: 7.938 kB / 0.7665 GB, free: 2.684 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007217/0.6213, allocations: 217.3 kB / 0.7667 GB, free: 2.453 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005855/0.6219, allocations: 131.8 kB / 0.7668 GB, free: 2.324 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006811/0.6288, allocations: 8.152 MB / 0.7747 GB, free: 9.371 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006873/0.6295, allocations: 59.95 kB / 0.7748 GB, free: 9.312 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.93e-05/0.6295, allocations: 20 kB / 0.7748 GB, free: 9.293 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.00052/0.6301, allocations: 312.9 kB / 0.7751 GB, free: 8.977 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001239/0.6302, allocations: 71.16 kB / 0.7752 GB, free: 8.906 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000154/0.6303, allocations: 82.36 kB / 0.7753 GB, free: 8.824 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.759e-06/0.6304, allocations: 11.94 kB / 0.7753 GB, free: 8.812 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.525e-05/0.6304, allocations: 4 kB / 0.7753 GB, free: 8.809 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.723e-06/0.6304, allocations: 3.953 kB / 0.7753 GB, free: 8.805 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008341/0.6312, allocations: 0.6417 MB / 0.7759 GB, free: 8.113 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.816e-06/0.6312, allocations: 0 / 0.7759 GB, free: 8.113 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004837/0.6317, allocations: 103.8 kB / 0.776 GB, free: 8.012 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009032/0.6327, allocations: 256.9 kB / 0.7763 GB, free: 7.742 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.329e-05/0.6327, allocations: 8 kB / 0.7763 GB, free: 7.734 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006859/0.6396, allocations: 8.424 MB / 0.7845 GB, free: 14.51 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.6396, allocations: 4.031 kB / 0.7845 GB, free: 14.51 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002239/0.6418, allocations: 0.956 MB / 0.7854 GB, free: 13.52 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002993/0.6422, allocations: 180.3 kB / 0.7856 GB, free: 13.32 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.042e-05/0.6422, allocations: 15.95 kB / 0.7856 GB, free: 13.3 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004508/0.6427, allocations: 47.95 kB / 0.7857 GB, free: 13.26 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000124/0.6428, allocations: 39.94 kB / 0.7857 GB, free: 13.22 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.964e-05/0.6429, allocations: 8 kB / 0.7857 GB, free: 13.21 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0004976/0.6434, allocations: 403.1 kB / 0.7861 GB, free: 12.82 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.91e-07/0.6434, allocations: 0 / 0.7861 GB, free: 12.82 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.001133/0.6445, allocations: 304 kB / 0.7864 GB, free: 12.53 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.0001779/0.6447, allocations: 111.2 kB / 0.7865 GB, free: 12.41 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.003756/0.6485, allocations: 2.424 MB / 0.7889 GB, free: 9.828 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.849e-06/0.6485, allocations: 4 kB / 0.7889 GB, free: 9.824 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.001389/0.6499, allocations: 1.027 MB / 0.7899 GB, free: 8.719 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001054/0.651, allocations: 207.8 kB / 0.7901 GB, free: 8.52 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002656/0.6536, allocations: 1.529 MB / 0.7916 GB, free: 6.969 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006691/0.6543, allocations: 0.9781 MB / 0.7925 GB, free: 5.965 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0005938/0.6549, allocations: 153.4 kB / 0.7927 GB, free: 5.812 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001335/0.6551, allocations: 51.42 kB / 0.7927 GB, free: 5.762 MB / 0.6075 GB Notification: Performance of SimCode: time 1.223e-06/0.6551, allocations: 0 / 0.7927 GB, free: 5.762 MB / 0.6075 GB Notification: Performance of Templates: time 0.02119/0.6763, allocations: 12.5 MB / 0.8049 GB, free: 9.402 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: