Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Electrical.DC.Lines.Examples.DCLines.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.DC.Lines.Examples.DCLines,fileNamePrefix="Buildings_9_Buildings_Electrical_DC_Lines_Examples_DCLines",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.DC.Lines.Examples.DCLines,fileNamePrefix="Buildings_9_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 9.1.1-maint.9.1.x/package.mo): time 2.26/2.26, allocations: 387.4 MB / 394.9 MB, free: 13.39 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001018/0.001018, allocations: 192.8 kB / 487.4 MB, free: 5.062 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.423/1.423, allocations: 221.5 MB / 0.7824 GB, free: 0.9336 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000875/0.000875, allocations: 99.89 kB / 0.9219 GB, free: 2.164 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.035e-05/2.036e-05, allocations: 4 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2613/0.2614, allocations: 142.4 MB / 1.206 GB, free: 43.87 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9197/1.181, allocations: 200.6 MB / 1.402 GB, free: 8.145 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002738/1.181, allocations: 95.5 kB / 1.402 GB, free: 8.094 MB / 0.823 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/Electrical/Interfaces/Source.mo:28:9-28: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 9.1.1-maint.9.1.x/Electrical/Transmission/BaseClasses/PartialTwoPortRLC.mo:19:3-19: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.526/1.707, allocations: 217.5 MB / 1.614 GB, free: 10.5 MB / 1.026 GB Notification: Performance of FrontEnd: time 2.544e-06/1.708, allocations: 0 / 1.614 GB, free: 10.5 MB / 1.026 GB Notification: Performance of Transformations before backend: time 0.0006462/1.708, allocations: 83.92 kB / 1.615 GB, free: 10.41 MB / 1.026 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.01219/1.72, allocations: 3.414 MB / 1.618 GB, free: 6.898 MB / 1.026 GB Notification: Performance of prepare preOptimizeDAE: time 4.963e-05/1.72, allocations: 8.031 kB / 1.618 GB, free: 6.891 MB / 1.026 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01814/1.739, allocations: 3.214 MB / 1.621 GB, free: 3.668 MB / 1.026 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007024/1.746, allocations: 2.291 MB / 1.623 GB, free: 1.305 MB / 1.026 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001496/1.746, allocations: 76.69 kB / 1.623 GB, free: 1.23 MB / 1.026 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001057/1.747, allocations: 136 kB / 1.623 GB, free: 1.098 MB / 1.026 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00757/1.755, allocations: 3.387 MB / 1.627 GB, free: 13.7 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009331/1.764, allocations: 3.474 MB / 1.63 GB, free: 10.09 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.169e-05/1.764, allocations: 3.938 kB / 1.63 GB, free: 10.09 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007793/1.765, allocations: 11.98 kB / 1.63 GB, free: 10.08 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002024/1.765, allocations: 144.8 kB / 1.63 GB, free: 9.934 MB / 1.042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02566/1.791, allocations: 13.83 MB / 1.644 GB, free: 10.95 MB / 1.057 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007248/1.798, allocations: 2.769 MB / 1.647 GB, free: 8.172 MB / 1.057 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001691/1.8, allocations: 1.003 MB / 1.647 GB, free: 7.164 MB / 1.057 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001513/1.8, allocations: 25.3 kB / 1.648 GB, free: 7.141 MB / 1.057 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00221/1.802, allocations: 1.308 MB / 1.649 GB, free: 5.77 MB / 1.057 GB Notification: Performance of pre-optimization done (n=163): time 5.169e-06/1.802, allocations: 0 / 1.649 GB, free: 5.77 MB / 1.057 GB Notification: Performance of matching and sorting (n=250): time 0.01938/1.822, allocations: 7.549 MB / 1.656 GB, free: 14.19 MB / 1.073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003914/1.822, allocations: 0.9022 MB / 1.657 GB, free: 13.08 MB / 1.073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003274/1.825, allocations: 1.564 MB / 1.659 GB, free: 11.5 MB / 1.073 GB Notification: Performance of collectPreVariables (initialization): time 0.0004963/1.826, allocations: 33.7 kB / 1.659 GB, free: 11.46 MB / 1.073 GB Notification: Performance of collectInitialEqns (initialization): time 0.001582/1.827, allocations: 1.447 MB / 1.66 GB, free: 10 MB / 1.073 GB Notification: Performance of collectInitialBindings (initialization): time 0.001059/1.828, allocations: 0.7812 MB / 1.661 GB, free: 9.211 MB / 1.073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003168/1.829, allocations: 4 kB / 1.661 GB, free: 9.207 MB / 1.073 GB Notification: Performance of setup shared object (initialization): time 0.0001842/1.829, allocations: 394.7 kB / 1.661 GB, free: 8.816 MB / 1.073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00195/1.831, allocations: 1.207 MB / 1.662 GB, free: 7.605 MB / 1.073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002312/1.833, allocations: 1.579 MB / 1.664 GB, free: 5.895 MB / 1.073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00212/1.835, allocations: 1.3 MB / 1.665 GB, free: 4.574 MB / 1.073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.736e-06/1.835, allocations: 0 / 1.665 GB, free: 4.574 MB / 1.073 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.009545/1.845, allocations: 4.378 MB / 1.669 GB, free: 140 kB / 1.073 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008831/1.846, allocations: 2.408 MB / 1.672 GB, free: 13.51 MB / 1.089 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.555e-05/1.846, allocations: 11.98 kB / 1.672 GB, free: 13.5 MB / 1.089 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006088/1.852, allocations: 1.61 MB / 1.673 GB, free: 11.88 MB / 1.089 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003292/1.855, allocations: 0.5852 MB / 1.674 GB, free: 11.29 MB / 1.089 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01422/1.87, allocations: 8.992 MB / 1.683 GB, free: 2.152 MB / 1.089 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004377/1.874, allocations: 359.6 kB / 1.683 GB, free: 1.801 MB / 1.089 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006036/1.875, allocations: 91.97 kB / 1.683 GB, free: 1.711 MB / 1.089 GB Notification: Performance of prepare postOptimizeDAE: time 1.625e-05/1.875, allocations: 5.562 kB / 1.683 GB, free: 1.707 MB / 1.089 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008403/1.883, allocations: 3.676 MB / 1.687 GB, free: 13.98 MB / 1.104 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.628e-05/1.883, allocations: 4 kB / 1.687 GB, free: 13.98 MB / 1.104 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003776/1.887, allocations: 1.418 MB / 1.688 GB, free: 12.55 MB / 1.104 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003307/1.89, allocations: 0.6359 MB / 1.689 GB, free: 11.91 MB / 1.104 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01843/1.909, allocations: 11.76 MB / 1.7 GB, free: 15.91 MB / 1.12 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004343/1.913, allocations: 363.4 kB / 1.701 GB, free: 15.55 MB / 1.12 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005608/1.914, allocations: 87.97 kB / 1.701 GB, free: 15.47 MB / 1.12 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.0009703/1.915, allocations: 159.3 kB / 1.701 GB, free: 15.3 MB / 1.12 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.009059/1.924, allocations: 4.054 MB / 1.705 GB, free: 11.23 MB / 1.12 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009868/1.925, allocations: 308.4 kB / 1.705 GB, free: 10.93 MB / 1.12 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001206/1.926, allocations: 345.2 kB / 1.705 GB, free: 10.58 MB / 1.12 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.393e-05/1.926, allocations: 24 kB / 1.705 GB, free: 10.55 MB / 1.12 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.866e-05/1.926, allocations: 8 kB / 1.705 GB, free: 10.55 MB / 1.12 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.956e-05/1.926, allocations: 11.95 kB / 1.705 GB, free: 10.54 MB / 1.12 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005295/1.932, allocations: 2.806 MB / 1.708 GB, free: 7.688 MB / 1.12 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.318e-06/1.932, allocations: 0 / 1.708 GB, free: 7.688 MB / 1.12 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002774/1.934, allocations: 0.5228 MB / 1.709 GB, free: 7.164 MB / 1.12 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005745/1.94, allocations: 1.614 MB / 1.71 GB, free: 5.543 MB / 1.12 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004498/1.941, allocations: 15.97 kB / 1.71 GB, free: 5.527 MB / 1.12 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0211/1.962, allocations: 13.35 MB / 1.723 GB, free: 7.934 MB / 1.135 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.793e-06/1.962, allocations: 3.953 kB / 1.723 GB, free: 7.93 MB / 1.135 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00877/1.971, allocations: 4.182 MB / 1.727 GB, free: 3.723 MB / 1.135 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002067/1.973, allocations: 0.6425 MB / 1.728 GB, free: 3.059 MB / 1.135 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008136/1.973, allocations: 12 kB / 1.728 GB, free: 3.047 MB / 1.135 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00353/1.977, allocations: 363.5 kB / 1.728 GB, free: 2.691 MB / 1.135 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008915/1.978, allocations: 306.6 kB / 1.729 GB, free: 2.391 MB / 1.135 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002239/1.978, allocations: 71.97 kB / 1.729 GB, free: 2.32 MB / 1.135 GB Notification: Performance of sorting global known variables: time 0.001974/1.98, allocations: 1.161 MB / 1.73 GB, free: 1.152 MB / 1.135 GB Notification: Performance of sort global known variables: time 2.3e-07/1.98, allocations: 0 / 1.73 GB, free: 1.152 MB / 1.135 GB Notification: Performance of remove unused functions: time 0.005087/1.985, allocations: 1.406 MB / 1.731 GB, free: 15.74 MB / 1.151 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.009222/1.995, allocations: 4.798 MB / 1.736 GB, free: 10.91 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.01439/2.009, allocations: 7.358 MB / 1.743 GB, free: 3.387 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 1.496e-05/2.009, allocations: 4 kB / 1.743 GB, free: 3.383 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.005768/2.015, allocations: 2.673 MB / 1.746 GB, free: 0.6836 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.61/2.625, allocations: 0.8618 MB / 1.747 GB, free: 283.3 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01316/2.638, allocations: 5.364 MB / 1.752 GB, free: 282.3 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002157/2.64, allocations: 2.328 MB / 1.754 GB, free: 281.6 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.003977/2.644, allocations: 0.723 MB / 1.755 GB, free: 281.5 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001595/2.646, allocations: 1.292 MB / 1.756 GB, free: 281.5 MB / 1.151 GB Notification: Performance of SimCode: time 7.91e-07/2.646, allocations: 0 / 1.756 GB, free: 281.5 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1606/2.806, allocations: 92.93 MB / 1.847 GB, free: 278.8 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000152/2.807, allocations: 129.3 kB / 1.847 GB, free: 278.6 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.585/8.392, allocations: 4.125 kB / 1.847 GB, free: 278.6 MB / 1.151 GB (rm -f Buildings_9_Buildings.Electrical.DC.Lines.Examples.DCLines.pipe ; mkfifo Buildings_9_Buildings.Electrical.DC.Lines.Examples.DCLines.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.DC.Lines.Examples.DCLines.pipe >> ../files/Buildings_9_Buildings.Electrical.DC.Lines.Examples.DCLines.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Electrical.DC.Lines.Examples.DCLines_res.mat --tempDir=temp_Buildings_9_Buildings_Electrical_DC_Lines_Examples_DCLines_fmu --startTime=0 --stopTime=4000 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Electrical_DC_Lines_Examples_DCLines.fmu > Buildings_9_Buildings.Electrical.DC.Lines.Examples.DCLines.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Electrical.DC.Lines.Examples.DCLines_res.mat does not exist to compare? outputFormat=mat