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.000979/0.000979, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.001239/0.001239, allocations: 168.7 kB / 15.95 MB, free: 204 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.483/1.483, allocations: 223.3 MB / 240 MB, free: 5.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.903/2.903, allocations: 462.6 MB / 0.736 GB, free: 15.74 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003821/0.0003823, allocations: 11.7 kB / 0.9021 GB, free: 36.62 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4014/0.4018, allocations: 159.6 MB / 1.058 GB, free: 5.352 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized): time 0.0265/0.4284, allocations: 20.43 MB / 1.078 GB, free: 0.8594 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.02778/0.4562, allocations: 16.4 MB / 1.094 GB, free: 432 kB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004064/0.4604, allocations: 103.4 kB / 1.094 GB, free: 328 kB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.003044/0.4634, allocations: 0.5619 MB / 1.095 GB, free: 15.75 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.01075/0.4742, allocations: 2.865 MB / 1.097 GB, free: 12.88 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.003732/0.4779, allocations: 0.949 MB / 1.098 GB, free: 11.94 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.01104/0.489, allocations: 5.928 MB / 1.104 GB, free: 5.992 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005304/0.4944, allocations: 2.063 MB / 1.106 GB, free: 3.863 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005389/0.4998, allocations: 1.969 MB / 1.108 GB, free: 1.887 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005369/0.5052, allocations: 2.218 MB / 1.11 GB, free: 15.66 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.001247/0.5065, allocations: 180 kB / 1.11 GB, free: 15.48 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002344/0.5088, allocations: 0.4994 MB / 1.111 GB, free: 14.98 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.00131/0.5101, allocations: 0.9537 MB / 1.112 GB, free: 14.03 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.001462/0.5116, allocations: 0.6873 MB / 1.113 GB, free: 13.33 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.004833/0.5164, allocations: 3.923 MB / 1.116 GB, free: 9.402 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 6.552e-06/0.5165, allocations: 0 / 1.116 GB, free: 9.402 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.984e-06/0.5165, allocations: 0 / 1.116 GB, free: 9.402 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 0.0001387/0.5166, allocations: 0 / 1.116 GB, free: 9.402 MB / 0.8731 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.009331/0.526, allocations: 4.107 MB / 1.12 GB, free: 5.184 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.329e-05/0.526, allocations: 8.031 kB / 1.12 GB, free: 5.176 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01536/0.5414, allocations: 3.374 MB / 1.124 GB, free: 1.793 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00493/0.5463, allocations: 1.98 MB / 1.126 GB, free: 15.74 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004347/0.5468, allocations: 469.6 kB / 1.126 GB, free: 15.22 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000698/0.5475, allocations: 236 kB / 1.126 GB, free: 14.99 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01128/0.5588, allocations: 4.845 MB / 1.131 GB, free: 10 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.591e-05/0.5589, allocations: 7.984 kB / 1.131 GB, free: 9.992 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003189/0.5592, allocations: 104 kB / 1.131 GB, free: 9.891 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002135/0.5594, allocations: 168.8 kB / 1.131 GB, free: 9.723 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01314/0.5726, allocations: 5.3 MB / 1.136 GB, free: 4.406 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02469/0.5973, allocations: 14.6 MB / 1.151 GB, free: 4.637 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009425/0.6068, allocations: 3.672 MB / 1.154 GB, free: 0.9492 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003585/0.6104, allocations: 1.588 MB / 1.156 GB, free: 15.36 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000138/0.6105, allocations: 25.28 kB / 1.156 GB, free: 15.34 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004004/0.6146, allocations: 1.917 MB / 1.158 GB, free: 13.36 MB / 0.92 GB Notification: Performance of pre-optimization done (n=163): time 3.216e-06/0.6146, allocations: 0 / 1.158 GB, free: 13.36 MB / 0.92 GB Notification: Performance of matching and sorting (n=250): time 0.1177/0.7323, allocations: 34.09 MB / 1.191 GB, free: 11.04 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002527/0.7326, allocations: 0.4889 MB / 1.191 GB, free: 10.44 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00332/0.7359, allocations: 2.273 MB / 1.194 GB, free: 8.152 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 0.000435/0.7364, allocations: 81.7 kB / 1.194 GB, free: 8.066 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.001232/0.7376, allocations: 1.434 MB / 1.195 GB, free: 6.617 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009609/0.7386, allocations: 0.8202 MB / 1.196 GB, free: 5.785 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000201/0.7388, allocations: 48 kB / 1.196 GB, free: 5.738 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001885/0.739, allocations: 402.6 kB / 1.196 GB, free: 5.34 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005088/0.7441, allocations: 2.108 MB / 1.198 GB, free: 3.227 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0054/0.7495, allocations: 2.411 MB / 1.201 GB, free: 0.7305 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005262/0.7548, allocations: 2.288 MB / 1.203 GB, free: 14.39 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.068e-05/0.7548, allocations: 4 kB / 1.203 GB, free: 14.39 MB / 0.9669 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.01762/0.7724, allocations: 6.887 MB / 1.21 GB, free: 7.41 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001176/0.7726, allocations: 148.5 kB / 1.21 GB, free: 7.234 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.88e-05/0.7726, allocations: 4 kB / 1.21 GB, free: 7.23 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009278/0.7819, allocations: 2.946 MB / 1.213 GB, free: 4.277 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002973/0.7849, allocations: 0.5734 MB / 1.213 GB, free: 3.703 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03612/0.821, allocations: 17.31 MB / 1.23 GB, free: 2.16 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003796/0.8248, allocations: 419.5 kB / 1.231 GB, free: 1.75 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003062/0.8252, allocations: 91.97 kB / 1.231 GB, free: 1.66 MB / 0.9825 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.001508/0.8267, allocations: 0.7105 MB / 1.231 GB, free: 0.9414 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005554/0.8272, allocations: 328.1 kB / 1.232 GB, free: 0.6172 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007864/0.828, allocations: 384.1 kB / 1.232 GB, free: 240 kB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.66e-05/0.8281, allocations: 20 kB / 1.232 GB, free: 220 kB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.422e-05/0.8281, allocations: 12 kB / 1.232 GB, free: 208 kB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.816e-05/0.8281, allocations: 11.95 kB / 1.232 GB, free: 196 kB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004615/0.8327, allocations: 3.639 MB / 1.236 GB, free: 12.49 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.165e-05/0.8328, allocations: 0 / 1.236 GB, free: 12.49 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002394/0.8352, allocations: 0.4994 MB / 1.236 GB, free: 11.99 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009131/0.8443, allocations: 2.865 MB / 1.239 GB, free: 9.121 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004199/0.8448, allocations: 55.91 kB / 1.239 GB, free: 9.066 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.7645/1.609, allocations: 17.09 MB / 1.256 GB, free: 172.1 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.836e-06/1.609, allocations: 0 / 1.256 GB, free: 172.1 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01888/1.628, allocations: 6.527 MB / 1.262 GB, free: 171.8 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002936/1.631, allocations: 0.6978 MB / 1.263 GB, free: 171.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009795/1.632, allocations: 46.84 kB / 1.263 GB, free: 171.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003684/1.636, allocations: 409.6 kB / 1.263 GB, free: 171.7 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001554/1.637, allocations: 365.8 kB / 1.264 GB, free: 171.7 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002582/1.638, allocations: 72.33 kB / 1.264 GB, free: 171.7 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.003151/1.641, allocations: 1.511 MB / 1.265 GB, free: 171.6 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.254e-06/1.641, allocations: 0 / 1.265 GB, free: 171.6 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.006421/1.647, allocations: 1.044 MB / 1.266 GB, free: 171.6 MB / 0.9981 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.0005247/1.648, allocations: 165.9 kB / 1.266 GB, free: 171.5 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0236/1.671, allocations: 6.83 MB / 1.273 GB, free: 170.7 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.497e-05/1.672, allocations: 2.125 kB / 1.273 GB, free: 170.7 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.01728/1.689, allocations: 4.238 MB / 1.277 GB, free: 169.6 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007098/1.696, allocations: 1.043 MB / 1.278 GB, free: 169.4 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01564/1.712, allocations: 7.746 MB / 1.286 GB, free: 165.6 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002232/1.714, allocations: 2.227 MB / 1.288 GB, free: 164.7 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.003162/1.717, allocations: 0.5132 MB / 1.288 GB, free: 164.5 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000745/1.718, allocations: 176 kB / 1.289 GB, free: 164.5 MB / 0.9981 GB Notification: Performance of SimCode: time 9.92e-07/1.718, allocations: 0 / 1.289 GB, free: 164.5 MB / 0.9981 GB Notification: Performance of Templates: time 0.1001/1.818, allocations: 70.11 MB / 1.357 GB, free: 105.3 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)