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.0014/0.001401, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001671/0.001671, allocations: 195.4 kB / 16.25 MB, free: 6.621 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.458/1.458, allocations: 205.1 MB / 222.1 MB, free: 4.617 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.572/1.572, allocations: 251.6 MB / 0.5089 GB, free: 3.293 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.001587/0.001587, allocations: 68.28 kB / 0.6217 GB, free: 1.844 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6588/0.6604, allocations: 104.7 MB / 0.724 GB, free: 13.08 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.DCLine): time 0.009437/0.6699, allocations: 6.259 MB / 0.7301 GB, free: 6.785 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.007982/0.6779, allocations: 4.515 MB / 0.7345 GB, free: 2.254 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00111/0.6791, allocations: 19.88 kB / 0.7345 GB, free: 2.234 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.002921/0.6821, allocations: 0.8627 MB / 0.7354 GB, free: 1.371 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.003078/0.6852, allocations: 0.6997 MB / 0.736 GB, free: 0.668 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001012/0.6862, allocations: 302.9 kB / 0.7363 GB, free: 384 kB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.002095/0.6883, allocations: 1.133 MB / 0.7374 GB, free: 15.24 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001878/0.6902, allocations: 0.7766 MB / 0.7382 GB, free: 14.46 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001463/0.6917, allocations: 482.2 kB / 0.7387 GB, free: 13.99 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001313/0.693, allocations: 0.5059 MB / 0.7392 GB, free: 13.48 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0002901/0.6933, allocations: 72 kB / 0.7392 GB, free: 13.41 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009613/0.6943, allocations: 279.5 kB / 0.7395 GB, free: 13.14 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0003818/0.6947, allocations: 251.3 kB / 0.7397 GB, free: 12.89 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0008604/0.6956, allocations: 406 kB / 0.7401 GB, free: 12.49 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001948/0.6975, allocations: 1.082 MB / 0.7412 GB, free: 11.41 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 1.062e-05/0.6976, allocations: 4 kB / 0.7412 GB, free: 11.4 MB / 0.5606 GB Notification: Performance of FrontEnd: time 3.636e-06/0.6976, allocations: 0 / 0.7412 GB, free: 11.4 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.951e-05/0.6977, allocations: 0 / 0.7412 GB, free: 11.4 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.003423/0.7011, allocations: 1.091 MB / 0.7422 GB, free: 10.26 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.885e-05/0.7012, allocations: 8.031 kB / 0.7423 GB, free: 10.25 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003431/0.7046, allocations: 0.6319 MB / 0.7429 GB, free: 9.617 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001184/0.7058, allocations: 0.5424 MB / 0.7434 GB, free: 9.035 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.414e-05/0.7059, allocations: 41.62 kB / 0.7434 GB, free: 8.992 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001517/0.706, allocations: 56.11 kB / 0.7435 GB, free: 8.938 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002297/0.7083, allocations: 1.022 MB / 0.7445 GB, free: 7.871 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.469e-05/0.7084, allocations: 7.938 kB / 0.7445 GB, free: 7.863 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.046e-05/0.7085, allocations: 23.98 kB / 0.7445 GB, free: 7.84 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.009e-05/0.7086, allocations: 45.3 kB / 0.7446 GB, free: 7.797 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002569/0.7111, allocations: 1.004 MB / 0.7455 GB, free: 6.793 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0056/0.7167, allocations: 3.49 MB / 0.749 GB, free: 2.996 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001708/0.7185, allocations: 0.4905 MB / 0.7494 GB, free: 2.496 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005969/0.7191, allocations: 224.7 kB / 0.7496 GB, free: 2.273 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 5.228e-05/0.7192, allocations: 4 kB / 0.7496 GB, free: 2.27 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.533e-05/0.7193, allocations: 42.55 kB / 0.7497 GB, free: 2.219 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=31): time 7.333e-06/0.7193, allocations: 0 / 0.7497 GB, free: 2.219 MB / 0.5606 GB Notification: Performance of matching and sorting (n=43): time 0.007433/0.7267, allocations: 2.014 MB / 0.7517 GB, free: 164 kB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.049e-05/0.7268, allocations: 55.41 kB / 0.7517 GB, free: 96 kB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001222/0.7281, allocations: 0.5743 MB / 0.7523 GB, free: 15.51 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.588e-05/0.7282, allocations: 33.7 kB / 0.7523 GB, free: 15.47 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004484/0.7286, allocations: 356.2 kB / 0.7526 GB, free: 15.11 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001839/0.7288, allocations: 149.8 kB / 0.7528 GB, free: 14.96 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002554/0.7291, allocations: 90.16 kB / 0.7529 GB, free: 14.87 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001986/0.7293, allocations: 382.6 kB / 0.7532 GB, free: 14.49 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007116/0.73, allocations: 258.9 kB / 0.7535 GB, free: 14.23 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009396/0.731, allocations: 365.7 kB / 0.7538 GB, free: 13.83 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001531/0.7325, allocations: 0.6187 MB / 0.7544 GB, free: 13.17 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.771e-06/0.7325, allocations: 4 kB / 0.7544 GB, free: 13.17 MB / 0.5762 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.002667/0.7352, allocations: 0.9235 MB / 0.7553 GB, free: 12.22 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.003e-05/0.7352, allocations: 14.06 kB / 0.7554 GB, free: 12.21 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.554e-05/0.7353, allocations: 4 kB / 0.7554 GB, free: 12.2 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001359/0.7366, allocations: 272.9 kB / 0.7556 GB, free: 11.92 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006397/0.7373, allocations: 119.8 kB / 0.7557 GB, free: 11.8 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01094/0.7482, allocations: 9.118 MB / 0.7646 GB, free: 1.852 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007407/0.749, allocations: 47.98 kB / 0.7647 GB, free: 1.805 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.102e-05/0.7491, allocations: 19.98 kB / 0.7647 GB, free: 1.785 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00102/0.7501, allocations: 437 kB / 0.7651 GB, free: 1.355 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007865/0.7509, allocations: 353.4 kB / 0.7655 GB, free: 0.9688 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001423/0.7523, allocations: 0.6053 MB / 0.766 GB, free: 328 kB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.438e-06/0.7524, allocations: 8 kB / 0.7661 GB, free: 320 kB / 0.5762 GB Notification: Performance of matching and sorting (n=59) (initialization_lambda0): time 0.002613/0.755, allocations: 1.125 MB / 0.7672 GB, free: 15.1 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.701e-05/0.755, allocations: 7.938 kB / 0.7672 GB, free: 15.09 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.111e-06/0.755, allocations: 4 kB / 0.7672 GB, free: 15.09 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008265/0.7559, allocations: 221.1 kB / 0.7674 GB, free: 14.86 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006181/0.7565, allocations: 123.8 kB / 0.7675 GB, free: 14.73 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007624/0.7641, allocations: 8.788 MB / 0.7761 GB, free: 5.105 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007965/0.765, allocations: 52.03 kB / 0.7761 GB, free: 5.055 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.04e-05/0.7651, allocations: 16 kB / 0.7761 GB, free: 5.039 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.0003008/0.7654, allocations: 204.9 kB / 0.7763 GB, free: 4.832 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002278/0.7656, allocations: 75.09 kB / 0.7764 GB, free: 4.758 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002176/0.7659, allocations: 78.52 kB / 0.7765 GB, free: 4.684 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.564e-06/0.7659, allocations: 19.91 kB / 0.7765 GB, free: 4.664 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.764e-05/0.7659, allocations: 4 kB / 0.7765 GB, free: 4.66 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.638e-06/0.7659, allocations: 0 / 0.7765 GB, free: 4.66 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009969/0.7669, allocations: 0.6493 MB / 0.7771 GB, free: 3.965 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.229e-06/0.7669, allocations: 0 / 0.7771 GB, free: 3.965 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004957/0.7674, allocations: 79.92 kB / 0.7772 GB, free: 3.887 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009912/0.7684, allocations: 272.8 kB / 0.7775 GB, free: 3.602 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.459e-05/0.7685, allocations: 4 kB / 0.7775 GB, free: 3.598 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007966/0.7764, allocations: 9.062 MB / 0.7863 GB, free: 9.691 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.7765, allocations: 0 / 0.7863 GB, free: 9.691 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002371/0.7789, allocations: 0.917 MB / 0.7872 GB, free: 8.738 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003544/0.7792, allocations: 176.3 kB / 0.7874 GB, free: 8.547 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001395/0.7794, allocations: 15.92 kB / 0.7874 GB, free: 8.531 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005561/0.78, allocations: 35.95 kB / 0.7874 GB, free: 8.496 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001791/0.7801, allocations: 35.95 kB / 0.7875 GB, free: 8.461 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.156e-05/0.7802, allocations: 15.98 kB / 0.7875 GB, free: 8.445 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0006287/0.7808, allocations: 407.1 kB / 0.7879 GB, free: 8.051 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7808, allocations: 0 / 0.7879 GB, free: 8.051 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.001417/0.7823, allocations: 300 kB / 0.7882 GB, free: 7.758 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.0001807/0.7825, allocations: 107.8 kB / 0.7883 GB, free: 7.645 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.004143/0.7866, allocations: 2.4 MB / 0.7906 GB, free: 5.09 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 7.895e-06/0.7866, allocations: 4 kB / 0.7906 GB, free: 5.086 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.001362/0.788, allocations: 1.004 MB / 0.7916 GB, free: 4.004 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001041/0.7891, allocations: 245.2 kB / 0.7918 GB, free: 3.781 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003019/0.7921, allocations: 1.569 MB / 0.7934 GB, free: 2.18 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009506/0.793, allocations: 0.9821 MB / 0.7943 GB, free: 1.168 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0007146/0.7938, allocations: 157.3 kB / 0.7945 GB, free: 1.012 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001513/0.7939, allocations: 39.44 kB / 0.7945 GB, free: 0.9766 MB / 0.6075 GB Notification: Performance of SimCode: time 8.62e-07/0.7939, allocations: 4 kB / 0.7945 GB, free: 0.9727 MB / 0.6075 GB Notification: Performance of Templates: time 0.02713/0.8211, allocations: 13.42 MB / 0.8076 GB, free: 3.703 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)