Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Electrical.DC.Lines.Examples.DCLines.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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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.DCLines,fileNamePrefix="Buildings_9_Buildings_Electrical_DC_Lines_Examples_DCLines",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.DC.Lines.Examples.DCLines,fileNamePrefix="Buildings_9_Buildings_Electrical_DC_Lines_Examples_DCLines",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.0007897/0.0007897, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.005148/0.005148, allocations: 170 kB / 16.26 MB, free: 6.613 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.314/1.314, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.276/2.276, allocations: 390.9 MB / 0.6664 GB, free: 2.367 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003194/0.0003196, allocations: 8 kB / 0.8161 GB, free: 13.14 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6068/0.6071, allocations: 142.4 MB / 0.9552 GB, free: 7.801 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.DCLines): time 0.02107/0.6282, allocations: 21.68 MB / 0.9763 GB, free: 7.078 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0248/0.6531, allocations: 17.38 MB / 0.9933 GB, free: 8.164 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003979/0.6571, allocations: 99.44 kB / 0.9934 GB, free: 8.066 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.002202/0.6593, allocations: 0.5853 MB / 0.994 GB, free: 7.477 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.01061/0.67, allocations: 3.204 MB / 0.9971 GB, free: 4.27 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.003421/0.6734, allocations: 1.185 MB / 0.9983 GB, free: 3.09 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.008815/0.6822, allocations: 6.853 MB / 1.005 GB, free: 12.21 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003731/0.686, allocations: 2.511 MB / 1.007 GB, free: 9.609 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003569/0.6896, allocations: 1.945 MB / 1.009 GB, free: 7.656 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003825/0.6934, allocations: 2.249 MB / 1.012 GB, free: 5.398 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 0.0006701/0.6941, allocations: 160 kB / 1.012 GB, free: 5.242 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002295/0.6964, allocations: 1.053 MB / 1.013 GB, free: 4.188 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 0.0009433/0.6974, allocations: 0.934 MB / 1.014 GB, free: 3.25 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 0.002141/0.6995, allocations: 1.754 MB / 1.015 GB, free: 1.48 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.005239/0.7048, allocations: 4.842 MB / 1.02 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.7048, allocations: 0 / 1.02 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.703e-06/0.7048, allocations: 0 / 1.02 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 0.0001016/0.7049, allocations: 0 / 1.02 GB, free: 12.62 MB / 0.7794 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.007736/0.7126, allocations: 3.842 MB / 1.024 GB, free: 8.668 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.46e-05/0.7127, allocations: 8.031 kB / 1.024 GB, free: 8.66 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007127/0.7134, allocations: 354.3 kB / 1.024 GB, free: 8.305 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01659/0.73, allocations: 3.363 MB / 1.027 GB, free: 4.934 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004013/0.7341, allocations: 2.064 MB / 1.029 GB, free: 2.801 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001485/0.7342, allocations: 181.1 kB / 1.03 GB, free: 2.621 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005173/0.7348, allocations: 235.9 kB / 1.03 GB, free: 2.391 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01066/0.7454, allocations: 4.749 MB / 1.034 GB, free: 13.5 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.637e-05/0.7455, allocations: 4 kB / 1.034 GB, free: 13.49 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003149/0.7458, allocations: 104 kB / 1.035 GB, free: 13.39 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001989/0.746, allocations: 168.8 kB / 1.035 GB, free: 13.22 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01396/0.76, allocations: 5.245 MB / 1.04 GB, free: 7.961 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02226/0.7823, allocations: 14.12 MB / 1.054 GB, free: 8.668 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01165/0.794, allocations: 3.858 MB / 1.057 GB, free: 4.801 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003775/0.7978, allocations: 1.518 MB / 1.059 GB, free: 3.285 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001338/0.7979, allocations: 25.3 kB / 1.059 GB, free: 3.262 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004332/0.8023, allocations: 1.824 MB / 1.061 GB, free: 1.371 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=163): time 5.751e-06/0.8023, allocations: 0 / 1.061 GB, free: 1.371 MB / 0.8106 GB Notification: Performance of matching and sorting (n=250): time 0.1469/0.9492, allocations: 33.42 MB / 1.093 GB, free: 15.73 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002728/0.9495, allocations: 0.4967 MB / 1.094 GB, free: 15.12 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00425/0.9538, allocations: 2.292 MB / 1.096 GB, free: 12.82 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 0.0005013/0.9543, allocations: 81.69 kB / 1.096 GB, free: 12.73 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.001387/0.9557, allocations: 1.434 MB / 1.098 GB, free: 11.29 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.001028/0.9568, allocations: 0.8163 MB / 1.098 GB, free: 10.46 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004943/0.9573, allocations: 194.3 kB / 1.099 GB, free: 10.26 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001156/0.9574, allocations: 305.1 kB / 1.099 GB, free: 9.961 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005455/0.9629, allocations: 1.929 MB / 1.101 GB, free: 8.027 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005556/0.9684, allocations: 2.231 MB / 1.103 GB, free: 5.711 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01064/0.9791, allocations: 4.212 MB / 1.107 GB, free: 1.363 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.387e-05/0.9791, allocations: 0 / 1.107 GB, free: 1.363 MB / 0.8575 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.0168/0.996, allocations: 6.2 MB / 1.113 GB, free: 11.07 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002651/0.9963, allocations: 405.6 kB / 1.113 GB, free: 10.55 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.747e-05/0.9963, allocations: 4 kB / 1.113 GB, free: 10.55 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006826/1.003, allocations: 1.856 MB / 1.115 GB, free: 8.688 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003054/1.006, allocations: 0.5851 MB / 1.116 GB, free: 8.102 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02529/1.032, allocations: 14.21 MB / 1.13 GB, free: 9.664 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004214/1.036, allocations: 407.6 kB / 1.13 GB, free: 9.266 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004695/1.036, allocations: 91.97 kB / 1.13 GB, free: 9.176 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.101e-05/1.036, allocations: 4 kB / 1.13 GB, free: 9.172 MB / 0.8887 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0167/1.053, allocations: 5.78 MB / 1.136 GB, free: 3.309 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.676e-05/1.053, allocations: 4 kB / 1.136 GB, free: 3.305 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005558/1.059, allocations: 1.822 MB / 1.138 GB, free: 1.477 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003289/1.062, allocations: 0.6046 MB / 1.138 GB, free: 0.8711 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02238/1.084, allocations: 13.47 MB / 1.151 GB, free: 3.121 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004158/1.089, allocations: 407.5 kB / 1.152 GB, free: 2.723 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004366/1.089, allocations: 87.97 kB / 1.152 GB, free: 2.637 MB / 0.9044 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 (172): * Single equations (assignments): 165 * 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 {(10,52)} Notification: Performance of prepare postOptimizeDAE: time 0.001892/1.091, allocations: 0.7888 MB / 1.153 GB, free: 1.84 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007722/1.092, allocations: 336 kB / 1.153 GB, free: 1.508 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009699/1.093, allocations: 392.1 kB / 1.153 GB, free: 1.117 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.192e-05/1.093, allocations: 24 kB / 1.153 GB, free: 1.094 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.9e-05/1.093, allocations: 12 kB / 1.153 GB, free: 1.082 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.249e-05/1.093, allocations: 11.95 kB / 1.153 GB, free: 1.07 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004462/1.097, allocations: 3.168 MB / 1.156 GB, free: 13.85 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.956e-05/1.097, allocations: 0 / 1.156 GB, free: 13.85 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002686/1.1, allocations: 0.5227 MB / 1.157 GB, free: 13.32 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006242/1.106, allocations: 1.723 MB / 1.159 GB, free: 11.59 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002788/1.107, allocations: 51.97 kB / 1.159 GB, free: 11.54 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02235/1.129, allocations: 13.97 MB / 1.172 GB, free: 13.29 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/1.129, allocations: 0 / 1.172 GB, free: 13.29 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01637/1.145, allocations: 5.81 MB / 1.178 GB, free: 7.449 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001579/1.147, allocations: 0.6571 MB / 1.179 GB, free: 6.77 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007686/1.148, allocations: 47.98 kB / 1.179 GB, free: 6.723 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003424/1.151, allocations: 403.5 kB / 1.179 GB, free: 6.328 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008968/1.152, allocations: 298.6 kB / 1.179 GB, free: 6.035 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002226/1.152, allocations: 67.97 kB / 1.179 GB, free: 5.969 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.002665/1.155, allocations: 1.54 MB / 1.181 GB, free: 4.43 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.7e-07/1.155, allocations: 0.5625 kB / 1.181 GB, free: 4.43 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.004814/1.16, allocations: 1.621 MB / 1.182 GB, free: 2.809 MB / 0.9356 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 (128): * Single equations (assignments): 116 * 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,52)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01662/1.176, allocations: 6.435 MB / 1.189 GB, free: 12.33 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.02489/1.201, allocations: 10.1 MB / 1.199 GB, free: 2.043 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 8.616e-06/1.201, allocations: 0 / 1.199 GB, free: 2.043 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.008938/1.21, allocations: 3.502 MB / 1.202 GB, free: 14.52 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00568/1.216, allocations: 1.047 MB / 1.203 GB, free: 13.48 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0805/1.297, allocations: 37.22 MB / 1.239 GB, free: 6.188 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002741/1.299, allocations: 2.316 MB / 1.242 GB, free: 3.832 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.003333/1.303, allocations: 0.6348 MB / 1.242 GB, free: 3.191 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001966/1.305, allocations: 1.331 MB / 1.244 GB, free: 1.859 MB / 0.9981 GB Notification: Performance of SimCode: time 9.42e-07/1.305, allocations: 0 / 1.244 GB, free: 1.859 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5958/1.901, allocations: 102.2 MB / 1.343 GB, free: 225.3 MB / 1.014 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001674/1.901, allocations: 232.8 kB / 1.344 GB, free: 225.1 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.99/6.891, allocations: 0 / 1.344 GB, free: 225.1 MB / 1.014 GB (rm -f Buildings_9_Buildings.Electrical.DC.Lines.Examples.DCLines.pipe ; mkfifo Buildings_9_Buildings.Electrical.DC.Lines.Examples.DCLines.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.DC.Lines.Examples.DCLines.pipe >> ../files/Buildings_9_Buildings.Electrical.DC.Lines.Examples.DCLines.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Electrical.DC.Lines.Examples.DCLines_res.mat --tempDir=temp_Buildings_9_Buildings_Electrical_DC_Lines_Examples_DCLines_fmu --startTime=0 --stopTime=4000 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Electrical_DC_Lines_Examples_DCLines.fmu > Buildings_9_Buildings.Electrical.DC.Lines.Examples.DCLines.pipe 2>&1)