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.001126/0.001126, allocations: 91.38 kB / 15.36 MB, free: 0.7383 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.006167/0.006168, allocations: 171.7 kB / 16.26 MB, free: 6.613 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.51/1.51, allocations: 205.4 MB / 222.4 MB, free: 5.566 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.537/1.537, allocations: 252 MB / 0.5105 GB, free: 4.684 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.0005337/0.0005338, allocations: 15.28 kB / 0.6249 GB, free: 0.7227 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6167/0.6173, allocations: 106.3 MB / 0.7287 GB, free: 11.31 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.DCLine): time 0.006586/0.6239, allocations: 5.835 MB / 0.7344 GB, free: 5.449 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.006383/0.6303, allocations: 4.492 MB / 0.7388 GB, free: 0.9414 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006964/0.6311, allocations: 19.88 kB / 0.7388 GB, free: 0.9219 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0006131/0.6317, allocations: 146.9 kB / 0.739 GB, free: 0.7773 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.002397/0.6341, allocations: 0.7145 MB / 0.7397 GB, free: 64 kB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007786/0.6349, allocations: 295.5 kB / 0.7399 GB, free: 15.77 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001643/0.6365, allocations: 1.441 MB / 0.7413 GB, free: 14.33 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006859/0.6372, allocations: 0.5358 MB / 0.7419 GB, free: 13.77 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005222/0.6378, allocations: 394.4 kB / 0.7422 GB, free: 13.38 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006467/0.6384, allocations: 478 kB / 0.7427 GB, free: 12.91 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 6.912e-05/0.6385, allocations: 32 kB / 0.7427 GB, free: 12.88 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005517/0.6391, allocations: 303.4 kB / 0.743 GB, free: 12.59 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002032/0.6393, allocations: 215.2 kB / 0.7432 GB, free: 12.38 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0003731/0.6397, allocations: 383.7 kB / 0.7436 GB, free: 11.99 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001121/0.6408, allocations: 1.035 MB / 0.7446 GB, free: 10.95 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.6408, allocations: 4 kB / 0.7446 GB, free: 10.95 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.114e-06/0.6408, allocations: 3.938 kB / 0.7446 GB, free: 10.95 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.239e-05/0.6408, allocations: 0 / 0.7446 GB, free: 10.95 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.001789/0.6426, allocations: 0.9621 MB / 0.7456 GB, free: 9.93 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.854e-05/0.6427, allocations: 8.031 kB / 0.7456 GB, free: 9.922 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003291/0.646, allocations: 0.6553 MB / 0.7462 GB, free: 9.266 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008572/0.6469, allocations: 0.5424 MB / 0.7467 GB, free: 8.684 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.956e-05/0.6469, allocations: 41.67 kB / 0.7468 GB, free: 8.641 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.045e-05/0.647, allocations: 56.11 kB / 0.7468 GB, free: 8.586 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00204/0.649, allocations: 1.026 MB / 0.7478 GB, free: 7.516 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.683e-05/0.6491, allocations: 0 / 0.7478 GB, free: 7.516 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.957e-05/0.6492, allocations: 27.98 kB / 0.7478 GB, free: 7.488 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.128e-05/0.6493, allocations: 41.3 kB / 0.7479 GB, free: 7.449 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002366/0.6516, allocations: 1.02 MB / 0.7489 GB, free: 6.43 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004525/0.6562, allocations: 3.513 MB / 0.7523 GB, free: 2.609 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001529/0.6577, allocations: 0.514 MB / 0.7528 GB, free: 2.086 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005878/0.6583, allocations: 249.2 kB / 0.7531 GB, free: 1.84 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 3.716e-05/0.6584, allocations: 7.984 kB / 0.7531 GB, free: 1.832 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.689e-05/0.6584, allocations: 42.48 kB / 0.7531 GB, free: 1.781 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=31): time 2.305e-06/0.6584, allocations: 0 / 0.7531 GB, free: 1.781 MB / 0.5606 GB Notification: Performance of matching and sorting (n=43): time 0.007083/0.6655, allocations: 2.228 MB / 0.7553 GB, free: 15.51 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.776e-05/0.6656, allocations: 59.41 kB / 0.7553 GB, free: 15.44 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006348/0.6662, allocations: 0.5704 MB / 0.7559 GB, free: 14.86 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 4.115e-05/0.6663, allocations: 33.7 kB / 0.7559 GB, free: 14.82 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002247/0.6665, allocations: 356.2 kB / 0.7563 GB, free: 14.46 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001187/0.6666, allocations: 145.8 kB / 0.7564 GB, free: 14.32 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.719e-05/0.6667, allocations: 45.7 kB / 0.7564 GB, free: 14.27 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001449/0.6668, allocations: 378.7 kB / 0.7568 GB, free: 13.89 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006862/0.6675, allocations: 272.9 kB / 0.7571 GB, free: 13.62 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007524/0.6683, allocations: 381.8 kB / 0.7574 GB, free: 13.21 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001443/0.6697, allocations: 0.6733 MB / 0.7581 GB, free: 12.49 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.524e-06/0.6698, allocations: 3.938 kB / 0.7581 GB, free: 12.49 MB / 0.5762 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.002543/0.6723, allocations: 0.978 MB / 0.759 GB, free: 11.48 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001239/0.6724, allocations: 186.4 kB / 0.7592 GB, free: 11.26 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.06e-05/0.6725, allocations: 8 kB / 0.7592 GB, free: 11.25 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001196/0.6737, allocations: 268.9 kB / 0.7595 GB, free: 10.97 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00065/0.6743, allocations: 131.8 kB / 0.7596 GB, free: 10.84 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007359/0.6817, allocations: 8.484 MB / 0.7679 GB, free: 1.566 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008083/0.6825, allocations: 60 kB / 0.768 GB, free: 1.508 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.4e-05/0.6826, allocations: 16 kB / 0.768 GB, free: 1.492 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 9.428e-06/0.6826, allocations: 4 kB / 0.768 GB, free: 1.488 MB / 0.5762 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002536/0.6852, allocations: 1.085 MB / 0.769 GB, free: 336 kB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.009e-06/0.6852, allocations: 4 kB / 0.769 GB, free: 332 kB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007748/0.686, allocations: 225.3 kB / 0.7693 GB, free: 88 kB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006313/0.6866, allocations: 135.8 kB / 0.7694 GB, free: 15.95 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006177/0.6928, allocations: 8.156 MB / 0.7774 GB, free: 7 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007248/0.6935, allocations: 60.09 kB / 0.7774 GB, free: 6.941 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.892e-05/0.6936, allocations: 23.94 kB / 0.7774 GB, free: 6.918 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.0004936/0.6941, allocations: 320.2 kB / 0.7777 GB, free: 6.598 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001082/0.6942, allocations: 75.14 kB / 0.7778 GB, free: 6.523 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001655/0.6944, allocations: 78.38 kB / 0.7779 GB, free: 6.445 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.128e-06/0.6944, allocations: 4 kB / 0.7779 GB, free: 6.441 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.409e-05/0.6944, allocations: 4 kB / 0.7779 GB, free: 6.438 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.871e-06/0.6944, allocations: 4 kB / 0.7779 GB, free: 6.434 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007926/0.6952, allocations: 0.6455 MB / 0.7785 GB, free: 5.738 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/0.6952, allocations: 0 / 0.7785 GB, free: 5.738 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005075/0.6958, allocations: 103.8 kB / 0.7786 GB, free: 5.637 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009744/0.6967, allocations: 261 kB / 0.7789 GB, free: 5.363 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.077e-05/0.6968, allocations: 4 kB / 0.7789 GB, free: 5.359 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006626/0.7034, allocations: 8.443 MB / 0.7871 GB, free: 12.11 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.7034, allocations: 0 / 0.7871 GB, free: 12.11 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002447/0.7059, allocations: 0.9562 MB / 0.7881 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002827/0.7062, allocations: 184.2 kB / 0.7882 GB, free: 10.92 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.598e-05/0.7063, allocations: 19.81 kB / 0.7882 GB, free: 10.9 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005186/0.7068, allocations: 43.95 kB / 0.7883 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001407/0.707, allocations: 43.94 kB / 0.7883 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.23e-05/0.707, allocations: 12 kB / 0.7883 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.000487/0.7075, allocations: 407.1 kB / 0.7887 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7075, allocations: 0 / 0.7887 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.001079/0.7086, allocations: 300 kB / 0.789 GB, free: 10.12 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.000142/0.7087, allocations: 107.2 kB / 0.7891 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.003823/0.7126, allocations: 2.419 MB / 0.7915 GB, free: 7.434 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.426e-06/0.7126, allocations: 0 / 0.7915 GB, free: 7.434 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.001439/0.714, allocations: 1.027 MB / 0.7925 GB, free: 6.328 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001094/0.7151, allocations: 210.9 kB / 0.7927 GB, free: 6.121 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002666/0.7178, allocations: 1.61 MB / 0.7943 GB, free: 4.484 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006199/0.7185, allocations: 0.9821 MB / 0.7952 GB, free: 3.477 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0005815/0.719, allocations: 149.4 kB / 0.7954 GB, free: 3.328 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001259/0.7192, allocations: 39.44 kB / 0.7954 GB, free: 3.293 MB / 0.6075 GB Notification: Performance of SimCode: time 3.276e-06/0.7192, allocations: 0 / 0.7954 GB, free: 3.293 MB / 0.6075 GB Notification: Performance of Templates: time 0.02025/0.7394, allocations: 12.86 MB / 0.808 GB, free: 6.57 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: