Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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_3.0.0_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized") translateModel(Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_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.001462/0.001462, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001657/0.001657, allocations: 193.9 kB / 16.14 MB, free: 6.695 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.46/1.46, allocations: 222.9 MB / 239.8 MB, free: 4.641 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.968/2.968, allocations: 472.6 MB / 0.7447 GB, free: 4.906 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00122/0.00122, allocations: 62.41 kB / 0.9114 GB, free: 33.6 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2994/0.3006, allocations: 159.9 MB / 1.068 GB, free: 10.91 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized): time 0.02394/0.3246, allocations: 22.44 MB / 1.089 GB, free: 4.391 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.02659/0.3512, allocations: 17.6 MB / 1.107 GB, free: 2.738 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005789/0.3571, allocations: 107.4 kB / 1.107 GB, free: 2.633 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0115/0.3686, allocations: 3.907 MB / 1.111 GB, free: 14.72 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.01409/0.3827, allocations: 3.195 MB / 1.114 GB, free: 11.52 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.004033/0.3868, allocations: 1.189 MB / 1.115 GB, free: 10.34 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.009411/0.3962, allocations: 7.041 MB / 1.122 GB, free: 3.27 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004894/0.4011, allocations: 2.51 MB / 1.124 GB, free: 0.6836 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004143/0.4053, allocations: 2.175 MB / 1.126 GB, free: 14.5 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004657/0.41, allocations: 2.451 MB / 1.129 GB, free: 12.04 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.00135/0.4114, allocations: 228 kB / 1.129 GB, free: 11.82 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00299/0.4144, allocations: 1.107 MB / 1.13 GB, free: 10.71 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.001602/0.416, allocations: 1.055 MB / 1.131 GB, free: 9.648 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.003776/0.4198, allocations: 1.861 MB / 1.133 GB, free: 7.777 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.007176/0.427, allocations: 5.061 MB / 1.138 GB, free: 2.699 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 6.943e-06/0.427, allocations: 7.938 kB / 1.138 GB, free: 2.691 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.493e-06/0.427, allocations: 0 / 1.138 GB, free: 2.691 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 0.0002517/0.4273, allocations: 0 / 1.138 GB, free: 2.691 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.01396/0.4413, allocations: 4.61 MB / 1.142 GB, free: 13.97 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.863e-05/0.4413, allocations: 8.031 kB / 1.142 GB, free: 13.96 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01699/0.4583, allocations: 3.261 MB / 1.145 GB, free: 10.69 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004892/0.4633, allocations: 2.084 MB / 1.147 GB, free: 8.539 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004753/0.4638, allocations: 470.2 kB / 1.148 GB, free: 8.016 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001035/0.4648, allocations: 239.9 kB / 1.148 GB, free: 7.781 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01372/0.4785, allocations: 4.802 MB / 1.153 GB, free: 2.832 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.092e-05/0.4787, allocations: 3.938 kB / 1.153 GB, free: 2.828 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007502/0.4794, allocations: 108 kB / 1.153 GB, free: 2.723 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002483/0.4797, allocations: 168.8 kB / 1.153 GB, free: 2.555 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01483/0.4945, allocations: 5.198 MB / 1.158 GB, free: 13.34 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02807/0.5226, allocations: 14.49 MB / 1.172 GB, free: 13.68 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01044/0.5331, allocations: 3.402 MB / 1.176 GB, free: 10.27 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003796/0.537, allocations: 1.467 MB / 1.177 GB, free: 8.801 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001942/0.5372, allocations: 29.28 kB / 1.177 GB, free: 8.77 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004577/0.5418, allocations: 1.786 MB / 1.179 GB, free: 6.918 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=163): time 4.558e-06/0.5418, allocations: 0 / 1.179 GB, free: 6.918 MB / 0.9356 GB Notification: Performance of matching and sorting (n=250): time 0.1289/0.6707, allocations: 28.21 MB / 1.206 GB, free: 10.49 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003157/0.6711, allocations: 0.4967 MB / 1.207 GB, free: 9.879 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003952/0.675, allocations: 2.296 MB / 1.209 GB, free: 7.57 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 0.0005538/0.6756, allocations: 81.69 kB / 1.209 GB, free: 7.484 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.001463/0.6771, allocations: 1.43 MB / 1.211 GB, free: 6.039 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.001125/0.6782, allocations: 0.824 MB / 1.211 GB, free: 5.203 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001179/0.6794, allocations: 412.5 kB / 1.212 GB, free: 4.793 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 9.716e-05/0.6795, allocations: 301.1 kB / 1.212 GB, free: 4.496 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005259/0.6848, allocations: 1.933 MB / 1.214 GB, free: 2.559 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005526/0.6903, allocations: 2.227 MB / 1.216 GB, free: 252 kB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01083/0.7012, allocations: 4.165 MB / 1.22 GB, free: 11.94 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.71e-05/0.7013, allocations: 4 kB / 1.22 GB, free: 11.94 MB / 0.9825 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.01956/0.7208, allocations: 6.543 MB / 1.227 GB, free: 5.305 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001309/0.721, allocations: 148.5 kB / 1.227 GB, free: 5.129 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.184e-05/0.721, allocations: 4 kB / 1.227 GB, free: 5.125 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01084/0.7319, allocations: 2.934 MB / 1.23 GB, free: 2.188 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002971/0.7349, allocations: 483.2 kB / 1.23 GB, free: 1.715 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04/0.7749, allocations: 17.34 MB / 1.247 GB, free: 136 kB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.6037/1.379, allocations: 315.7 kB / 1.247 GB, free: 165.9 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00059/1.379, allocations: 91.22 kB / 1.247 GB, free: 165.9 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.001804/1.381, allocations: 0.7051 MB / 1.248 GB, free: 165.8 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007804/1.382, allocations: 331.9 kB / 1.248 GB, free: 165.8 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007974/1.383, allocations: 386.6 kB / 1.249 GB, free: 165.7 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.803e-05/1.383, allocations: 26.78 kB / 1.249 GB, free: 165.7 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-05/1.383, allocations: 11.36 kB / 1.249 GB, free: 165.7 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.59e-05/1.383, allocations: 11.62 kB / 1.249 GB, free: 165.7 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005421/1.388, allocations: 3.625 MB / 1.252 GB, free: 165.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.087e-05/1.388, allocations: 0 / 1.252 GB, free: 165.4 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002483/1.391, allocations: 420.4 kB / 1.253 GB, free: 165.4 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009945/1.401, allocations: 2.866 MB / 1.256 GB, free: 165.4 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003753/1.401, allocations: 52.91 kB / 1.256 GB, free: 165.4 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03654/1.438, allocations: 17.1 MB / 1.272 GB, free: 158.8 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/1.438, allocations: 2.062 kB / 1.272 GB, free: 158.8 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01729/1.455, allocations: 6.172 MB / 1.278 GB, free: 156.9 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001719/1.457, allocations: 0.7027 MB / 1.279 GB, free: 156.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006906/1.457, allocations: 55.45 kB / 1.279 GB, free: 156.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003088/1.461, allocations: 315.3 kB / 1.279 GB, free: 156.4 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001243/1.462, allocations: 352.2 kB / 1.28 GB, free: 156.4 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002183/1.462, allocations: 69.36 kB / 1.28 GB, free: 156.4 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.002074/1.464, allocations: 1.528 MB / 1.281 GB, free: 155.8 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.5e-07/1.464, allocations: 0 / 1.281 GB, free: 155.8 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.003179/1.467, allocations: 1.046 MB / 1.282 GB, free: 155.7 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.0003911/1.468, allocations: 170 kB / 1.282 GB, free: 155.6 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.02227/1.49, allocations: 6.456 MB / 1.289 GB, free: 153.3 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.328e-05/1.49, allocations: 1.656 kB / 1.289 GB, free: 153.3 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.01614/1.506, allocations: 4.045 MB / 1.293 GB, free: 151.9 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004552/1.511, allocations: 1.043 MB / 1.294 GB, free: 151.6 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01162/1.522, allocations: 8.052 MB / 1.302 GB, free: 147.5 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001372/1.524, allocations: 2.228 MB / 1.304 GB, free: 146.2 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.002309/1.526, allocations: 0.5131 MB / 1.304 GB, free: 146 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006173/1.527, allocations: 177.1 kB / 1.304 GB, free: 146 MB / 0.9981 GB Notification: Performance of SimCode: time 5.81e-07/1.527, allocations: 2.734 kB / 1.304 GB, free: 146 MB / 0.9981 GB Notification: Performance of Templates: time 0.1067/1.634, allocations: 72.95 MB / 1.376 GB, free: 77.18 MB / 0.9981 GB make -j1 -f Buildings_3.0.0_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.makefile (rm -f Buildings_3.0.0_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe ; mkfifo Buildings_3.0.0_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe >> ../files/Buildings_3.0.0_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.sim & ./Buildings_3.0.0_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe 2>&1)