Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized") translateModel(Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_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.0009581/0.0009584, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.008234/0.008234, allocations: 170.1 kB / 16.27 MB, free: 6.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.474/1.474, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.118/3.118, allocations: 473.4 MB / 0.7469 GB, free: 6.125 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003724/0.0003725, allocations: 13.2 kB / 0.9158 GB, free: 33.07 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3623/0.3627, allocations: 162.2 MB / 1.074 GB, free: 7.57 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized): time 0.02388/0.3867, allocations: 21.71 MB / 1.095 GB, free: 1.789 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.02508/0.4118, allocations: 17.37 MB / 1.112 GB, free: 372 kB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002977/0.4148, allocations: 99.44 kB / 1.112 GB, free: 272 kB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.002285/0.4171, allocations: 0.5854 MB / 1.113 GB, free: 15.67 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.01072/0.4279, allocations: 3.208 MB / 1.116 GB, free: 12.46 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.003873/0.4317, allocations: 1.177 MB / 1.117 GB, free: 11.29 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.01015/0.4419, allocations: 7.047 MB / 1.124 GB, free: 4.215 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00499/0.4469, allocations: 2.558 MB / 1.127 GB, free: 1.562 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005401/0.4524, allocations: 2.046 MB / 1.129 GB, free: 15.51 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005924/0.4583, allocations: 2.284 MB / 1.131 GB, free: 13.21 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.001782/0.4602, allocations: 172 kB / 1.131 GB, free: 13.05 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00371/0.4639, allocations: 1.057 MB / 1.132 GB, free: 11.99 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.002285/0.4662, allocations: 0.9808 MB / 1.133 GB, free: 11 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.004361/0.4706, allocations: 1.781 MB / 1.135 GB, free: 9.207 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.007686/0.4783, allocations: 4.931 MB / 1.14 GB, free: 4.258 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.4783, allocations: 0 / 1.14 GB, free: 4.258 MB / 0.8887 GB Notification: Performance of FrontEnd: time 3.907e-06/0.4784, allocations: 4 kB / 1.14 GB, free: 4.254 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 0.0002213/0.4786, allocations: 3.938 kB / 1.14 GB, free: 4.25 MB / 0.8887 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.0111/0.4897, allocations: 4.056 MB / 1.144 GB, free: 84 kB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 5.839e-05/0.4898, allocations: 12.03 kB / 1.144 GB, free: 72 kB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01784/0.5076, allocations: 3.371 MB / 1.147 GB, free: 12.69 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005321/0.513, allocations: 2.08 MB / 1.149 GB, free: 10.54 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005364/0.5135, allocations: 474.3 kB / 1.149 GB, free: 10.01 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001145/0.5147, allocations: 235.9 kB / 1.15 GB, free: 9.781 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01484/0.5296, allocations: 4.873 MB / 1.154 GB, free: 4.762 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.524e-05/0.5297, allocations: 3.938 kB / 1.154 GB, free: 4.758 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008059/0.5305, allocations: 108 kB / 1.154 GB, free: 4.652 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002409/0.5308, allocations: 172.8 kB / 1.155 GB, free: 4.48 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01625/0.547, allocations: 5.312 MB / 1.16 GB, free: 15.15 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02472/0.5718, allocations: 14.61 MB / 1.174 GB, free: 15.38 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01122/0.583, allocations: 3.678 MB / 1.178 GB, free: 11.68 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004426/0.5875, allocations: 1.6 MB / 1.179 GB, free: 10.08 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001677/0.5877, allocations: 25.22 kB / 1.179 GB, free: 10.05 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005046/0.5928, allocations: 1.915 MB / 1.181 GB, free: 8.078 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=163): time 4.399e-06/0.5928, allocations: 0 / 1.181 GB, free: 8.078 MB / 0.9356 GB Notification: Performance of matching and sorting (n=250): time 0.1439/0.7367, allocations: 34.13 MB / 1.214 GB, free: 5.73 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005342/0.7373, allocations: 0.4967 MB / 1.215 GB, free: 5.121 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00566/0.743, allocations: 2.308 MB / 1.217 GB, free: 2.801 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 0.0006016/0.7437, allocations: 77.7 kB / 1.217 GB, free: 2.719 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.001615/0.7453, allocations: 1.426 MB / 1.219 GB, free: 1.277 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.00137/0.7467, allocations: 0.8202 MB / 1.219 GB, free: 456 kB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005781/0.7473, allocations: 186.4 kB / 1.22 GB, free: 264 kB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001109/0.7474, allocations: 301.1 kB / 1.22 GB, free: 15.96 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006236/0.7536, allocations: 2.116 MB / 1.222 GB, free: 13.84 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00657/0.7603, allocations: 2.423 MB / 1.224 GB, free: 11.33 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01228/0.7726, allocations: 4.54 MB / 1.229 GB, free: 6.656 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.999e-05/0.7726, allocations: 4 kB / 1.229 GB, free: 6.652 MB / 0.9825 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.02156/0.7942, allocations: 6.918 MB / 1.235 GB, free: 15.64 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001393/0.7944, allocations: 148.5 kB / 1.236 GB, free: 15.46 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.294e-05/0.7944, allocations: 4 kB / 1.236 GB, free: 15.46 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01086/0.8053, allocations: 2.93 MB / 1.239 GB, free: 12.53 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003287/0.8086, allocations: 0.5695 MB / 1.239 GB, free: 11.96 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.6608/1.469, allocations: 17.36 MB / 1.256 GB, free: 162.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00456/1.474, allocations: 424.3 kB / 1.256 GB, free: 162.8 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003248/1.474, allocations: 87.75 kB / 1.257 GB, free: 162.8 MB / 0.9981 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.00147/1.476, allocations: 0.6997 MB / 1.257 GB, free: 162.7 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005657/1.476, allocations: 332.4 kB / 1.258 GB, free: 162.7 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007513/1.477, allocations: 385.5 kB / 1.258 GB, free: 162.6 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.334e-05/1.477, allocations: 27.03 kB / 1.258 GB, free: 162.6 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.211e-05/1.477, allocations: 9.594 kB / 1.258 GB, free: 162.6 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.042e-05/1.477, allocations: 12.89 kB / 1.258 GB, free: 162.6 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004547/1.482, allocations: 3.624 MB / 1.261 GB, free: 161.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.321e-05/1.482, allocations: 2.469 kB / 1.261 GB, free: 161.8 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002764/1.485, allocations: 0.5018 MB / 1.262 GB, free: 161.8 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01026/1.495, allocations: 2.87 MB / 1.265 GB, free: 161.4 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004586/1.495, allocations: 56.08 kB / 1.265 GB, free: 161.3 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03909/1.535, allocations: 17.15 MB / 1.282 GB, free: 153.1 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.378e-06/1.535, allocations: 1.562 kB / 1.282 GB, free: 153.1 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0194/1.554, allocations: 6.557 MB / 1.288 GB, free: 151.2 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001638/1.556, allocations: 0.7073 MB / 1.289 GB, free: 150.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008591/1.557, allocations: 43.84 kB / 1.289 GB, free: 150.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003907/1.56, allocations: 412.5 kB / 1.289 GB, free: 150.7 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00132/1.562, allocations: 348.7 kB / 1.289 GB, free: 150.6 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002696/1.562, allocations: 67.8 kB / 1.289 GB, free: 150.6 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.002802/1.565, allocations: 1.534 MB / 1.291 GB, free: 150 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.4e-07/1.565, allocations: 0 / 1.291 GB, free: 150 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.003453/1.568, allocations: 1.044 MB / 1.292 GB, free: 149.9 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 (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.0004081/1.569, allocations: 165.6 kB / 1.292 GB, free: 149.8 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.02268/1.592, allocations: 6.838 MB / 1.299 GB, free: 147.4 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 7.334e-06/1.592, allocations: 0 / 1.299 GB, free: 147.4 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.01653/1.608, allocations: 4.248 MB / 1.303 GB, free: 146 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004961/1.613, allocations: 1.05 MB / 1.304 GB, free: 145.6 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01303/1.626, allocations: 8.136 MB / 1.312 GB, free: 140.5 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001797/1.628, allocations: 2.233 MB / 1.314 GB, free: 139.1 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.002405/1.63, allocations: 0.5101 MB / 1.315 GB, free: 138.9 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006991/1.631, allocations: 175 kB / 1.315 GB, free: 138.9 MB / 0.9981 GB Notification: Performance of SimCode: time 1.603e-06/1.631, allocations: 0 / 1.315 GB, free: 138.9 MB / 0.9981 GB Notification: Performance of Templates: time 0.0915/1.723, allocations: 72.05 MB / 1.385 GB, free: 68.17 MB / 0.9981 GB make -j1 -f Buildings_1.6_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.makefile (rm -f Buildings_1.6_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe ; mkfifo Buildings_1.6_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe >> ../files/Buildings_1.6_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.sim & ./Buildings_1.6_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe 2>&1)