Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.DCLines.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) 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) Running command: translateModel(Buildings.Electrical.DC.Lines.Examples.DCLines,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.DCLines") translateModel(Buildings.Electrical.DC.Lines.Examples.DCLines,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.DCLines") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.332/1.332, allocations: 251.5 MB / 267.4 MB, free: 11.08 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009578/0.0009578, allocations: 173 kB / 326.5 MB, free: 2.711 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.799/1.799, allocations: 205 MB / 0.5766 GB, free: 20.99 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007837/0.0007833, allocations: 84.62 kB / 0.6804 GB, free: 14.73 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003191/0.0003191, allocations: 10.73 kB / 0.7938 GB, free: 136.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2015/0.2018, allocations: 105.4 MB / 0.8967 GB, free: 68.21 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.DCLines): time 0.01798/0.2198, allocations: 21.89 MB / 0.9181 GB, free: 46.24 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.02055/0.2404, allocations: 17.7 MB / 0.9354 GB, free: 28.48 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004125/0.2445, allocations: 103.4 kB / 0.9355 GB, free: 28.38 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.008893/0.2535, allocations: 3.902 MB / 0.9393 GB, free: 24.47 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.01068/0.2642, allocations: 3.197 MB / 0.9424 GB, free: 21.27 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.003486/0.2677, allocations: 1.182 MB / 0.9436 GB, free: 20.09 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.007931/0.2756, allocations: 6.867 MB / 0.9503 GB, free: 13.21 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00421/0.2799, allocations: 2.433 MB / 0.9527 GB, free: 10.7 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003779/0.2837, allocations: 1.968 MB / 0.9546 GB, free: 8.719 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003843/0.2875, allocations: 2.249 MB / 0.9568 GB, free: 6.461 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 0.001185/0.2887, allocations: 164 kB / 0.9569 GB, free: 6.301 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002803/0.2916, allocations: 1.049 MB / 0.958 GB, free: 5.25 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.001365/0.2929, allocations: 0.9417 MB / 0.9589 GB, free: 4.305 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.002992/0.2959, allocations: 1.725 MB / 0.9606 GB, free: 2.57 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.004568/0.3005, allocations: 3.857 MB / 0.9643 GB, free: 14.7 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.169e-06/0.3005, allocations: 0 / 0.9643 GB, free: 14.7 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.893e-06/0.3006, allocations: 0 / 0.9643 GB, free: 14.7 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 0.0002257/0.3008, allocations: 0 / 0.9643 GB, free: 14.7 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 635 * Number of variables: 635 Notification: Performance of Generate backend data structure: time 0.009315/0.3101, allocations: 3.838 MB / 0.9681 GB, free: 10.75 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.1e-05/0.3102, allocations: 12.03 kB / 0.9681 GB, free: 10.74 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01596/0.3262, allocations: 3.355 MB / 0.9714 GB, free: 7.375 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004731/0.3309, allocations: 2.06 MB / 0.9734 GB, free: 5.246 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001966/0.3311, allocations: 181.1 kB / 0.9736 GB, free: 5.066 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008244/0.332, allocations: 236.1 kB / 0.9738 GB, free: 4.836 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01152/0.3435, allocations: 4.748 MB / 0.9784 GB, free: 15.94 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.179e-05/0.3436, allocations: 3.938 kB / 0.9784 GB, free: 15.94 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004796/0.3441, allocations: 107.9 kB / 0.9785 GB, free: 15.84 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001953/0.3443, allocations: 168.8 kB / 0.9787 GB, free: 15.67 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01306/0.3574, allocations: 5.241 MB / 0.9838 GB, free: 10.41 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02131/0.3787, allocations: 14.11 MB / 0.9976 GB, free: 11.13 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01083/0.3896, allocations: 3.862 MB / 1.001 GB, free: 7.258 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003644/0.3932, allocations: 1.51 MB / 1.003 GB, free: 5.746 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001162/0.3934, allocations: 33.2 kB / 1.003 GB, free: 5.715 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003936/0.3973, allocations: 1.828 MB / 1.005 GB, free: 3.824 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=163): time 4.459e-06/0.3974, allocations: 0 / 1.005 GB, free: 3.824 MB / 0.6511 GB Notification: Performance of matching and sorting (n=250): time 0.1164/0.5137, allocations: 33.45 MB / 1.037 GB, free: 2.156 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002491/0.514, allocations: 0.4889 MB / 1.038 GB, free: 1.555 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002976/0.517, allocations: 2.292 MB / 1.04 GB, free: 15.25 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0002467/0.5172, allocations: 77.7 kB / 1.04 GB, free: 15.17 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.001173/0.5184, allocations: 1.438 MB / 1.042 GB, free: 13.71 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007134/0.5192, allocations: 0.8163 MB / 1.042 GB, free: 12.89 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002896/0.5195, allocations: 186.4 kB / 1.042 GB, free: 12.7 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 9.282e-05/0.5196, allocations: 305.1 kB / 1.043 GB, free: 12.4 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004635/0.5242, allocations: 1.933 MB / 1.045 GB, free: 10.46 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004853/0.5291, allocations: 2.231 MB / 1.047 GB, free: 8.145 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009468/0.5385, allocations: 4.208 MB / 1.051 GB, free: 3.801 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.899e-06/0.5386, allocations: 8 kB / 1.051 GB, free: 3.793 MB / 0.698 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.4082/0.9468, allocations: 6.19 MB / 1.057 GB, free: 144.7 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002474/0.9471, allocations: 412.2 kB / 1.057 GB, free: 144.2 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.999e-05/0.9471, allocations: 5.125 kB / 1.057 GB, free: 144.2 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006752/0.9539, allocations: 1.851 MB / 1.059 GB, free: 144.2 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003001/0.9569, allocations: 0.586 MB / 1.06 GB, free: 144.2 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02431/0.9813, allocations: 14.18 MB / 1.074 GB, free: 139.5 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003934/0.9852, allocations: 404.8 kB / 1.074 GB, free: 139.4 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004189/0.9857, allocations: 91.38 kB / 1.074 GB, free: 139.4 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.522e-05/0.9857, allocations: 9.656 kB / 1.074 GB, free: 139.4 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01426/1, allocations: 5.782 MB / 1.08 GB, free: 137.5 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.987e-05/1, allocations: 3.938 kB / 1.08 GB, free: 137.5 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004936/1.005, allocations: 1.823 MB / 1.082 GB, free: 137.2 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00288/1.008, allocations: 0.608 MB / 1.082 GB, free: 137.1 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01948/1.027, allocations: 13.46 MB / 1.095 GB, free: 129.3 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003754/1.031, allocations: 405.6 kB / 1.096 GB, free: 129.1 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004859/1.032, allocations: 93.19 kB / 1.096 GB, free: 129.1 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 25 (varLoad5.count,$PRE.varLoad5.count,varLoad5.T_start,$PRE.varLoad5.T_start,varLoad4.count,$PRE.varLoad4.count,varLoad4.T_start,$PRE.varLoad4.T_start,varLoad3.count,$PRE.varLoad3.count,varLoad3.T_start,$PRE.varLoad3.T_start,varLoad2.count,$PRE.varLoad2.count,varLoad2.T_start,$PRE.varLoad2.T_start,varLoad1.count,$PRE.varLoad1.count,varLoad1.T_start,$PRE.varLoad1.T_start,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (172): * Single equations (assignments): 165 * Array equations: 0 * Algorithm blocks: 5 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(10,52,45.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(10,52)} Notification: Performance of prepare postOptimizeDAE: time 0.001769/1.034, allocations: 0.78 MB / 1.097 GB, free: 128.5 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007943/1.034, allocations: 336.4 kB / 1.097 GB, free: 128.4 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007808/1.035, allocations: 396.7 kB / 1.097 GB, free: 128.1 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.489e-05/1.035, allocations: 25.03 kB / 1.097 GB, free: 128.1 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.915e-05/1.035, allocations: 9.969 kB / 1.097 GB, free: 128.1 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.807e-05/1.035, allocations: 11.95 kB / 1.097 GB, free: 128.1 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003437/1.039, allocations: 3.163 MB / 1.1 GB, free: 125.9 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.059e-05/1.039, allocations: 8 kB / 1.1 GB, free: 125.9 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002351/1.041, allocations: 0.5111 MB / 1.101 GB, free: 125.3 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005576/1.047, allocations: 1.72 MB / 1.103 GB, free: 123.6 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003026/1.047, allocations: 51.97 kB / 1.103 GB, free: 123.6 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01705/1.064, allocations: 13.97 MB / 1.116 GB, free: 109.3 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.415e-06/1.064, allocations: 0 / 1.116 GB, free: 109.3 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01313/1.077, allocations: 5.808 MB / 1.122 GB, free: 103.5 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001509/1.079, allocations: 0.6687 MB / 1.123 GB, free: 102.8 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005691/1.079, allocations: 44 kB / 1.123 GB, free: 102.8 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002869/1.082, allocations: 395.5 kB / 1.123 GB, free: 102.4 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007906/1.083, allocations: 298.7 kB / 1.123 GB, free: 102.1 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001671/1.083, allocations: 71.91 kB / 1.123 GB, free: 102 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001654/1.085, allocations: 1.536 MB / 1.125 GB, free: 100.5 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.723e-06/1.085, allocations: 0 / 1.125 GB, free: 100.5 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.003758/1.089, allocations: 1.626 MB / 1.126 GB, free: 98.85 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,varLoad1.T_start,varLoad1.count,varLoad2.T_start,varLoad2.count,varLoad3.T_start,varLoad3.count,varLoad4.T_start,varLoad4.count,varLoad5.T_start,varLoad5.count) * Number of discrete states: 5 (varLoad1.count,varLoad2.count,varLoad3.count,varLoad4.count,varLoad5.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (128): * Single equations (assignments): 116 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(10,52,60.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(10,52)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003004/1.089, allocations: 169 kB / 1.127 GB, free: 98.68 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.01988/1.109, allocations: 10.1 MB / 1.136 GB, free: 88.4 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 8.035e-06/1.109, allocations: 6.078 kB / 1.136 GB, free: 88.39 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.00709/1.116, allocations: 3.493 MB / 1.14 GB, free: 84.88 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004367/1.12, allocations: 1.051 MB / 1.141 GB, free: 83.85 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01152/1.132, allocations: 8.115 MB / 1.149 GB, free: 75.73 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001463/1.133, allocations: 2.308 MB / 1.151 GB, free: 73.38 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001078/1.134, allocations: 203.4 kB / 1.151 GB, free: 73.18 MB / 0.698 GB Notification: Performance of SimCode: time 9.62e-07/1.135, allocations: 0 / 1.151 GB, free: 73.18 MB / 0.698 GB Notification: Performance of Templates: time 0.07982/1.214, allocations: 79.61 MB / 1.229 GB, free: 9.848 MB / 0.7136 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.DCLines.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.DCLines.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.DCLines.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.DCLines.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.DCLines.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.DCLines -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.DCLines.pipe 2>&1)