Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_DC_Lines_Examples_DCLinesLinearized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized,fileNamePrefix="Buildings_maint_7_0_x_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 7.0.3-maint.7.0.x/package.mo): time 1.581/1.581, allocations: 251.9 MB / 266.8 MB, free: 11.02 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001209/0.001209, allocations: 179.8 kB / 326.5 MB, free: 2.238 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.177/2.177, allocations: 205.4 MB / 0.5775 GB, free: 20.27 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001152/0.001151, allocations: 99.34 kB / 0.6821 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003824/0.0003823, allocations: 9.844 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.295/0.2954, allocations: 106.3 MB / 0.9002 GB, free: 63.84 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8178/1.113, allocations: 183.5 MB / 1.079 GB, free: 52.63 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002819/1.114, allocations: 95.3 kB / 1.079 GB, free: 52.63 MB / 0.698 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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 7.0.3-maint.7.0.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.3723/1.486, allocations: 149.6 MB / 1.226 GB, free: 10.53 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.184e-06/1.486, allocations: 0 / 1.226 GB, free: 10.53 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 0.000224/1.486, allocations: 83.55 kB / 1.226 GB, free: 10.45 MB / 0.7292 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.01075/1.497, allocations: 4.215 MB / 1.23 GB, free: 6.145 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.791e-05/1.497, allocations: 8.031 kB / 1.23 GB, free: 6.137 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001084/1.498, allocations: 361.8 kB / 1.23 GB, free: 5.777 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01653/1.515, allocations: 3.236 MB / 1.233 GB, free: 2.535 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00891/1.524, allocations: 2.574 MB / 1.236 GB, free: 15.95 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004396/1.524, allocations: 461.9 kB / 1.236 GB, free: 15.43 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001261/1.525, allocations: 240.3 kB / 1.236 GB, free: 15.2 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01145/1.537, allocations: 4.808 MB / 1.241 GB, free: 10.27 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.693e-05/1.537, allocations: 4 kB / 1.241 GB, free: 10.26 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003736/1.537, allocations: 110.5 kB / 1.241 GB, free: 10.16 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001829/1.538, allocations: 148.8 kB / 1.241 GB, free: 10.01 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0131/1.551, allocations: 5.296 MB / 1.247 GB, free: 4.699 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02439/1.575, allocations: 14.87 MB / 1.261 GB, free: 4.754 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009795/1.585, allocations: 3.638 MB / 1.265 GB, free: 1.105 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000238/1.585, allocations: 28.27 kB / 1.265 GB, free: 1.082 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00485/1.59, allocations: 1.917 MB / 1.266 GB, free: 15.1 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=163): time 8.356e-06/1.59, allocations: 0 / 1.266 GB, free: 15.1 MB / 0.7761 GB Notification: Performance of matching and sorting (n=250): time 0.1259/1.716, allocations: 34.33 MB / 1.3 GB, free: 12.56 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004614/1.717, allocations: 0.9016 MB / 1.301 GB, free: 11.45 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003248/1.72, allocations: 1.981 MB / 1.303 GB, free: 9.465 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 0.0005017/1.72, allocations: 81.7 kB / 1.303 GB, free: 9.379 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.00141/1.722, allocations: 1.433 MB / 1.304 GB, free: 7.934 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009783/1.723, allocations: 0.8222 MB / 1.305 GB, free: 7.117 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001914/1.723, allocations: 44 kB / 1.305 GB, free: 7.074 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0001562/1.723, allocations: 394.7 kB / 1.306 GB, free: 6.684 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005048/1.728, allocations: 2.108 MB / 1.308 GB, free: 4.57 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005349/1.734, allocations: 2.507 MB / 1.31 GB, free: 1.926 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005252/1.739, allocations: 2.301 MB / 1.312 GB, free: 15.57 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.258e-06/1.739, allocations: 4 kB / 1.312 GB, free: 15.57 MB / 0.823 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.01871/1.758, allocations: 6.907 MB / 1.319 GB, free: 8.574 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001298/1.758, allocations: 148.5 kB / 1.319 GB, free: 8.398 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.097e-05/1.758, allocations: 8 kB / 1.319 GB, free: 8.391 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00997/1.768, allocations: 2.954 MB / 1.322 GB, free: 5.43 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002988/1.771, allocations: 0.5774 MB / 1.323 GB, free: 4.852 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03661/1.807, allocations: 18.15 MB / 1.34 GB, free: 2.492 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004709/1.812, allocations: 427.5 kB / 1.341 GB, free: 2.074 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000491/1.813, allocations: 87.98 kB / 1.341 GB, free: 1.988 MB / 0.8386 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 () * 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 (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.002033/1.815, allocations: 0.7109 MB / 1.342 GB, free: 1.266 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007836/1.816, allocations: 340 kB / 1.342 GB, free: 0.9297 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008668/1.816, allocations: 392 kB / 1.342 GB, free: 0.5391 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.867e-05/1.816, allocations: 24 kB / 1.342 GB, free: 0.5156 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.816e-05/1.816, allocations: 8 kB / 1.342 GB, free: 0.5078 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.831e-05/1.816, allocations: 15.95 kB / 1.342 GB, free: 0.4922 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004722/1.821, allocations: 3.653 MB / 1.346 GB, free: 12.82 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.094e-06/1.821, allocations: 0 / 1.346 GB, free: 12.82 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002478/1.824, allocations: 0.5072 MB / 1.346 GB, free: 12.32 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009285/1.833, allocations: 2.863 MB / 1.349 GB, free: 9.441 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004057/1.833, allocations: 51.97 kB / 1.349 GB, free: 9.391 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03758/1.871, allocations: 17.98 MB / 1.367 GB, free: 7.141 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.56e-06/1.871, allocations: 4 kB / 1.367 GB, free: 7.137 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01815/1.889, allocations: 6.545 MB / 1.373 GB, free: 0.5586 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002655/1.892, allocations: 0.7001 MB / 1.374 GB, free: 15.84 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009514/1.893, allocations: 51.98 kB / 1.374 GB, free: 15.79 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003846/1.897, allocations: 419.5 kB / 1.374 GB, free: 15.38 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001234/1.898, allocations: 370.5 kB / 1.375 GB, free: 15.02 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002276/1.898, allocations: 67.97 kB / 1.375 GB, free: 14.95 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.002281/1.901, allocations: 1.521 MB / 1.376 GB, free: 13.43 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.51e-07/1.901, allocations: 3.938 kB / 1.376 GB, free: 13.43 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.003335/1.904, allocations: 1.062 MB / 1.377 GB, free: 12.36 MB / 0.8855 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 (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.01805/1.922, allocations: 7.193 MB / 1.384 GB, free: 5.129 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.4407/2.363, allocations: 6.827 MB / 1.391 GB, free: 234.4 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.376e-05/2.363, allocations: 5.5 kB / 1.391 GB, free: 234.4 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0165/2.379, allocations: 4.206 MB / 1.395 GB, free: 234 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005577/2.385, allocations: 1.016 MB / 1.396 GB, free: 234 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06723/2.452, allocations: 30.6 MB / 1.426 GB, free: 221.7 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001838/2.454, allocations: 2.293 MB / 1.428 GB, free: 220.9 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.002951/2.457, allocations: 0.509 MB / 1.429 GB, free: 220.9 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001615/2.459, allocations: 1.322 MB / 1.43 GB, free: 220.9 MB / 0.8855 GB Notification: Performance of SimCode: time 7.92e-07/2.459, allocations: 0 / 1.43 GB, free: 220.9 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1422/2.601, allocations: 97.79 MB / 1.525 GB, free: 192.1 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001588/2.601, allocations: 235.6 kB / 1.526 GB, free: 191.9 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.962/8.563, allocations: 3.281 kB / 1.526 GB, free: 191.9 MB / 0.8855 GB (rm -f Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Electrical_DC_Lines_Examples_DCLinesLinearized_fmu --startTime=0 --stopTime=4000 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Electrical_DC_Lines_Examples_DCLinesLinearized.fmu > Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe 2>&1)