Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized,fileNamePrefix="Buildings_8_Buildings_Electrical_DC_Lines_Examples_DCLinesLinearized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized,fileNamePrefix="Buildings_8_Buildings_Electrical_DC_Lines_Examples_DCLinesLinearized",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.882/1.882, allocations: 289.7 MB / 302.2 MB, free: 2.184 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.001248/0.001248, allocations: 178.8 kB / 371.6 MB, free: 3.312 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.584/1.584, allocations: 205.1 MB / 0.6309 GB, free: 11.76 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.001043/0.001043, allocations: 85.8 kB / 0.745 GB, free: 54.62 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 4.972e-05/4.993e-05, allocations: 4 kB / 0.8663 GB, free: 14.99 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2764/0.2765, allocations: 116.3 MB / 0.9799 GB, free: 10.53 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9437/1.22, allocations: 190.7 MB / 1.166 GB, free: 7.121 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002553/1.221, allocations: 89.89 kB / 1.166 GB, free: 7.09 MB / 0.7448 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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.1.4-maint.8.1.x/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 0.4354/1.656, allocations: 149.1 MB / 1.312 GB, free: 13.38 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.633e-06/1.656, allocations: 0 / 1.312 GB, free: 13.38 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0003429/1.656, allocations: 79.92 kB / 1.312 GB, free: 13.3 MB / 0.8855 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.01269/1.669, allocations: 3.699 MB / 1.316 GB, free: 9.496 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.772e-05/1.669, allocations: 8.031 kB / 1.316 GB, free: 9.488 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001715/1.671, allocations: 358.1 kB / 1.316 GB, free: 9.129 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01806/1.689, allocations: 3.21 MB / 1.319 GB, free: 5.91 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009871/1.699, allocations: 2.557 MB / 1.321 GB, free: 3.281 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005199/1.699, allocations: 470.3 kB / 1.322 GB, free: 2.758 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001405/1.701, allocations: 232 kB / 1.322 GB, free: 2.531 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008975/1.71, allocations: 3.943 MB / 1.326 GB, free: 14.45 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.842e-05/1.71, allocations: 8 kB / 1.326 GB, free: 14.44 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003921/1.71, allocations: 108 kB / 1.326 GB, free: 14.34 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001995/1.711, allocations: 148.8 kB / 1.326 GB, free: 14.19 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006874/1.717, allocations: 3.592 MB / 1.33 GB, free: 10.58 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02719/1.745, allocations: 14.85 MB / 1.344 GB, free: 10.57 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006121/1.751, allocations: 2.68 MB / 1.347 GB, free: 7.883 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002052/1.753, allocations: 1.112 MB / 1.348 GB, free: 6.773 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001464/1.753, allocations: 25.23 kB / 1.348 GB, free: 6.75 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002423/1.756, allocations: 1.433 MB / 1.349 GB, free: 5.254 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=163): time 3.687e-06/1.756, allocations: 0 / 1.349 GB, free: 5.254 MB / 0.9167 GB Notification: Performance of matching and sorting (n=250): time 0.122/1.878, allocations: 29.55 MB / 1.378 GB, free: 7.645 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005502/1.878, allocations: 0.8944 MB / 1.379 GB, free: 6.539 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003745/1.882, allocations: 1.959 MB / 1.381 GB, free: 4.57 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0006707/1.883, allocations: 77.7 kB / 1.381 GB, free: 4.488 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001541/1.884, allocations: 1.442 MB / 1.383 GB, free: 3.031 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001079/1.885, allocations: 0.8202 MB / 1.383 GB, free: 2.199 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001908/1.885, allocations: 44 kB / 1.383 GB, free: 2.156 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0002072/1.886, allocations: 394.7 kB / 1.384 GB, free: 1.766 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002412/1.888, allocations: 1.41 MB / 1.385 GB, free: 360 kB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.6837/2.572, allocations: 1.796 MB / 1.387 GB, free: 196.3 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003532/2.575, allocations: 1.619 MB / 1.388 GB, free: 196.1 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-05/2.575, allocations: 1.75 kB / 1.388 GB, free: 196.1 MB / 0.948 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.01658/2.592, allocations: 5.466 MB / 1.394 GB, free: 195.7 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.000157/2.592, allocations: 150.9 kB / 1.394 GB, free: 195.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.549e-05/2.592, allocations: 7.172 kB / 1.394 GB, free: 195.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01156/2.604, allocations: 2.886 MB / 1.397 GB, free: 195.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003504/2.607, allocations: 0.577 MB / 1.397 GB, free: 195.6 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04207/2.649, allocations: 16.96 MB / 1.414 GB, free: 193 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005141/2.655, allocations: 431.7 kB / 1.414 GB, free: 193 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008027/2.656, allocations: 88.77 kB / 1.414 GB, free: 193 MB / 0.948 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 (162): * Single equations (assignments): 155 * 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 {9 63} Notification: Performance of prepare postOptimizeDAE: time 0.001226/2.657, allocations: 251.6 kB / 1.415 GB, free: 192.9 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001147/2.658, allocations: 339.6 kB / 1.415 GB, free: 192.7 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001125/2.659, allocations: 377.7 kB / 1.415 GB, free: 192.7 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.078e-05/2.659, allocations: 25.91 kB / 1.415 GB, free: 192.7 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.916e-05/2.659, allocations: 13.5 kB / 1.415 GB, free: 192.7 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.226e-05/2.659, allocations: 10.52 kB / 1.415 GB, free: 192.7 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005765/2.665, allocations: 3.646 MB / 1.419 GB, free: 192.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.567e-05/2.665, allocations: 3.281 kB / 1.419 GB, free: 192.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002668/2.668, allocations: 0.507 MB / 1.419 GB, free: 192.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009345/2.677, allocations: 2.797 MB / 1.422 GB, free: 192.4 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007283/2.678, allocations: 53.94 kB / 1.422 GB, free: 192.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03522/2.713, allocations: 16.79 MB / 1.439 GB, free: 189.5 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.378e-06/2.713, allocations: 6.25 kB / 1.439 GB, free: 189.5 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01204/2.725, allocations: 5.118 MB / 1.444 GB, free: 189.1 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002487/2.728, allocations: 0.7061 MB / 1.444 GB, free: 188.9 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001174/2.729, allocations: 46.69 kB / 1.444 GB, free: 188.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004169/2.733, allocations: 426.9 kB / 1.445 GB, free: 188.9 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001509/2.735, allocations: 361.9 kB / 1.445 GB, free: 188.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000281/2.735, allocations: 70.84 kB / 1.445 GB, free: 188.9 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.002643/2.738, allocations: 1.493 MB / 1.447 GB, free: 188.7 MB / 0.948 GB Notification: Performance of sort global known variables: time 3.51e-07/2.738, allocations: 0 / 1.447 GB, free: 188.7 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.004692/2.742, allocations: 1.064 MB / 1.448 GB, free: 188.7 MB / 0.948 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 (118): * Single equations (assignments): 106 * 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 {8 64} Notification: Performance of Backend phase and start with SimCode phase: time 0.01211/2.754, allocations: 5.773 MB / 1.453 GB, free: 187.8 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.01776/2.772, allocations: 5.393 MB / 1.459 GB, free: 185.9 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.447e-05/2.772, allocations: 6.688 kB / 1.459 GB, free: 185.9 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.01459/2.787, allocations: 3.481 MB / 1.462 GB, free: 184.6 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006027/2.793, allocations: 1.007 MB / 1.463 GB, free: 184.4 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01423/2.807, allocations: 5.702 MB / 1.469 GB, free: 182.3 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001875/2.809, allocations: 2.299 MB / 1.471 GB, free: 181.4 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.002952/2.812, allocations: 0.512 MB / 1.471 GB, free: 181.3 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001918/2.814, allocations: 1.328 MB / 1.473 GB, free: 180.2 MB / 0.948 GB Notification: Performance of SimCode: time 1.213e-06/2.814, allocations: 2.25 kB / 1.473 GB, free: 180.2 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1785/2.993, allocations: 97.37 MB / 1.568 GB, free: 175 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002203/2.993, allocations: 189.8 kB / 1.568 GB, free: 174.8 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.905/8.898, allocations: 4 kB / 1.568 GB, free: 174.8 MB / 0.948 GB (rm -f Buildings_8_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe ; mkfifo Buildings_8_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe >> ../files/Buildings_8_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Electrical_DC_Lines_Examples_DCLinesLinearized_fmu --startTime=0 --stopTime=4000 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Electrical_DC_Lines_Examples_DCLinesLinearized.fmu > Buildings_8_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe 2>&1)