Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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: "" <> buildModelFMU(Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized,fileNamePrefix="Buildings_11_Buildings_Electrical_DC_Lines_Examples_DCLinesLinearized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized,fileNamePrefix="Buildings_11_Buildings_Electrical_DC_Lines_Examples_DCLinesLinearized",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001282/0.001282, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001284/0.001284, allocations: 198.5 kB / 16.54 MB, free: 6.672 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.344/1.344, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.57/2.57, allocations: 469.8 MB / 0.7424 GB, free: 7.477 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00175/0.00175, allocations: 67.95 kB / 0.9087 GB, free: 34.34 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2522/0.254, allocations: 159.2 MB / 1.064 GB, free: 14.23 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized): time 0.02464/0.2787, allocations: 22.63 MB / 1.086 GB, free: 7.516 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.02345/0.3022, allocations: 17.63 MB / 1.103 GB, free: 5.832 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002164/0.3043, allocations: 107.4 kB / 1.103 GB, free: 5.727 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.009509/0.3139, allocations: 4.172 MB / 1.108 GB, free: 1.547 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.01013/0.324, allocations: 3.513 MB / 1.111 GB, free: 14.02 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.003146/0.3272, allocations: 1.321 MB / 1.112 GB, free: 12.71 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.00758/0.3348, allocations: 5.762 MB / 1.118 GB, free: 6.93 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005186/0.34, allocations: 3.6 MB / 1.121 GB, free: 3.258 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003721/0.3437, allocations: 2.394 MB / 1.124 GB, free: 0.8555 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004075/0.3478, allocations: 2.452 MB / 1.126 GB, free: 14.39 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.001054/0.3489, allocations: 368 kB / 1.127 GB, free: 14.04 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002489/0.3514, allocations: 1.041 MB / 1.128 GB, free: 12.99 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.001547/0.3529, allocations: 1.196 MB / 1.129 GB, free: 11.79 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.002323/0.3553, allocations: 1.99 MB / 1.131 GB, free: 9.793 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.00497/0.3603, allocations: 5.109 MB / 1.136 GB, free: 4.668 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.3603, allocations: 0 / 1.136 GB, free: 4.668 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.342e-06/0.3603, allocations: 0 / 1.136 GB, free: 4.668 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 3.642e-05/0.3603, allocations: 0 / 1.136 GB, free: 4.668 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.008526/0.3688, allocations: 4.609 MB / 1.14 GB, free: 15.95 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.682e-05/0.3689, allocations: 8.031 kB / 1.14 GB, free: 15.94 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004381/0.3693, allocations: 362.3 kB / 1.14 GB, free: 15.57 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01498/0.3843, allocations: 3.265 MB / 1.144 GB, free: 12.3 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003991/0.3883, allocations: 2.092 MB / 1.146 GB, free: 10.14 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004016/0.3888, allocations: 470 kB / 1.146 GB, free: 9.617 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004238/0.3892, allocations: 232 kB / 1.146 GB, free: 9.391 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009858/0.3991, allocations: 4.819 MB / 1.151 GB, free: 4.426 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.689e-05/0.3991, allocations: 0 / 1.151 GB, free: 4.426 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002974/0.3994, allocations: 104 kB / 1.151 GB, free: 4.324 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000191/0.3996, allocations: 172.8 kB / 1.151 GB, free: 4.152 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01265/0.4123, allocations: 5.198 MB / 1.156 GB, free: 14.93 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01918/0.4315, allocations: 14.48 MB / 1.171 GB, free: 15.28 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009277/0.4408, allocations: 3.394 MB / 1.174 GB, free: 11.88 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003508/0.4443, allocations: 1.471 MB / 1.175 GB, free: 10.41 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001005/0.4444, allocations: 21.22 kB / 1.175 GB, free: 10.39 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004023/0.4484, allocations: 1.791 MB / 1.177 GB, free: 8.535 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=163): time 9.167e-06/0.4484, allocations: 0 / 1.177 GB, free: 8.535 MB / 0.9356 GB Notification: Performance of matching and sorting (n=250): time 0.125/0.5734, allocations: 28.23 MB / 1.205 GB, free: 12.07 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002769/0.5738, allocations: 0.4889 MB / 1.205 GB, free: 11.47 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003136/0.5769, allocations: 2.304 MB / 1.207 GB, free: 9.156 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 0.0002317/0.5771, allocations: 73.7 kB / 1.207 GB, free: 9.078 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.001256/0.5784, allocations: 1.434 MB / 1.209 GB, free: 7.629 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007807/0.5792, allocations: 0.8201 MB / 1.21 GB, free: 6.797 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000832/0.58, allocations: 416.5 kB / 1.21 GB, free: 6.383 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001217/0.5802, allocations: 305.1 kB / 1.21 GB, free: 6.082 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00516/0.5853, allocations: 1.921 MB / 1.212 GB, free: 4.156 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005292/0.5906, allocations: 2.239 MB / 1.214 GB, free: 1.832 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01021/0.6008, allocations: 4.158 MB / 1.218 GB, free: 13.54 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.109e-06/0.6009, allocations: 0 / 1.218 GB, free: 13.54 MB / 0.9825 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.01793/0.6188, allocations: 6.539 MB / 1.225 GB, free: 6.91 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001117/0.6189, allocations: 148.5 kB / 1.225 GB, free: 6.734 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.732e-05/0.619, allocations: 4 kB / 1.225 GB, free: 6.73 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009575/0.6286, allocations: 2.945 MB / 1.228 GB, free: 3.777 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002709/0.6313, allocations: 487.2 kB / 1.228 GB, free: 3.301 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03813/0.6694, allocations: 18.88 MB / 1.247 GB, free: 180 kB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.365/1.034, allocations: 312.5 kB / 1.247 GB, free: 168.3 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003745/1.035, allocations: 89.7 kB / 1.247 GB, free: 168.3 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.001188/1.036, allocations: 0.7067 MB / 1.248 GB, free: 168.2 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004354/1.036, allocations: 330.6 kB / 1.248 GB, free: 168.2 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005068/1.037, allocations: 380.5 kB / 1.249 GB, free: 168.2 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.769e-05/1.037, allocations: 23.75 kB / 1.249 GB, free: 168.2 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.932e-05/1.037, allocations: 10 kB / 1.249 GB, free: 168.2 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.146e-05/1.037, allocations: 13.72 kB / 1.249 GB, free: 168.2 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003486/1.041, allocations: 3.629 MB / 1.252 GB, free: 167.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.694e-06/1.041, allocations: 1 kB / 1.252 GB, free: 167.9 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002243/1.043, allocations: 419 kB / 1.253 GB, free: 167.9 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008507/1.051, allocations: 2.889 MB / 1.255 GB, free: 167.9 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001692/1.051, allocations: 54.14 kB / 1.255 GB, free: 167.9 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03257/1.084, allocations: 18.63 MB / 1.274 GB, free: 161.5 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.452e-06/1.084, allocations: 0 / 1.274 GB, free: 161.5 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0154/1.099, allocations: 6.177 MB / 1.28 GB, free: 159.7 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001037/1.101, allocations: 0.6984 MB / 1.28 GB, free: 159.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004152/1.101, allocations: 47.61 kB / 1.28 GB, free: 159.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00273/1.104, allocations: 311.9 kB / 1.281 GB, free: 159.2 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000874/1.105, allocations: 360.2 kB / 1.281 GB, free: 159.1 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001675/1.105, allocations: 68.77 kB / 1.281 GB, free: 159.1 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001675/1.106, allocations: 1.536 MB / 1.283 GB, free: 158.5 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.1e-07/1.106, allocations: 2.375 kB / 1.283 GB, free: 158.5 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.00204/1.108, allocations: 1.043 MB / 1.284 GB, free: 158.4 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.01499/1.123, allocations: 6.806 MB / 1.29 GB, free: 155.8 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.02079/1.144, allocations: 7.297 MB / 1.297 GB, free: 153.5 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.887e-06/1.144, allocations: 2.062 kB / 1.297 GB, free: 153.5 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.01406/1.158, allocations: 4.059 MB / 1.301 GB, free: 151.8 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00302/1.161, allocations: 1.144 MB / 1.302 GB, free: 151.2 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0512/1.213, allocations: 36.87 MB / 1.338 GB, free: 115.2 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001149/1.214, allocations: 2.234 MB / 1.341 GB, free: 112.9 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001762/1.216, allocations: 0.5141 MB / 1.341 GB, free: 112.4 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00115/1.217, allocations: 1.343 MB / 1.342 GB, free: 111.1 MB / 0.9981 GB Notification: Performance of SimCode: time 4.71e-07/1.217, allocations: 0 / 1.342 GB, free: 111.1 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.907/4.124, allocations: 104.2 MB / 1.444 GB, free: 8.039 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.84/23.96, allocations: 11.94 kB / 1.444 GB, free: 8.027 MB / 0.9981 GB (rm -f Buildings_11_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe ; mkfifo Buildings_11_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe >> ../files/Buildings_11_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized_res.mat --tempDir=temp_Buildings_11_Buildings_Electrical_DC_Lines_Examples_DCLinesLinearized_fmu --startTime=0 --stopTime=4000 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Electrical_DC_Lines_Examples_DCLinesLinearized.fmu > Buildings_11_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe 2>&1)