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.004202/0.004202, allocations: 99.58 kB / 15.73 MB, free: 6.039 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.001233/0.001234, allocations: 192.1 kB / 16.67 MB, free: 5.961 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.28/1.28, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.546/2.546, allocations: 469.8 MB / 0.7425 GB, free: 3.34 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001773/0.001773, allocations: 71.88 kB / 1.065 GB, free: 14 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6703/0.6721, allocations: 159.1 MB / 1.22 GB, free: 2.02 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized): time 0.02476/0.6969, allocations: 22.63 MB / 1.242 GB, free: 11.31 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.02445/0.7214, allocations: 17.62 MB / 1.259 GB, free: 9.641 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001968/0.7234, allocations: 111.4 kB / 1.26 GB, free: 9.531 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.009189/0.7326, allocations: 4.178 MB / 1.264 GB, free: 5.344 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.008776/0.7414, allocations: 3.513 MB / 1.267 GB, free: 1.824 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.002886/0.7443, allocations: 1.321 MB / 1.268 GB, free: 0.5078 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.00794/0.7523, allocations: 5.781 MB / 1.274 GB, free: 10.7 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00456/0.7568, allocations: 3.583 MB / 1.278 GB, free: 7.047 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003592/0.7605, allocations: 2.406 MB / 1.28 GB, free: 4.633 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00369/0.7642, allocations: 2.448 MB / 1.282 GB, free: 2.176 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0006121/0.7648, allocations: 368 kB / 1.283 GB, free: 1.816 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00194/0.7667, allocations: 1.037 MB / 1.284 GB, free: 0.7773 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.001113/0.7679, allocations: 1.196 MB / 1.285 GB, free: 15.58 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.002151/0.77, allocations: 1.994 MB / 1.287 GB, free: 13.57 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.007322/0.7773, allocations: 5.187 MB / 1.292 GB, free: 8.367 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.962e-06/0.7774, allocations: 0 / 1.292 GB, free: 8.367 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.653e-06/0.7774, allocations: 0 / 1.292 GB, free: 8.367 MB / 1.014 GB Notification: Performance of Transformations before backend: time 0.0001596/0.7776, allocations: 0 / 1.292 GB, free: 8.367 MB / 1.014 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.009824/0.7874, allocations: 4.722 MB / 1.296 GB, free: 3.527 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.117e-05/0.7875, allocations: 12.03 kB / 1.296 GB, free: 3.516 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004395/0.7879, allocations: 366.3 kB / 1.297 GB, free: 3.148 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01548/0.8034, allocations: 3.287 MB / 1.3 GB, free: 15.85 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004002/0.8074, allocations: 2.254 MB / 1.302 GB, free: 13.54 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003972/0.8078, allocations: 470 kB / 1.303 GB, free: 13.01 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004373/0.8083, allocations: 236 kB / 1.303 GB, free: 12.78 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009966/0.8182, allocations: 4.806 MB / 1.308 GB, free: 7.828 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.606e-05/0.8183, allocations: 4 kB / 1.308 GB, free: 7.824 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003117/0.8186, allocations: 104 kB / 1.308 GB, free: 7.723 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000205/0.8188, allocations: 176.8 kB / 1.308 GB, free: 7.547 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01386/0.8327, allocations: 5.198 MB / 1.313 GB, free: 2.332 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01992/0.8527, allocations: 14.41 MB / 1.327 GB, free: 2.758 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009484/0.8622, allocations: 3.398 MB / 1.33 GB, free: 15.34 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003542/0.8657, allocations: 1.467 MB / 1.332 GB, free: 13.88 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001227/0.8659, allocations: 21.3 kB / 1.332 GB, free: 13.86 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004121/0.87, allocations: 1.801 MB / 1.334 GB, free: 11.99 MB / 1.061 GB Notification: Performance of pre-optimization done (n=163): time 3.095e-06/0.87, allocations: 0 / 1.334 GB, free: 11.99 MB / 1.061 GB Notification: Performance of matching and sorting (n=250): time 0.1231/0.9931, allocations: 28.3 MB / 1.361 GB, free: 15.47 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000286/0.9934, allocations: 0.4928 MB / 1.362 GB, free: 14.87 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003192/0.9966, allocations: 2.293 MB / 1.364 GB, free: 12.57 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 0.0002774/0.9969, allocations: 77.7 kB / 1.364 GB, free: 12.48 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.001251/0.9981, allocations: 1.456 MB / 1.365 GB, free: 11.02 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007986/0.999, allocations: 0.8598 MB / 1.366 GB, free: 10.15 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008407/0.9998, allocations: 420.5 kB / 1.367 GB, free: 9.73 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.000116/0.9999, allocations: 305.1 kB / 1.367 GB, free: 9.43 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005216/1.005, allocations: 1.929 MB / 1.369 GB, free: 7.496 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005391/1.011, allocations: 2.235 MB / 1.371 GB, free: 5.176 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01041/1.021, allocations: 4.161 MB / 1.375 GB, free: 0.8789 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.19e-06/1.021, allocations: 0 / 1.375 GB, free: 0.8789 MB / 1.092 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.01821/1.039, allocations: 6.549 MB / 1.381 GB, free: 10.23 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001107/1.039, allocations: 148.5 kB / 1.382 GB, free: 10.06 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.787e-05/1.039, allocations: 11.94 kB / 1.382 GB, free: 10.05 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009785/1.049, allocations: 2.922 MB / 1.384 GB, free: 7.117 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002768/1.052, allocations: 491.2 kB / 1.385 GB, free: 6.637 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0384/1.09, allocations: 18.87 MB / 1.403 GB, free: 3.52 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003778/1.094, allocations: 319.6 kB / 1.404 GB, free: 3.207 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003255/1.095, allocations: 87.97 kB / 1.404 GB, free: 3.121 MB / 1.123 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.001384/1.096, allocations: 0.7026 MB / 1.404 GB, free: 2.41 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005462/1.096, allocations: 353.8 kB / 1.405 GB, free: 2.062 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007075/1.097, allocations: 384.1 kB / 1.405 GB, free: 1.68 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.902e-05/1.097, allocations: 24 kB / 1.405 GB, free: 1.656 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.06e-05/1.097, allocations: 8 kB / 1.405 GB, free: 1.648 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.189e-05/1.097, allocations: 15.95 kB / 1.405 GB, free: 1.633 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004377/1.102, allocations: 3.628 MB / 1.409 GB, free: 13.95 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.843e-06/1.102, allocations: 0 / 1.409 GB, free: 13.95 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002325/1.104, allocations: 415.3 kB / 1.409 GB, free: 13.54 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009013/1.113, allocations: 2.865 MB / 1.412 GB, free: 10.67 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002072/1.113, allocations: 51.97 kB / 1.412 GB, free: 10.62 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03724/1.15, allocations: 18.64 MB / 1.43 GB, free: 7.688 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.923e-06/1.151, allocations: 0 / 1.43 GB, free: 7.688 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01737/1.168, allocations: 6.194 MB / 1.436 GB, free: 1.461 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001301/1.169, allocations: 0.7134 MB / 1.437 GB, free: 0.7266 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004258/1.17, allocations: 55.94 kB / 1.437 GB, free: 0.6719 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002913/1.173, allocations: 311.6 kB / 1.437 GB, free: 376 kB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001055/1.174, allocations: 350.7 kB / 1.438 GB, free: 24 kB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002161/1.174, allocations: 72.02 kB / 1.438 GB, free: 15.95 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.001992/1.176, allocations: 1.532 MB / 1.439 GB, free: 14.42 MB / 1.17 GB Notification: Performance of sort global known variables: time 1.21e-07/1.176, allocations: 0 / 1.439 GB, free: 14.42 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.002144/1.178, allocations: 1.043 MB / 1.44 GB, free: 13.38 MB / 1.17 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.01762/1.196, allocations: 6.827 MB / 1.447 GB, free: 6.516 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.02195/1.218, allocations: 6.48 MB / 1.453 GB, free: 15.93 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 3.987e-06/1.218, allocations: 4 kB / 1.453 GB, free: 15.93 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.01626/1.234, allocations: 4.069 MB / 1.457 GB, free: 11.83 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003957/1.238, allocations: 1.142 MB / 1.458 GB, free: 10.72 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06624/1.304, allocations: 31.97 MB / 1.489 GB, free: 10.29 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001995/1.306, allocations: 2.227 MB / 1.492 GB, free: 8.023 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.001968/1.308, allocations: 0.5138 MB / 1.492 GB, free: 7.504 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001712/1.31, allocations: 1.35 MB / 1.493 GB, free: 6.152 MB / 1.217 GB Notification: Performance of SimCode: time 1.192e-06/1.31, allocations: 0 / 1.493 GB, free: 6.152 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.482/4.792, allocations: 102.7 MB / 1.594 GB, free: 316.2 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate platform static: time 25.85/30.64, allocations: 7.141 kB / 1.594 GB, free: 316.2 MB / 1.279 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)