Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.DC.Lines.Examples.DCLines.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 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.DCLines,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.DC.Lines.Examples.DCLines") translateModel(Buildings.Electrical.DC.Lines.Examples.DCLines,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.DC.Lines.Examples.DCLines") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009895/0.0009893, allocations: 99.94 kB / 15.05 MB, free: 1.105 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.0009429/0.000943, allocations: 177.3 kB / 15.95 MB, free: 216 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.576/1.576, allocations: 205.4 MB / 222.1 MB, free: 5.652 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.637/1.637, allocations: 292.5 MB / 0.5497 GB, free: 14.62 MB / 462.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.0004942/0.0004943, allocations: 12.59 kB / 0.6735 GB, free: 26.36 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2209/0.2214, allocations: 116.3 MB / 0.7871 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.DCLines): time 0.01975/0.2412, allocations: 19.14 MB / 0.8058 GB, free: 8.746 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.02109/0.2623, allocations: 16.06 MB / 0.8215 GB, free: 8.648 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002411/0.2648, allocations: 95.38 kB / 0.8216 GB, free: 8.555 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.001654/0.2664, allocations: 0.5432 MB / 0.8221 GB, free: 8.008 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.008488/0.2749, allocations: 2.832 MB / 0.8249 GB, free: 5.18 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.002561/0.2775, allocations: 0.9285 MB / 0.8258 GB, free: 4.254 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.006085/0.2836, allocations: 3.342 MB / 0.8291 GB, free: 0.9062 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002803/0.2864, allocations: 2.017 MB / 0.831 GB, free: 14.83 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003142/0.2896, allocations: 1.713 MB / 0.8327 GB, free: 13.11 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00331/0.2929, allocations: 1.759 MB / 0.8344 GB, free: 11.34 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0005329/0.2935, allocations: 164 kB / 0.8346 GB, free: 11.18 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00183/0.2953, allocations: 479.4 kB / 0.835 GB, free: 10.71 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0009207/0.2962, allocations: 0.8449 MB / 0.8359 GB, free: 9.867 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.00124/0.2975, allocations: 0.6834 MB / 0.8365 GB, free: 9.176 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.004905/0.3024, allocations: 3.806 MB / 0.8402 GB, free: 5.359 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.3024, allocations: 3.938 kB / 0.8402 GB, free: 5.355 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.234e-06/0.3024, allocations: 0 / 0.8402 GB, free: 5.355 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 0.0001773/0.3026, allocations: 4 kB / 0.8402 GB, free: 5.352 MB / 0.6544 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.008082/0.3107, allocations: 3.861 MB / 0.844 GB, free: 1.379 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.393e-05/0.3108, allocations: 8.031 kB / 0.844 GB, free: 1.371 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01579/0.3266, allocations: 3.405 MB / 0.8473 GB, free: 13.96 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004248/0.3309, allocations: 1.967 MB / 0.8493 GB, free: 11.92 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001417/0.331, allocations: 184.7 kB / 0.8494 GB, free: 11.74 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004347/0.3315, allocations: 232 kB / 0.8497 GB, free: 11.51 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009692/0.3412, allocations: 4.697 MB / 0.8543 GB, free: 6.672 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.647e-05/0.3412, allocations: 7.938 kB / 0.8543 GB, free: 6.664 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003097/0.3416, allocations: 104 kB / 0.8544 GB, free: 6.562 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002009/0.3418, allocations: 176.8 kB / 0.8545 GB, free: 6.387 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0139/0.3557, allocations: 5.218 MB / 0.8596 GB, free: 1.152 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02284/0.3786, allocations: 14.11 MB / 0.8734 GB, free: 1.867 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01063/0.3893, allocations: 3.848 MB / 0.8772 GB, free: 14.01 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001298/0.3894, allocations: 33.27 kB / 0.8772 GB, free: 13.98 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003877/0.3933, allocations: 1.822 MB / 0.879 GB, free: 12.09 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=163): time 4.118e-06/0.3933, allocations: 0 / 0.879 GB, free: 12.09 MB / 0.7012 GB Notification: Performance of matching and sorting (n=250): time 0.1189/0.5123, allocations: 33.37 MB / 0.9116 GB, free: 10.5 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002322/0.5125, allocations: 0.4966 MB / 0.9121 GB, free: 9.891 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002784/0.5153, allocations: 2.277 MB / 0.9143 GB, free: 7.602 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0003229/0.5157, allocations: 77.7 kB / 0.9143 GB, free: 7.52 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.001131/0.5168, allocations: 1.426 MB / 0.9157 GB, free: 6.078 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006956/0.5175, allocations: 0.824 MB / 0.9165 GB, free: 5.242 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001703/0.5177, allocations: 48 kB / 0.9166 GB, free: 5.195 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001586/0.5179, allocations: 402.6 kB / 0.917 GB, free: 4.797 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004485/0.5223, allocations: 1.921 MB / 0.9189 GB, free: 2.871 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00483/0.5272, allocations: 2.208 MB / 0.921 GB, free: 0.5781 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.3765/0.9037, allocations: 2.124 MB / 0.9231 GB, free: 125.3 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.499e-05/0.9038, allocations: 1.875 kB / 0.9231 GB, free: 125.3 MB / 0.7325 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.01507/0.9189, allocations: 6.17 MB / 0.9291 GB, free: 124.8 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004215/0.9193, allocations: 2.451 MB / 0.9315 GB, free: 122.2 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.547e-05/0.9194, allocations: 5.875 kB / 0.9315 GB, free: 122.2 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006186/0.9256, allocations: 1.849 MB / 0.9333 GB, free: 121.9 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002824/0.9284, allocations: 0.5807 MB / 0.9339 GB, free: 121.9 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0252/0.9536, allocations: 14.82 MB / 0.9483 GB, free: 114.3 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003947/0.9576, allocations: 402.7 kB / 0.9487 GB, free: 114.3 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003866/0.958, allocations: 89.22 kB / 0.9488 GB, free: 114.3 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.31e-05/0.9581, allocations: 4.469 kB / 0.9488 GB, free: 114.3 MB / 0.7325 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01359/0.9717, allocations: 5.754 MB / 0.9544 GB, free: 112.3 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.624e-05/0.9717, allocations: 4.125 kB / 0.9544 GB, free: 112.3 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005202/0.9769, allocations: 1.817 MB / 0.9562 GB, free: 112 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002885/0.9799, allocations: 0.6117 MB / 0.9568 GB, free: 111.9 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01678/0.9966, allocations: 14.07 MB / 0.9706 GB, free: 103.5 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003473/1, allocations: 397.3 kB / 0.9709 GB, free: 103.3 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002424/1, allocations: 90.31 kB / 0.971 GB, free: 103.3 MB / 0.7325 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(10,45.0%) 52} * Non-linear torn systems: 1 {10 52} Notification: Performance of prepare postOptimizeDAE: time 0.001324/1.002, allocations: 0.7822 MB / 0.9718 GB, free: 102.8 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004208/1.002, allocations: 329.4 kB / 0.9721 GB, free: 102.6 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005338/1.003, allocations: 398.2 kB / 0.9725 GB, free: 102.3 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.777e-05/1.003, allocations: 32.73 kB / 0.9725 GB, free: 102.3 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.755e-05/1.003, allocations: 7.875 kB / 0.9725 GB, free: 102.3 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.567e-05/1.003, allocations: 11.95 kB / 0.9725 GB, free: 102.3 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003234/1.006, allocations: 3.171 MB / 0.9756 GB, free: 100.2 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.225e-05/1.006, allocations: 3.828 kB / 0.9756 GB, free: 100.2 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002459/1.009, allocations: 0.52 MB / 0.9761 GB, free: 100 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005377/1.014, allocations: 1.705 MB / 0.9778 GB, free: 98.66 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003418/1.014, allocations: 51.97 kB / 0.9779 GB, free: 98.61 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01666/1.031, allocations: 14.6 MB / 0.9921 GB, free: 83.76 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/1.031, allocations: 3.984 kB / 0.9921 GB, free: 83.75 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0126/1.044, allocations: 5.79 MB / 0.9978 GB, free: 77.93 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001564/1.045, allocations: 0.6648 MB / 0.9984 GB, free: 77.24 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004601/1.046, allocations: 44 kB / 0.9985 GB, free: 77.2 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002643/1.048, allocations: 401.3 kB / 0.9988 GB, free: 76.81 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007622/1.049, allocations: 306.6 kB / 0.9991 GB, free: 76.51 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001501/1.049, allocations: 71.97 kB / 0.9992 GB, free: 76.44 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0016/1.051, allocations: 1.509 MB / 1.001 GB, free: 74.93 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.3e-07/1.051, allocations: 0 / 1.001 GB, free: 74.93 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.003403/1.054, allocations: 1.621 MB / 1.002 GB, free: 73.31 MB / 0.7325 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(10,60.0%) 52} * Non-linear torn systems: 1 {10 52} Notification: Performance of Backend phase and start with SimCode phase: time 0.000301/1.055, allocations: 171.6 kB / 1.002 GB, free: 73.13 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.02014/1.075, allocations: 10.07 MB / 1.012 GB, free: 62.88 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 8.877e-06/1.075, allocations: 0 / 1.012 GB, free: 62.88 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.006882/1.082, allocations: 3.509 MB / 1.016 GB, free: 59.35 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003928/1.086, allocations: 1.006 MB / 1.017 GB, free: 58.38 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01048/1.096, allocations: 7.572 MB / 1.024 GB, free: 50.8 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001533/1.098, allocations: 2.375 MB / 1.026 GB, free: 48.39 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.00259/1.1, allocations: 0.6309 MB / 1.027 GB, free: 47.75 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005572/1.101, allocations: 179.4 kB / 1.027 GB, free: 47.57 MB / 0.7325 GB Notification: Performance of SimCode: time 8.12e-07/1.101, allocations: 0 / 1.027 GB, free: 47.57 MB / 0.7325 GB Notification: Performance of Templates: time 0.09876/1.2, allocations: 74.03 MB / 1.099 GB, free: 6.477 MB / 0.7637 GB make -j1 -f Buildings_8_Buildings.Electrical.DC.Lines.Examples.DCLines.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Electrical.DC.Lines.Examples.DCLines.pipe ; mkfifo Buildings_8_Buildings.Electrical.DC.Lines.Examples.DCLines.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.DC.Lines.Examples.DCLines.pipe >> ../files/Buildings_8_Buildings.Electrical.DC.Lines.Examples.DCLines.sim & ./Buildings_8_Buildings.Electrical.DC.Lines.Examples.DCLines -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.DC.Lines.Examples.DCLines.pipe 2>&1) Environment - environmentSimulation: