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.397/1.397, allocations: 252 MB / 268 MB, free: 10.86 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.0009819/0.0009819, allocations: 176.3 kB / 327.6 MB, free: 2.09 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.528/1.528, allocations: 205.4 MB / 0.5786 GB, free: 20.13 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.0007101/0.0007102, allocations: 91.7 kB / 0.6832 GB, free: 12.74 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000308/0.0003081, allocations: 5.969 kB / 0.7976 GB, free: 134.8 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1621/0.1624, allocations: 106.3 MB / 0.9015 GB, free: 63.35 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.DCLines): time 0.01552/0.1779, allocations: 21.5 MB / 0.9224 GB, free: 41.77 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.01829/0.1963, allocations: 17.49 MB / 0.9395 GB, free: 24.22 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002877/0.1992, allocations: 99.44 kB / 0.9396 GB, free: 24.12 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.001823/0.201, allocations: 0.5853 MB / 0.9402 GB, free: 23.53 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.00874/0.2098, allocations: 3.2 MB / 0.9433 GB, free: 20.33 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.00302/0.2128, allocations: 1.183 MB / 0.9445 GB, free: 19.15 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.006991/0.2198, allocations: 6.864 MB / 0.9512 GB, free: 12.27 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00365/0.2235, allocations: 2.496 MB / 0.9536 GB, free: 9.672 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003006/0.2265, allocations: 1.972 MB / 0.9555 GB, free: 7.691 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003303/0.2299, allocations: 2.26 MB / 0.9577 GB, free: 5.422 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 0.0005725/0.2305, allocations: 164 kB / 0.9579 GB, free: 5.262 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001992/0.2325, allocations: 1.045 MB / 0.9589 GB, free: 4.215 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.000718/0.2332, allocations: 0.9379 MB / 0.9598 GB, free: 3.273 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.001624/0.2348, allocations: 1.75 MB / 0.9616 GB, free: 1.508 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.003503/0.2383, allocations: 3.861 MB / 0.9653 GB, free: 13.64 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.2383, allocations: 0 / 0.9653 GB, free: 13.64 MB / 0.6198 GB Notification: Performance of FrontEnd: time 3.607e-06/0.2384, allocations: 4 kB / 0.9653 GB, free: 13.63 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 8.815e-05/0.2385, allocations: 0 / 0.9653 GB, free: 13.63 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.00732/0.2458, allocations: 3.83 MB / 0.9691 GB, free: 9.691 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.491e-05/0.2458, allocations: 12.03 kB / 0.9691 GB, free: 9.68 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01581/0.2616, allocations: 3.363 MB / 0.9724 GB, free: 6.305 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003942/0.2656, allocations: 2.057 MB / 0.9744 GB, free: 4.18 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001451/0.2658, allocations: 185.1 kB / 0.9745 GB, free: 3.996 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004474/0.2663, allocations: 236.1 kB / 0.9748 GB, free: 3.766 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01077/0.277, allocations: 4.736 MB / 0.9794 GB, free: 14.89 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.67e-05/0.2771, allocations: 0 / 0.9794 GB, free: 14.89 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003318/0.2775, allocations: 112 kB / 0.9795 GB, free: 14.78 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001965/0.2777, allocations: 176.8 kB / 0.9797 GB, free: 14.6 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01345/0.2911, allocations: 5.241 MB / 0.9848 GB, free: 9.344 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02009/0.3112, allocations: 14.12 MB / 0.9986 GB, free: 10.06 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01127/0.3226, allocations: 3.847 MB / 1.002 GB, free: 6.199 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003662/0.3263, allocations: 1.518 MB / 1.004 GB, free: 4.68 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001007/0.3264, allocations: 33.2 kB / 1.004 GB, free: 4.648 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004294/0.3307, allocations: 1.828 MB / 1.006 GB, free: 2.758 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=163): time 3.957e-06/0.3307, allocations: 3.938 kB / 1.006 GB, free: 2.754 MB / 0.6511 GB Notification: Performance of matching and sorting (n=250): time 0.125/0.4557, allocations: 33.43 MB / 1.038 GB, free: 1.102 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000258/0.456, allocations: 0.4928 MB / 1.039 GB, free: 0.4961 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003198/0.4592, allocations: 2.3 MB / 1.041 GB, free: 14.18 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0003741/0.4596, allocations: 77.7 kB / 1.041 GB, free: 14.1 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.00118/0.4608, allocations: 1.43 MB / 1.042 GB, free: 12.66 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007787/0.4616, allocations: 0.8202 MB / 1.043 GB, free: 11.82 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001766/0.4617, allocations: 51.94 kB / 1.043 GB, free: 11.77 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001727/0.4619, allocations: 398.6 kB / 1.044 GB, free: 11.38 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004783/0.4667, allocations: 1.925 MB / 1.046 GB, free: 9.449 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004968/0.4717, allocations: 2.241 MB / 1.048 GB, free: 7.125 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00991/0.4816, allocations: 4.216 MB / 1.052 GB, free: 2.773 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.987e-06/0.4817, allocations: 0 / 1.052 GB, free: 2.773 MB / 0.698 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.3263/0.808, allocations: 6.192 MB / 1.058 GB, free: 139.7 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001558/0.8082, allocations: 404 kB / 1.058 GB, free: 139.2 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.369e-05/0.8082, allocations: 8.812 kB / 1.058 GB, free: 139.2 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006328/0.8145, allocations: 1.852 MB / 1.06 GB, free: 139.2 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003027/0.8176, allocations: 0.5893 MB / 1.061 GB, free: 139.2 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02253/0.8401, allocations: 14.19 MB / 1.075 GB, free: 135.8 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003755/0.8439, allocations: 406.3 kB / 1.075 GB, free: 135.8 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002424/0.8442, allocations: 87.66 kB / 1.075 GB, free: 135.8 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 8.345e-06/0.8442, allocations: 4.188 kB / 1.075 GB, free: 135.8 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01345/0.8576, allocations: 5.782 MB / 1.081 GB, free: 133.9 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.626e-05/0.8577, allocations: 7.906 kB / 1.081 GB, free: 133.9 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004697/0.8624, allocations: 1.823 MB / 1.082 GB, free: 133.5 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002858/0.8653, allocations: 0.6048 MB / 1.083 GB, free: 133.5 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01801/0.8833, allocations: 13.47 MB / 1.096 GB, free: 125.6 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003647/0.887, allocations: 396.6 kB / 1.097 GB, free: 125.4 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002367/0.8872, allocations: 89.53 kB / 1.097 GB, free: 125.4 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 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.varLoad1.T_start,varLoad1.T_start,$PRE.varLoad1.count,varLoad1.count,$PRE.varLoad2.T_start,varLoad2.T_start,$PRE.varLoad2.count,varLoad2.count,$PRE.varLoad3.T_start,varLoad3.T_start,$PRE.varLoad3.count,varLoad3.count,$PRE.varLoad4.T_start,varLoad4.T_start,$PRE.varLoad4.count,varLoad4.count,$PRE.varLoad5.T_start,varLoad5.T_start,$PRE.varLoad5.count,varLoad5.count) * 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.001292/0.8885, allocations: 0.7849 MB / 1.097 GB, free: 124.8 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004139/0.8889, allocations: 334.7 kB / 1.098 GB, free: 124.7 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005468/0.8895, allocations: 390.1 kB / 1.098 GB, free: 124.4 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.313e-05/0.8895, allocations: 24.88 kB / 1.098 GB, free: 124.4 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.209e-05/0.8895, allocations: 15.69 kB / 1.098 GB, free: 124.4 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.569e-05/0.8896, allocations: 11.95 kB / 1.098 GB, free: 124.4 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002938/0.8925, allocations: 3.169 MB / 1.101 GB, free: 122 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.206e-06/0.8925, allocations: 4 kB / 1.101 GB, free: 122 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002481/0.895, allocations: 0.515 MB / 1.102 GB, free: 121.5 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005452/0.9005, allocations: 1.716 MB / 1.103 GB, free: 119.8 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002716/0.9008, allocations: 51.97 kB / 1.104 GB, free: 119.7 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01683/0.9176, allocations: 13.97 MB / 1.117 GB, free: 105.5 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/0.9176, allocations: 7.047 kB / 1.117 GB, free: 105.5 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01333/0.931, allocations: 5.803 MB / 1.123 GB, free: 99.68 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001354/0.9324, allocations: 0.6648 MB / 1.123 GB, free: 98.99 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004475/0.9328, allocations: 48 kB / 1.124 GB, free: 98.94 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002841/0.9357, allocations: 400.6 kB / 1.124 GB, free: 98.55 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007821/0.9365, allocations: 298 kB / 1.124 GB, free: 98.26 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001728/0.9367, allocations: 75.91 kB / 1.124 GB, free: 98.19 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001637/0.9383, allocations: 1.532 MB / 1.126 GB, free: 96.66 MB / 0.698 GB Notification: Performance of sort global known variables: time 2.31e-07/0.9383, allocations: 0 / 1.126 GB, free: 96.66 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.003452/0.9418, allocations: 1.625 MB / 1.127 GB, free: 95.03 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.0002775/0.9421, allocations: 163 kB / 1.128 GB, free: 94.86 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.02022/0.9623, allocations: 10.1 MB / 1.137 GB, free: 84.58 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 8.987e-06/0.9623, allocations: 4 kB / 1.137 GB, free: 84.57 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.007242/0.9696, allocations: 3.486 MB / 1.141 GB, free: 81.06 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004176/0.9738, allocations: 1.057 MB / 1.142 GB, free: 80.04 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0113/0.9851, allocations: 8.154 MB / 1.15 GB, free: 71.88 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001461/0.9866, allocations: 2.301 MB / 1.152 GB, free: 69.54 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0011/0.9877, allocations: 207.4 kB / 1.152 GB, free: 69.34 MB / 0.698 GB Notification: Performance of SimCode: time 6.62e-07/0.9877, allocations: 0 / 1.152 GB, free: 69.34 MB / 0.698 GB Notification: Performance of Templates: time 0.07912/1.067, allocations: 79.62 MB / 1.23 GB, free: 5.992 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)