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.001478/0.001478, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.00129/0.00129, allocations: 192.5 kB / 16.25 MB, free: 6.574 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.42/1.42, allocations: 222.9 MB / 239.9 MB, free: 4.539 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.868/2.868, allocations: 472.6 MB / 0.7448 GB, free: 4.926 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001251/0.001251, allocations: 67.75 kB / 0.9115 GB, free: 33.61 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3059/0.3072, allocations: 159.9 MB / 1.068 GB, free: 10.82 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized): time 0.02651/0.3337, allocations: 22.44 MB / 1.09 GB, free: 4.293 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.02938/0.3632, allocations: 17.44 MB / 1.107 GB, free: 2.797 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004134/0.3674, allocations: 107.4 kB / 1.107 GB, free: 2.691 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.01158/0.379, allocations: 3.932 MB / 1.111 GB, free: 14.75 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.01199/0.391, allocations: 3.192 MB / 1.114 GB, free: 11.56 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.004083/0.3951, allocations: 1.181 MB / 1.115 GB, free: 10.38 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.01063/0.4057, allocations: 5.797 MB / 1.121 GB, free: 4.562 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008619/0.4144, allocations: 4.026 MB / 1.124 GB, free: 472 kB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005845/0.4203, allocations: 2.448 MB / 1.127 GB, free: 14 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005598/0.4259, allocations: 2.518 MB / 1.129 GB, free: 11.48 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.001742/0.4277, allocations: 368 kB / 1.13 GB, free: 11.12 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003359/0.4311, allocations: 1.03 MB / 1.131 GB, free: 10.09 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.002178/0.4333, allocations: 1.203 MB / 1.132 GB, free: 8.879 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.004485/0.4378, allocations: 1.998 MB / 1.134 GB, free: 6.871 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.009088/0.4469, allocations: 5.171 MB / 1.139 GB, free: 1.684 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 6.923e-06/0.4469, allocations: 0 / 1.139 GB, free: 1.684 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.104e-06/0.4469, allocations: 4 kB / 1.139 GB, free: 1.68 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 0.0002445/0.4472, allocations: 0 / 1.139 GB, free: 1.68 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.01363/0.4608, allocations: 4.608 MB / 1.143 GB, free: 12.96 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.974e-05/0.4609, allocations: 12.03 kB / 1.143 GB, free: 12.95 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01697/0.4779, allocations: 3.265 MB / 1.147 GB, free: 9.672 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007296/0.4852, allocations: 2.088 MB / 1.149 GB, free: 7.516 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005476/0.4858, allocations: 462.3 kB / 1.149 GB, free: 7 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001186/0.487, allocations: 235.9 kB / 1.149 GB, free: 6.77 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01365/0.5007, allocations: 4.818 MB / 1.154 GB, free: 1.805 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.25e-05/0.5008, allocations: 0 / 1.154 GB, free: 1.805 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007016/0.5015, allocations: 104 kB / 1.154 GB, free: 1.703 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002251/0.5017, allocations: 184.7 kB / 1.154 GB, free: 1.52 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0142/0.516, allocations: 5.183 MB / 1.159 GB, free: 12.32 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02482/0.5408, allocations: 14.47 MB / 1.173 GB, free: 12.68 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01026/0.5511, allocations: 3.391 MB / 1.177 GB, free: 9.273 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003838/0.555, allocations: 1.475 MB / 1.178 GB, free: 7.797 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001825/0.5552, allocations: 21.3 kB / 1.178 GB, free: 7.773 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005041/0.5602, allocations: 1.796 MB / 1.18 GB, free: 5.914 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=163): time 5.219e-06/0.5603, allocations: 3.938 kB / 1.18 GB, free: 5.91 MB / 0.9356 GB Notification: Performance of matching and sorting (n=250): time 0.1237/0.684, allocations: 28.22 MB / 1.207 GB, free: 9.461 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000259/0.6843, allocations: 496.7 kB / 1.208 GB, free: 8.863 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004157/0.6885, allocations: 2.304 MB / 1.21 GB, free: 6.547 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 0.0005538/0.689, allocations: 73.7 kB / 1.21 GB, free: 6.469 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.001363/0.6904, allocations: 1.434 MB / 1.212 GB, free: 5.02 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.001064/0.6915, allocations: 0.8201 MB / 1.212 GB, free: 4.188 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001114/0.6926, allocations: 420.4 kB / 1.213 GB, free: 3.77 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 9.699e-05/0.6927, allocations: 309.1 kB / 1.213 GB, free: 3.465 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005337/0.6981, allocations: 1.921 MB / 1.215 GB, free: 1.539 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005756/0.7038, allocations: 2.235 MB / 1.217 GB, free: 15.22 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01073/0.7146, allocations: 4.158 MB / 1.221 GB, free: 10.93 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.129e-05/0.7146, allocations: 4 kB / 1.221 GB, free: 10.92 MB / 0.9825 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.01922/0.7339, allocations: 6.543 MB / 1.228 GB, free: 4.289 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001235/0.734, allocations: 148.5 kB / 1.228 GB, free: 4.113 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.173e-05/0.7341, allocations: 4 kB / 1.228 GB, free: 4.109 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01064/0.7447, allocations: 2.95 MB / 1.231 GB, free: 1.152 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003104/0.7478, allocations: 499.1 kB / 1.231 GB, free: 0.6641 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.6098/1.358, allocations: 18.84 MB / 1.25 GB, free: 163.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004416/1.362, allocations: 323.1 kB / 1.25 GB, free: 163.9 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005431/1.363, allocations: 87.73 kB / 1.25 GB, free: 163.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.00178/1.364, allocations: 0.706 MB / 1.251 GB, free: 163.8 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000788/1.365, allocations: 332.6 kB / 1.251 GB, free: 163.8 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007079/1.366, allocations: 386.8 kB / 1.251 GB, free: 163.8 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.237e-05/1.366, allocations: 23.56 kB / 1.251 GB, free: 163.8 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.79e-05/1.366, allocations: 11.31 kB / 1.251 GB, free: 163.8 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.42e-05/1.366, allocations: 11.62 kB / 1.251 GB, free: 163.8 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004333/1.37, allocations: 3.626 MB / 1.255 GB, free: 163.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.757e-06/1.37, allocations: 0 / 1.255 GB, free: 163.5 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002411/1.373, allocations: 420.3 kB / 1.255 GB, free: 163.5 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009458/1.382, allocations: 2.89 MB / 1.258 GB, free: 163.4 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003575/1.383, allocations: 53.11 kB / 1.258 GB, free: 163.4 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04083/1.424, allocations: 18.62 MB / 1.276 GB, free: 155.7 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.959e-06/1.424, allocations: 1.656 kB / 1.276 GB, free: 155.7 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01814/1.442, allocations: 6.179 MB / 1.282 GB, free: 153.8 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002943/1.445, allocations: 0.6985 MB / 1.283 GB, free: 153.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001821/1.447, allocations: 47.91 kB / 1.283 GB, free: 153.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00477/1.451, allocations: 315.9 kB / 1.283 GB, free: 153.3 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001878/1.453, allocations: 354.1 kB / 1.284 GB, free: 153.2 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003838/1.454, allocations: 73.75 kB / 1.284 GB, free: 153.2 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.003375/1.457, allocations: 1.533 MB / 1.285 GB, free: 152.7 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.11e-07/1.457, allocations: 1.094 kB / 1.285 GB, free: 152.7 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.004093/1.461, allocations: 1.042 MB / 1.286 GB, free: 152.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 (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.0005549/1.462, allocations: 174.5 kB / 1.287 GB, free: 152.4 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.02486/1.487, allocations: 7.304 MB / 1.294 GB, free: 150.1 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 8.667e-06/1.487, allocations: 0 / 1.294 GB, free: 150.1 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.01594/1.503, allocations: 4.07 MB / 1.298 GB, free: 148.7 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005092/1.508, allocations: 1.121 MB / 1.299 GB, free: 148.3 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01361/1.521, allocations: 8.063 MB / 1.307 GB, free: 143.8 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002063/1.523, allocations: 2.227 MB / 1.309 GB, free: 142.4 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.00264/1.526, allocations: 0.5102 MB / 1.309 GB, free: 142.1 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00071/1.527, allocations: 189.1 kB / 1.309 GB, free: 142.1 MB / 0.9981 GB Notification: Performance of SimCode: time 6.91e-07/1.527, allocations: 0 / 1.309 GB, free: 142.1 MB / 0.9981 GB Notification: Performance of Templates: time 0.09936/1.626, allocations: 76.25 MB / 1.384 GB, free: 68.28 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)