Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.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.DCLinesLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized") translateModel(Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001328/0.001328, allocations: 108.4 kB / 15.99 MB, free: 6.359 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.001492/0.001492, allocations: 191.2 kB / 16.91 MB, free: 6.195 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.501/1.501, allocations: 205.1 MB / 222.8 MB, free: 4.695 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.682/1.682, allocations: 292.3 MB / 0.5492 GB, free: 13.6 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.001384/0.001384, allocations: 65.48 kB / 0.6716 GB, free: 26.36 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2167/0.2181, allocations: 114.5 MB / 0.7835 GB, free: 13.93 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized): time 0.02407/0.2422, allocations: 22.24 MB / 0.8052 GB, free: 7.602 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.02608/0.2683, allocations: 17.55 MB / 0.8224 GB, free: 5.992 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00529/0.2737, allocations: 107.4 kB / 0.8225 GB, free: 5.887 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.01123/0.285, allocations: 3.913 MB / 0.8263 GB, free: 1.969 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.01148/0.2965, allocations: 3.196 MB / 0.8294 GB, free: 14.77 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.003834/0.3004, allocations: 1.18 MB / 0.8306 GB, free: 13.59 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.009344/0.3097, allocations: 5.804 MB / 0.8362 GB, free: 7.766 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006891/0.3167, allocations: 4.015 MB / 0.8402 GB, free: 3.676 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005204/0.3219, allocations: 2.46 MB / 0.8426 GB, free: 1.207 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005012/0.327, allocations: 2.522 MB / 0.845 GB, free: 14.68 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.001161/0.3282, allocations: 368 kB / 0.8454 GB, free: 14.32 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002582/0.3308, allocations: 1.037 MB / 0.8464 GB, free: 13.28 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.001187/0.332, allocations: 1.196 MB / 0.8476 GB, free: 12.08 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.002649/0.3346, allocations: 2.002 MB / 0.8495 GB, free: 10.07 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.004851/0.3395, allocations: 4.1 MB / 0.8535 GB, free: 5.957 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/0.3395, allocations: 3.938 kB / 0.8535 GB, free: 5.953 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.854e-06/0.3395, allocations: 0 / 0.8535 GB, free: 5.953 MB / 0.67 GB Notification: Performance of Transformations before backend: time 0.0001258/0.3397, allocations: 4 kB / 0.8535 GB, free: 5.949 MB / 0.67 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.0113/0.351, allocations: 4.605 MB / 0.858 GB, free: 1.23 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 5.263e-05/0.351, allocations: 8.031 kB / 0.858 GB, free: 1.223 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01542/0.3665, allocations: 3.269 MB / 0.8612 GB, free: 13.95 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004607/0.3711, allocations: 2.091 MB / 0.8633 GB, free: 11.79 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000435/0.3716, allocations: 470.3 kB / 0.8637 GB, free: 11.26 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007747/0.3724, allocations: 235.9 kB / 0.8639 GB, free: 11.03 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01166/0.384, allocations: 4.814 MB / 0.8686 GB, free: 6.074 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.687e-05/0.3841, allocations: 0 / 0.8686 GB, free: 6.074 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003571/0.3845, allocations: 104 kB / 0.8687 GB, free: 5.973 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002057/0.3847, allocations: 172.8 kB / 0.8689 GB, free: 5.801 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01347/0.3982, allocations: 5.194 MB / 0.874 GB, free: 0.5898 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02517/0.4234, allocations: 14.48 MB / 0.8881 GB, free: 0.9414 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009491/0.4329, allocations: 3.402 MB / 0.8914 GB, free: 13.53 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003628/0.4366, allocations: 1.467 MB / 0.8929 GB, free: 12.06 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001475/0.4368, allocations: 21.3 kB / 0.8929 GB, free: 12.04 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004222/0.441, allocations: 1.798 MB / 0.8946 GB, free: 10.18 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=163): time 3.687e-06/0.441, allocations: 0 / 0.8946 GB, free: 10.18 MB / 0.7169 GB Notification: Performance of matching and sorting (n=250): time 0.5263/0.9674, allocations: 28.2 MB / 0.9222 GB, free: 127.4 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001513/0.9676, allocations: 0.4912 MB / 0.9227 GB, free: 126.8 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003416/0.971, allocations: 2.297 MB / 0.9249 GB, free: 126.6 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0004813/0.9715, allocations: 79.73 kB / 0.925 GB, free: 126.5 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.001045/0.9725, allocations: 1.433 MB / 0.9264 GB, free: 125.9 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008686/0.9734, allocations: 0.819 MB / 0.9272 GB, free: 125.5 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008287/0.9743, allocations: 420.8 kB / 0.9276 GB, free: 125.3 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 4.572e-05/0.9743, allocations: 305.1 kB / 0.9279 GB, free: 125 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004907/0.9792, allocations: 1.927 MB / 0.9298 GB, free: 124.4 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005213/0.9845, allocations: 2.236 MB / 0.9319 GB, free: 123.6 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01008/0.9946, allocations: 4.164 MB / 0.936 GB, free: 121.9 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.376e-05/0.9946, allocations: 0 / 0.936 GB, free: 121.9 MB / 0.7325 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.02069/1.015, allocations: 6.534 MB / 0.9424 GB, free: 119.7 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 9.755e-05/1.015, allocations: 147.3 kB / 0.9425 GB, free: 119.5 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.018e-05/1.015, allocations: 9.031 kB / 0.9425 GB, free: 119.5 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009793/1.025, allocations: 2.953 MB / 0.9454 GB, free: 119 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002832/1.028, allocations: 487.6 kB / 0.9459 GB, free: 118.9 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03586/1.064, allocations: 18.85 MB / 0.9643 GB, free: 108.2 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004098/1.068, allocations: 328.9 kB / 0.9646 GB, free: 108.1 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004532/1.069, allocations: 91.12 kB / 0.9647 GB, free: 108 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 (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 (162): * Single equations (assignments): 155 * 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 {(8,64)} Notification: Performance of prepare postOptimizeDAE: time 0.001473/1.07, allocations: 0.7024 MB / 0.9654 GB, free: 107.6 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007026/1.071, allocations: 331.4 kB / 0.9657 GB, free: 107.4 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007041/1.072, allocations: 382.6 kB / 0.9661 GB, free: 107.1 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.197e-05/1.072, allocations: 22.25 kB / 0.9661 GB, free: 107.1 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.537e-05/1.072, allocations: 11.56 kB / 0.9661 GB, free: 107.1 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.564e-05/1.072, allocations: 15.95 kB / 0.9661 GB, free: 107.1 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003792/1.075, allocations: 3.635 MB / 0.9697 GB, free: 104.7 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.145e-05/1.076, allocations: 0 / 0.9697 GB, free: 104.7 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00232/1.078, allocations: 422.2 kB / 0.9701 GB, free: 104.5 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008862/1.087, allocations: 2.886 MB / 0.9729 GB, free: 103.2 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004358/1.087, allocations: 49.75 kB / 0.9729 GB, free: 103.2 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03229/1.119, allocations: 18.63 MB / 0.9911 GB, free: 86.03 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/1.12, allocations: 0 / 0.9911 GB, free: 86.03 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01532/1.135, allocations: 6.171 MB / 0.9972 GB, free: 79.82 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001548/1.136, allocations: 0.7 MB / 0.9978 GB, free: 79.1 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006364/1.137, allocations: 48 kB / 0.9979 GB, free: 79.05 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003223/1.14, allocations: 315.5 kB / 0.9982 GB, free: 78.75 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001132/1.141, allocations: 358.7 kB / 0.9985 GB, free: 78.39 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002224/1.142, allocations: 71.97 kB / 0.9986 GB, free: 78.32 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001779/1.143, allocations: 1.532 MB / 1 GB, free: 76.79 MB / 0.7325 GB Notification: Performance of sort global known variables: time 3.3e-07/1.144, allocations: 0 / 1 GB, free: 76.79 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.003203/1.147, allocations: 1.047 MB / 1.001 GB, free: 75.75 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 (118): * Single equations (assignments): 106 * 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,62)} Notification: Performance of Backend phase and start with SimCode phase: time 0.000404/1.147, allocations: 163.1 kB / 1.001 GB, free: 75.57 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.02284/1.17, allocations: 7.298 MB / 1.008 GB, free: 68.2 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 8.536e-06/1.17, allocations: 8 kB / 1.008 GB, free: 68.2 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.01509/1.185, allocations: 4.049 MB / 1.012 GB, free: 64.12 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00534/1.191, allocations: 1.148 MB / 1.013 GB, free: 63.05 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01354/1.204, allocations: 8.221 MB / 1.022 GB, free: 54.82 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001516/1.206, allocations: 2.231 MB / 1.024 GB, free: 52.55 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001152/1.207, allocations: 207.4 kB / 1.024 GB, free: 52.35 MB / 0.7325 GB Notification: Performance of SimCode: time 8.02e-07/1.207, allocations: 0 / 1.024 GB, free: 52.35 MB / 0.7325 GB Notification: Performance of Templates: time 0.08902/1.296, allocations: 79.96 MB / 1.102 GB, free: 4.738 MB / 0.7637 GB make -j1 -f Buildings_8_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.makefile (rm -f Buildings_8_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe ; mkfifo Buildings_8_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe >> ../files/Buildings_8_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.sim & ./Buildings_8_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe 2>&1)