Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.DC.Lines.Examples.DCLines.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.DC.Lines.Examples.DCLines,fileNamePrefix="Buildings_8_0_0_Buildings_Electrical_DC_Lines_Examples_DCLines",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.DC.Lines.Examples.DCLines,fileNamePrefix="Buildings_8_0_0_Buildings_Electrical_DC_Lines_Examples_DCLines",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.553/2.553, allocations: 284.9 MB / 292.4 MB, free: 10.52 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001508/0.001508, allocations: 180.8 kB / 360.6 MB, free: 7.273 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.156/2.156, allocations: 205.3 MB / 0.6191 GB, free: 12.17 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001098/0.001098, allocations: 95.19 kB / 0.7321 GB, free: 44.7 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.11e-05/3.122e-05, allocations: 4 kB / 0.8509 GB, free: 3.312 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8567/0.8568, allocations: 115.2 MB / 0.9634 GB, free: 78.42 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.3124/1.169, allocations: 188.8 MB / 1.148 GB, free: 15.52 MB / 0.7605 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000345/1.17, allocations: 91.25 kB / 1.148 GB, free: 15.43 MB / 0.7605 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/Electrical/Interfaces/Source.mo:30:9-30:50:writable] Warning: Ignoring overconstrained operator applied to array components having size zero: Connections.potentialRoot(terminal.theta);. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/Electrical/Transmission/BaseClasses/PartialTwoPortRLC.mo:18:3-18:57:writable] Warning: Ignoring overconstrained operator applied to array components having size zero: Connections.branch(terminal_p.theta, terminal_n.theta);. Notification: Performance of FrontEnd - DAE generated: time 1.288/2.457, allocations: 146.5 MB / 1.291 GB, free: 192.6 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.275e-06/2.457, allocations: 1.875 kB / 1.291 GB, free: 192.6 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 0.000528/2.458, allocations: 81.34 kB / 1.291 GB, free: 192.5 MB / 0.8542 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.01476/2.473, allocations: 3.433 MB / 1.294 GB, free: 190.9 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 5.366e-05/2.473, allocations: 9.656 kB / 1.294 GB, free: 190.9 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02858/2.501, allocations: 3.196 MB / 1.297 GB, free: 190.6 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01021/2.512, allocations: 2.3 MB / 1.3 GB, free: 190 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001859/2.512, allocations: 87.16 kB / 1.3 GB, free: 190 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001417/2.513, allocations: 136.3 kB / 1.3 GB, free: 190 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01121/2.524, allocations: 3.381 MB / 1.303 GB, free: 190 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0133/2.538, allocations: 3.48 MB / 1.307 GB, free: 189.6 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001007/2.538, allocations: 3.094 kB / 1.307 GB, free: 189.6 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009228/2.539, allocations: 4.625 kB / 1.307 GB, free: 189.6 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002858/2.539, allocations: 145.7 kB / 1.307 GB, free: 189.6 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03595/2.575, allocations: 13.86 MB / 1.32 GB, free: 181.5 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01163/2.587, allocations: 2.755 MB / 1.323 GB, free: 180.5 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002489/2.589, allocations: 1.004 MB / 1.324 GB, free: 180.1 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002083/2.59, allocations: 30.27 kB / 1.324 GB, free: 180.1 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003118/2.593, allocations: 1.302 MB / 1.325 GB, free: 179.5 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=163): time 6.642e-06/2.593, allocations: 0 / 1.325 GB, free: 179.5 MB / 0.8542 GB Notification: Performance of matching and sorting (n=250): time 0.03036/2.623, allocations: 7.548 MB / 1.333 GB, free: 176.9 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002809/2.624, allocations: 0.9028 MB / 1.334 GB, free: 175.8 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003564/2.627, allocations: 1.559 MB / 1.335 GB, free: 175.2 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0006895/2.628, allocations: 33.14 kB / 1.335 GB, free: 175.1 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.001625/2.629, allocations: 1.449 MB / 1.337 GB, free: 174 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.001228/2.631, allocations: 0.7905 MB / 1.337 GB, free: 173.4 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003478/2.631, allocations: 0 / 1.337 GB, free: 173.4 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001679/2.631, allocations: 394.9 kB / 1.338 GB, free: 173 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002997/2.634, allocations: 1.206 MB / 1.339 GB, free: 172.5 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003413/2.638, allocations: 1.584 MB / 1.34 GB, free: 171.7 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003205/2.641, allocations: 1.29 MB / 1.342 GB, free: 171.1 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.916e-05/2.641, allocations: 2.844 kB / 1.342 GB, free: 171.1 MB / 0.8542 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.01516/2.656, allocations: 4.372 MB / 1.346 GB, free: 169.5 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006076/2.657, allocations: 2.411 MB / 1.348 GB, free: 166.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.312e-05/2.657, allocations: 11.27 kB / 1.348 GB, free: 166.9 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01007/2.667, allocations: 1.598 MB / 1.35 GB, free: 166.6 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005613/2.673, allocations: 0.5949 MB / 1.35 GB, free: 166.5 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02048/2.693, allocations: 8.993 MB / 1.359 GB, free: 161.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007214/2.701, allocations: 364.8 kB / 1.36 GB, free: 161.5 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007884/2.701, allocations: 93.2 kB / 1.36 GB, free: 161.5 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.696e-05/2.701, allocations: 3.938 kB / 1.36 GB, free: 161.5 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01188/2.713, allocations: 3.677 MB / 1.363 GB, free: 160.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.206e-05/2.713, allocations: 3.938 kB / 1.363 GB, free: 160.2 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006533/2.72, allocations: 1.405 MB / 1.365 GB, free: 159.8 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005934/2.726, allocations: 0.6365 MB / 1.365 GB, free: 159.8 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02776/2.754, allocations: 11.77 MB / 1.377 GB, free: 153.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006942/2.761, allocations: 366.4 kB / 1.377 GB, free: 153.3 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008109/2.762, allocations: 86.92 kB / 1.377 GB, free: 153.3 MB / 0.8542 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 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.varLoad1.T_start,varLoad1.T_start,$PRE.varLoad1.count,varLoad1.count,$PRE.varLoad2.T_start,varLoad2.T_start,$PRE.varLoad2.count,varLoad2.count,$PRE.varLoad3.T_start,varLoad3.T_start,$PRE.varLoad3.count,varLoad3.count,$PRE.varLoad4.T_start,varLoad4.T_start,$PRE.varLoad4.count,varLoad4.count,$PRE.varLoad5.T_start,varLoad5.T_start,$PRE.varLoad5.count,varLoad5.count) * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(10,48.0%) 52} * Non-linear torn systems: 1 {10 52} Notification: Performance of prepare postOptimizeDAE: time 0.001088/2.763, allocations: 161.8 kB / 1.377 GB, free: 153.1 MB / 0.8542 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01471/2.777, allocations: 4.039 MB / 1.381 GB, free: 151.6 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001575/2.779, allocations: 308.5 kB / 1.382 GB, free: 151.5 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00135/2.78, allocations: 337.9 kB / 1.382 GB, free: 151.2 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.792e-05/2.781, allocations: 28.12 kB / 1.382 GB, free: 151.2 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.985e-05/2.781, allocations: 10.59 kB / 1.382 GB, free: 151.2 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.468e-05/2.781, allocations: 14.67 kB / 1.382 GB, free: 151.2 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007127/2.788, allocations: 2.797 MB / 1.385 GB, free: 149.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.59e-05/2.788, allocations: 0 / 1.385 GB, free: 149.6 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005032/2.793, allocations: 0.5235 MB / 1.385 GB, free: 149.2 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009797/2.803, allocations: 1.62 MB / 1.387 GB, free: 147.9 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006214/2.803, allocations: 19.69 kB / 1.387 GB, free: 147.9 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03143/2.835, allocations: 13.35 MB / 1.4 GB, free: 136 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.346e-06/2.835, allocations: 6.25 kB / 1.4 GB, free: 136 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01422/2.849, allocations: 4.173 MB / 1.404 GB, free: 132.4 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00291/2.852, allocations: 0.6422 MB / 1.405 GB, free: 131.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00139/2.854, allocations: 5.438 kB / 1.405 GB, free: 131.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006765/2.86, allocations: 367.3 kB / 1.405 GB, free: 131.5 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001549/2.862, allocations: 307.6 kB / 1.405 GB, free: 131.4 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004863/2.863, allocations: 71.12 kB / 1.405 GB, free: 131.3 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.002907/2.865, allocations: 1.157 MB / 1.406 GB, free: 130.2 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.563e-06/2.865, allocations: 3.938 kB / 1.406 GB, free: 130.2 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.008163/2.874, allocations: 1.406 MB / 1.408 GB, free: 128.8 MB / 0.8542 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) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(10,60.0%) 52} * Non-linear torn systems: 1 {10 52} Notification: Performance of Backend phase and start with SimCode phase: time 0.01508/2.889, allocations: 4.798 MB / 1.412 GB, free: 124.6 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.02544/2.914, allocations: 7.358 MB / 1.42 GB, free: 117.8 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.822e-05/2.914, allocations: 9.234 kB / 1.42 GB, free: 117.8 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0121/2.926, allocations: 2.678 MB / 1.422 GB, free: 115.4 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007208/2.934, allocations: 0.8671 MB / 1.423 GB, free: 114.7 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02017/2.954, allocations: 5.369 MB / 1.428 GB, free: 110.1 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00362/2.958, allocations: 2.317 MB / 1.431 GB, free: 107.9 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.007177/2.965, allocations: 0.724 MB / 1.431 GB, free: 107.2 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003055/2.968, allocations: 1.296 MB / 1.433 GB, free: 105.9 MB / 0.8542 GB Notification: Performance of SimCode: time 3.276e-06/2.968, allocations: 0 / 1.433 GB, free: 105.9 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2342/3.202, allocations: 92.93 MB / 1.523 GB, free: 14.24 MB / 0.8542 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000192/3.202, allocations: 137.6 kB / 1.523 GB, free: 14.04 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.118/10.32, allocations: 0 / 1.523 GB, free: 14.04 MB / 0.8542 GB (rm -f Buildings_8.0.0_Buildings.Electrical.DC.Lines.Examples.DCLines.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.DC.Lines.Examples.DCLines.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.DC.Lines.Examples.DCLines.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.DC.Lines.Examples.DCLines.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Electrical_DC_Lines_Examples_DCLines_fmu --startTime=0 --stopTime=4000 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Electrical_DC_Lines_Examples_DCLines.fmu > Buildings_8.0.0_Buildings.Electrical.DC.Lines.Examples.DCLines.pipe 2>&1)