Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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="mat",numberOfIntervals=5000,variableFilter="time|Sloads|E.S.1.",fileNamePrefix="Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized") translateModel(Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Sloads|E.S.1.",fileNamePrefix="Buildings_latest_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.0009595/0.0009596, 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.0009133/0.0009134, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.473/1.473, allocations: 223.2 MB / 239.9 MB, free: 5.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.796/2.796, allocations: 436.5 MB / 0.7104 GB, free: 7.898 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003944/0.0003945, allocations: 8 kB / 0.8707 GB, free: 4.82 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7752/0.7756, allocations: 153.7 MB / 1.021 GB, free: 1.113 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized): time 0.02064/0.7963, allocations: 19.19 MB / 1.04 GB, free: 13.88 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.02415/0.8205, allocations: 16.05 MB / 1.055 GB, free: 13.79 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003787/0.8243, allocations: 95.44 kB / 1.055 GB, free: 13.7 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.002347/0.8267, allocations: 0.5431 MB / 1.056 GB, free: 13.15 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0112/0.8379, allocations: 2.827 MB / 1.059 GB, free: 10.32 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.003853/0.8418, allocations: 0.9349 MB / 1.06 GB, free: 9.391 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.007683/0.8495, allocations: 3.426 MB / 1.063 GB, free: 5.957 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003468/0.853, allocations: 2.063 MB / 1.065 GB, free: 3.832 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003625/0.8566, allocations: 1.818 MB / 1.067 GB, free: 2.008 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004228/0.8609, allocations: 1.786 MB / 1.068 GB, free: 220 kB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.0007099/0.8616, allocations: 176 kB / 1.069 GB, free: 44 kB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001982/0.8636, allocations: 491.4 kB / 1.069 GB, free: 15.56 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0009326/0.8645, allocations: 0.8878 MB / 1.07 GB, free: 14.67 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.00114/0.8657, allocations: 0.6912 MB / 1.071 GB, free: 13.97 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.004749/0.8704, allocations: 3.886 MB / 1.074 GB, free: 10.08 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.8705, allocations: 0 / 1.074 GB, free: 10.08 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.545e-06/0.8705, allocations: 0 / 1.074 GB, free: 10.08 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 0.0001533/0.8706, allocations: 8 kB / 1.074 GB, free: 10.07 MB / 0.8262 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.01013/0.8808, allocations: 4.091 MB / 1.078 GB, free: 5.867 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.927e-05/0.8808, allocations: 8.031 kB / 1.078 GB, free: 5.859 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01676/0.8976, allocations: 3.413 MB / 1.082 GB, free: 2.438 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005133/0.9028, allocations: 1.987 MB / 1.084 GB, free: 392 kB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004427/0.9033, allocations: 461.7 kB / 1.084 GB, free: 15.87 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007159/0.904, allocations: 244 kB / 1.084 GB, free: 15.63 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01122/0.9152, allocations: 4.826 MB / 1.089 GB, free: 10.66 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.924e-05/0.9153, allocations: 3.984 kB / 1.089 GB, free: 10.65 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003468/0.9157, allocations: 108 kB / 1.089 GB, free: 10.55 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002004/0.9159, allocations: 172.8 kB / 1.089 GB, free: 10.38 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01365/0.9295, allocations: 5.3 MB / 1.094 GB, free: 5.059 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02335/0.9529, allocations: 14.59 MB / 1.109 GB, free: 5.305 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01042/0.9634, allocations: 3.668 MB / 1.112 GB, free: 1.629 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002263/0.9637, allocations: 37.22 kB / 1.112 GB, free: 1.594 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004435/0.9681, allocations: 1.9 MB / 1.114 GB, free: 15.62 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=163): time 4.669e-06/0.9682, allocations: 0 / 1.114 GB, free: 15.62 MB / 0.8731 GB Notification: Performance of matching and sorting (n=250): time 0.1323/1.1, allocations: 34.1 MB / 1.147 GB, free: 13.3 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003167/1.101, allocations: 0.4928 MB / 1.148 GB, free: 12.7 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003531/1.104, allocations: 2.273 MB / 1.15 GB, free: 10.41 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 0.0005367/1.105, allocations: 77.7 kB / 1.15 GB, free: 10.33 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.001258/1.106, allocations: 1.434 MB / 1.152 GB, free: 8.879 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009603/1.107, allocations: 0.8163 MB / 1.152 GB, free: 8.051 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001908/1.107, allocations: 48 kB / 1.153 GB, free: 8.004 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001707/1.108, allocations: 402.7 kB / 1.153 GB, free: 7.605 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00527/1.113, allocations: 2.105 MB / 1.155 GB, free: 5.496 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005759/1.119, allocations: 2.399 MB / 1.157 GB, free: 3.012 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005534/1.124, allocations: 2.292 MB / 1.16 GB, free: 0.668 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.05e-05/1.124, allocations: 4 kB / 1.16 GB, free: 0.6641 MB / 0.9044 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.0191/1.143, allocations: 6.88 MB / 1.166 GB, free: 9.695 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001246/1.143, allocations: 144.5 kB / 1.166 GB, free: 9.523 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.328e-05/1.144, allocations: 11.94 kB / 1.166 GB, free: 9.512 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009992/1.154, allocations: 2.95 MB / 1.169 GB, free: 6.555 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003245/1.157, allocations: 0.5618 MB / 1.17 GB, free: 5.992 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04044/1.197, allocations: 18.16 MB / 1.188 GB, free: 3.602 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004769/1.202, allocations: 427.5 kB / 1.188 GB, free: 3.184 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005188/1.203, allocations: 83.98 kB / 1.188 GB, free: 3.102 MB / 0.9356 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 (162): * Single equations (assignments): 155 * 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 {9 63} Notification: Performance of prepare postOptimizeDAE: time 0.001948/1.205, allocations: 0.7065 MB / 1.189 GB, free: 2.387 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000882/1.206, allocations: 332.1 kB / 1.189 GB, free: 2.059 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008399/1.206, allocations: 388.1 kB / 1.189 GB, free: 1.672 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.561e-05/1.206, allocations: 24 kB / 1.189 GB, free: 1.648 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.842e-05/1.206, allocations: 8 kB / 1.189 GB, free: 1.641 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.313e-05/1.207, allocations: 15.95 kB / 1.189 GB, free: 1.625 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005598/1.212, allocations: 3.624 MB / 1.193 GB, free: 13.94 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.991e-05/1.212, allocations: 4 kB / 1.193 GB, free: 13.94 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002635/1.215, allocations: 0.4993 MB / 1.194 GB, free: 13.44 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01045/1.225, allocations: 2.861 MB / 1.196 GB, free: 10.57 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008348/1.226, allocations: 47.97 kB / 1.196 GB, free: 10.52 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03806/1.264, allocations: 17.94 MB / 1.214 GB, free: 8.301 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/1.264, allocations: 0 / 1.214 GB, free: 8.301 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01822/1.283, allocations: 6.525 MB / 1.22 GB, free: 1.738 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002132/1.285, allocations: 0.6961 MB / 1.221 GB, free: 1.02 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007193/1.285, allocations: 51.94 kB / 1.221 GB, free: 0.9688 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003576/1.289, allocations: 411.6 kB / 1.221 GB, free: 0.5664 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001295/1.29, allocations: 366.6 kB / 1.222 GB, free: 216 kB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002279/1.291, allocations: 67.97 kB / 1.222 GB, free: 148 kB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.002277/1.293, allocations: 1.517 MB / 1.223 GB, free: 14.63 MB / 0.9825 GB Notification: Performance of sort global known variables: time 2.41e-07/1.293, allocations: 0 / 1.223 GB, free: 14.63 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.003603/1.297, allocations: 1.047 MB / 1.224 GB, free: 13.58 MB / 0.9825 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 (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 62} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004426/1.297, allocations: 163 kB / 1.224 GB, free: 13.41 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.02333/1.32, allocations: 6.825 MB / 1.231 GB, free: 6.492 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.035e-05/1.32, allocations: 4 kB / 1.231 GB, free: 6.488 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.01734/1.338, allocations: 4.233 MB / 1.235 GB, free: 2.23 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00461/1.342, allocations: 1.005 MB / 1.236 GB, free: 1.234 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0158/1.358, allocations: 7.74 MB / 1.244 GB, free: 9.469 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001938/1.36, allocations: 2.293 MB / 1.246 GB, free: 7.145 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.002833/1.363, allocations: 0.5137 MB / 1.247 GB, free: 6.625 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006501/1.364, allocations: 175.4 kB / 1.247 GB, free: 6.453 MB / 0.9981 GB Notification: Performance of SimCode: time 1.553e-06/1.364, allocations: 0 / 1.247 GB, free: 6.453 MB / 0.9981 GB Notification: Performance of Templates: time 0.7304/2.094, allocations: 70.04 MB / 1.315 GB, free: 178 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.makefile (rm -f Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe ; mkfifo Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe >> ../files/Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.sim & ./Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe 2>&1)