Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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: "" <> buildModelFMU(Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized,fileNamePrefix="Buildings_latest_Buildings_Electrical_DC_Lines_Examples_DCLinesLinearized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized,fileNamePrefix="Buildings_latest_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.0009237/0.0009237, allocations: 91.3 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.00583/0.00583, allocations: 172.8 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.328/1.328, allocations: 223.3 MB / 240.3 MB, free: 5.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.629/2.629, allocations: 462.6 MB / 0.7364 GB, free: 15.58 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003627/0.0003627, allocations: 9.156 kB / 0.9029 GB, free: 36.46 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2517/0.2521, allocations: 159.6 MB / 1.059 GB, free: 4.867 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized): time 0.02107/0.2732, allocations: 21.7 MB / 1.08 GB, free: 15.09 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.02256/0.2958, allocations: 17.38 MB / 1.097 GB, free: 13.66 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002596/0.2984, allocations: 99.44 kB / 1.097 GB, free: 13.57 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.002153/0.3006, allocations: 0.593 MB / 1.098 GB, free: 12.97 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.009422/0.31, allocations: 3.198 MB / 1.101 GB, free: 9.766 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.003331/0.3134, allocations: 1.193 MB / 1.102 GB, free: 8.578 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.008622/0.322, allocations: 7.048 MB / 1.109 GB, free: 1.508 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004344/0.3264, allocations: 2.546 MB / 1.111 GB, free: 14.87 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003809/0.3302, allocations: 2.042 MB / 1.113 GB, free: 12.82 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003907/0.3341, allocations: 2.299 MB / 1.116 GB, free: 10.51 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.00081/0.335, allocations: 176 kB / 1.116 GB, free: 10.34 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002385/0.3374, allocations: 1.049 MB / 1.117 GB, free: 9.285 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.001166/0.3385, allocations: 0.9768 MB / 1.118 GB, free: 8.305 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.00262/0.3412, allocations: 1.777 MB / 1.119 GB, free: 6.512 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.005403/0.3466, allocations: 4.943 MB / 1.124 GB, free: 1.551 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.3466, allocations: 0 / 1.124 GB, free: 1.551 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.804e-06/0.3466, allocations: 0 / 1.124 GB, free: 1.551 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 0.000194/0.3468, allocations: 0 / 1.124 GB, free: 1.551 MB / 0.8731 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.00923/0.3561, allocations: 4.06 MB / 1.128 GB, free: 13.38 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.446e-05/0.3561, allocations: 15.97 kB / 1.128 GB, free: 13.36 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008631/0.357, allocations: 366.2 kB / 1.129 GB, free: 13 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01644/0.3734, allocations: 3.371 MB / 1.132 GB, free: 9.617 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00406/0.3775, allocations: 2.084 MB / 1.134 GB, free: 7.465 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003893/0.3779, allocations: 470 kB / 1.134 GB, free: 6.941 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000744/0.3787, allocations: 236 kB / 1.135 GB, free: 6.711 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01086/0.3896, allocations: 4.873 MB / 1.139 GB, free: 1.691 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.99e-05/0.3896, allocations: 0 / 1.139 GB, free: 1.691 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003477/0.39, allocations: 108 kB / 1.139 GB, free: 1.586 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001835/0.3902, allocations: 172.8 kB / 1.14 GB, free: 1.414 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01442/0.4046, allocations: 5.315 MB / 1.145 GB, free: 12.08 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02439/0.429, allocations: 14.6 MB / 1.159 GB, free: 12.3 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01031/0.4394, allocations: 3.678 MB / 1.163 GB, free: 8.613 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004023/0.4434, allocations: 1.596 MB / 1.164 GB, free: 7.02 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001354/0.4436, allocations: 21.3 kB / 1.164 GB, free: 6.996 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004451/0.4481, allocations: 1.917 MB / 1.166 GB, free: 5.016 MB / 0.92 GB Notification: Performance of pre-optimization done (n=163): time 3.407e-06/0.4481, allocations: 0 / 1.166 GB, free: 5.016 MB / 0.92 GB Notification: Performance of matching and sorting (n=250): time 0.1323/0.5804, allocations: 34.14 MB / 1.199 GB, free: 2.645 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002027/0.5807, allocations: 0.4928 MB / 1.2 GB, free: 2.039 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003207/0.5839, allocations: 2.296 MB / 1.202 GB, free: 15.73 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 0.0003429/0.5842, allocations: 77.7 kB / 1.202 GB, free: 15.65 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.001176/0.5854, allocations: 1.43 MB / 1.204 GB, free: 14.2 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008167/0.5862, allocations: 0.824 MB / 1.204 GB, free: 13.37 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003984/0.5867, allocations: 186.4 kB / 1.205 GB, free: 13.18 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 8.219e-05/0.5867, allocations: 305.1 kB / 1.205 GB, free: 12.88 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005511/0.5923, allocations: 2.116 MB / 1.207 GB, free: 10.76 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005725/0.598, allocations: 2.415 MB / 1.209 GB, free: 8.258 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0109/0.6089, allocations: 4.544 MB / 1.214 GB, free: 3.578 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.738e-06/0.6089, allocations: 4 kB / 1.214 GB, free: 3.574 MB / 0.9669 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.01872/0.6277, allocations: 6.907 MB / 1.22 GB, free: 12.57 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001004/0.6278, allocations: 148.5 kB / 1.221 GB, free: 12.4 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.704e-05/0.6278, allocations: 4 kB / 1.221 GB, free: 12.39 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009697/0.6375, allocations: 2.926 MB / 1.223 GB, free: 9.461 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002911/0.6405, allocations: 0.5735 MB / 1.224 GB, free: 8.887 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03672/0.6772, allocations: 17.37 MB / 1.241 GB, free: 7.281 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004052/0.6813, allocations: 419.6 kB / 1.241 GB, free: 6.871 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003328/0.6816, allocations: 83.98 kB / 1.241 GB, free: 6.789 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.001477/0.6831, allocations: 0.7027 MB / 1.242 GB, free: 6.078 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006212/0.6838, allocations: 336 kB / 1.242 GB, free: 5.746 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008227/0.6846, allocations: 388 kB / 1.243 GB, free: 5.359 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.059e-05/0.6846, allocations: 24 kB / 1.243 GB, free: 5.336 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.922e-05/0.6846, allocations: 8 kB / 1.243 GB, free: 5.328 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.861e-05/0.6847, allocations: 15.95 kB / 1.243 GB, free: 5.312 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004359/0.689, allocations: 3.624 MB / 1.246 GB, free: 1.629 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.23e-05/0.6891, allocations: 4 kB / 1.246 GB, free: 1.625 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002529/0.6916, allocations: 0.4993 MB / 1.247 GB, free: 1.125 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.4399/1.132, allocations: 2.868 MB / 1.25 GB, free: 174.1 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003625/1.132, allocations: 53.22 kB / 1.25 GB, free: 174.1 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03271/1.165, allocations: 17.14 MB / 1.267 GB, free: 171.5 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/1.165, allocations: 1.219 kB / 1.267 GB, free: 171.5 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01772/1.182, allocations: 6.55 MB / 1.273 GB, free: 170.8 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001305/1.184, allocations: 0.6982 MB / 1.274 GB, free: 170.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004142/1.184, allocations: 44.58 kB / 1.274 GB, free: 170.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003155/1.187, allocations: 411.8 kB / 1.274 GB, free: 170.4 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00115/1.188, allocations: 349.4 kB / 1.274 GB, free: 170.4 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001831/1.189, allocations: 70.17 kB / 1.274 GB, free: 170.3 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001901/1.191, allocations: 1.538 MB / 1.276 GB, free: 169.8 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.132e-06/1.191, allocations: 0 / 1.276 GB, free: 169.8 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.002334/1.193, allocations: 1.045 MB / 1.277 GB, free: 169.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.01695/1.21, allocations: 7.184 MB / 1.284 GB, free: 167.1 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.02163/1.232, allocations: 6.839 MB / 1.291 GB, free: 164.8 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.096e-05/1.232, allocations: 3.938 kB / 1.291 GB, free: 164.8 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.02208/1.254, allocations: 4.236 MB / 1.295 GB, free: 163.4 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006116/1.26, allocations: 1.044 MB / 1.296 GB, free: 163.1 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07007/1.33, allocations: 39.12 MB / 1.334 GB, free: 127.4 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001279/1.331, allocations: 2.231 MB / 1.336 GB, free: 125.1 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.002037/1.333, allocations: 0.51 MB / 1.337 GB, free: 124.6 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001246/1.335, allocations: 1.327 MB / 1.338 GB, free: 123.3 MB / 0.9981 GB Notification: Performance of SimCode: time 9.92e-07/1.335, allocations: 0 / 1.338 GB, free: 123.3 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.098/5.433, allocations: 98.22 MB / 1.434 GB, free: 26.17 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001781/5.433, allocations: 238.9 kB / 1.434 GB, free: 25.92 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.902/10.33, allocations: 3.656 kB / 1.434 GB, free: 25.92 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe ; mkfifo Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe >> ../files/Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_DC_Lines_Examples_DCLinesLinearized_fmu --startTime=0 --stopTime=4000 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_DC_Lines_Examples_DCLinesLinearized.fmu > Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe 2>&1)