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.311/2.311, allocations: 390.3 MB / 405.3 MB, free: 13.5 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.001039/0.001039, allocations: 176.2 kB / 498.1 MB, free: 5.75 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.536/1.536, allocations: 223.1 MB / 0.7948 GB, free: 18.89 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008784/0.0008784, allocations: 95.84 kB / 0.9346 GB, free: 7.203 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003366/0.0003367, allocations: 8.031 kB / 1.084 GB, free: 212.7 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2451/0.2454, allocations: 142.4 MB / 1.223 GB, free: 89.49 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7937/1.039, allocations: 201.4 MB / 1.42 GB, free: 76.84 MB / 0.9011 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003343/1.04, allocations: 98.23 kB / 1.42 GB, free: 76.84 MB / 0.9011 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.4777/1.517, allocations: 219.8 MB / 1.634 GB, free: 1.035 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.533e-06/1.517, allocations: 0 / 1.634 GB, free: 1.035 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0004611/1.518, allocations: 75.98 kB / 1.634 GB, free: 0.9609 MB / 0.948 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.01308/1.531, allocations: 3.948 MB / 1.638 GB, free: 12.9 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.916e-05/1.531, allocations: 12.03 kB / 1.638 GB, free: 12.89 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001617/1.533, allocations: 354.1 kB / 1.639 GB, free: 12.54 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01758/1.55, allocations: 3.222 MB / 1.642 GB, free: 9.305 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007635/1.558, allocations: 2.316 MB / 1.644 GB, free: 6.918 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002343/1.558, allocations: 176.7 kB / 1.644 GB, free: 6.742 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001353/1.56, allocations: 235.9 kB / 1.644 GB, free: 6.512 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01288/1.572, allocations: 4.692 MB / 1.649 GB, free: 1.676 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.158e-05/1.573, allocations: 4 kB / 1.649 GB, free: 1.672 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004247/1.573, allocations: 103.9 kB / 1.649 GB, free: 1.57 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001841/1.573, allocations: 144.8 kB / 1.649 GB, free: 1.426 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01451/1.588, allocations: 5.222 MB / 1.654 GB, free: 12.19 MB / 0.9792 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02853/1.616, allocations: 14.37 MB / 1.668 GB, free: 12.65 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01144/1.628, allocations: 3.779 MB / 1.672 GB, free: 8.863 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001616/1.628, allocations: 21.28 kB / 1.672 GB, free: 8.844 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004255/1.632, allocations: 1.826 MB / 1.674 GB, free: 6.953 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=163): time 4.238e-06/1.632, allocations: 0 / 1.674 GB, free: 6.953 MB / 0.9948 GB Notification: Performance of matching and sorting (n=250): time 0.1274/1.76, allocations: 33.53 MB / 1.707 GB, free: 5.199 MB / 1.026 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005179/1.76, allocations: 0.8944 MB / 1.707 GB, free: 4.094 MB / 1.026 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003562/1.764, allocations: 1.985 MB / 1.709 GB, free: 2.102 MB / 1.026 GB Notification: Performance of collectPreVariables (initialization): time 0.0006182/1.764, allocations: 77.7 kB / 1.709 GB, free: 2.02 MB / 1.026 GB Notification: Performance of collectInitialEqns (initialization): time 0.001416/1.766, allocations: 1.438 MB / 1.711 GB, free: 0.5664 MB / 1.026 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009673/1.767, allocations: 0.8202 MB / 1.712 GB, free: 15.73 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001965/1.767, allocations: 48 kB / 1.712 GB, free: 15.69 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 0.0001917/1.767, allocations: 390.7 kB / 1.712 GB, free: 15.3 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004779/1.772, allocations: 1.929 MB / 1.714 GB, free: 13.37 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005457/1.777, allocations: 2.316 MB / 1.716 GB, free: 10.91 MB / 1.042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005418/1.783, allocations: 2.14 MB / 1.718 GB, free: 8.723 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.23e-05/1.783, allocations: 0 / 1.718 GB, free: 8.723 MB / 1.042 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.01633/1.799, allocations: 6.122 MB / 1.724 GB, free: 2.512 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 0.001368/1.801, allocations: 2.463 MB / 1.727 GB, free: 15.78 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.51e-05/1.801, allocations: 8 kB / 1.727 GB, free: 15.77 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007019/1.808, allocations: 1.793 MB / 1.728 GB, free: 13.96 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003313/1.811, allocations: 0.589 MB / 1.729 GB, free: 13.38 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01478/1.826, allocations: 9.517 MB / 1.738 GB, free: 3.703 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004712/1.831, allocations: 415.6 kB / 1.739 GB, free: 3.297 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006024/1.831, allocations: 87.97 kB / 1.739 GB, free: 3.211 MB / 1.057 GB Notification: Performance of prepare postOptimizeDAE: time 1.743e-05/1.831, allocations: 4 kB / 1.739 GB, free: 3.207 MB / 1.057 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01737/1.849, allocations: 5.734 MB / 1.744 GB, free: 13.39 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.621e-05/1.849, allocations: 4 kB / 1.744 GB, free: 13.38 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005178/1.854, allocations: 1.798 MB / 1.746 GB, free: 11.58 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003407/1.857, allocations: 0.6128 MB / 1.747 GB, free: 10.97 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02217/1.88, allocations: 14.02 MB / 1.76 GB, free: 12.67 MB / 1.089 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004689/1.884, allocations: 419.4 kB / 1.761 GB, free: 12.26 MB / 1.089 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005125/1.885, allocations: 87.98 kB / 1.761 GB, free: 12.17 MB / 1.089 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 (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.002212/1.887, allocations: 0.7921 MB / 1.762 GB, free: 11.37 MB / 1.089 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008774/1.888, allocations: 340 kB / 1.762 GB, free: 11.03 MB / 1.089 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00103/1.889, allocations: 392.1 kB / 1.762 GB, free: 10.64 MB / 1.089 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.169e-05/1.889, allocations: 24 kB / 1.762 GB, free: 10.62 MB / 1.089 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.791e-05/1.889, allocations: 12 kB / 1.762 GB, free: 10.61 MB / 1.089 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.073e-05/1.889, allocations: 11.95 kB / 1.762 GB, free: 10.59 MB / 1.089 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005166/1.894, allocations: 3.177 MB / 1.766 GB, free: 7.363 MB / 1.089 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.791e-05/1.894, allocations: 7.938 kB / 1.766 GB, free: 7.355 MB / 1.089 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002906/1.897, allocations: 0.5228 MB / 1.766 GB, free: 6.832 MB / 1.089 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006285/1.904, allocations: 1.703 MB / 1.768 GB, free: 5.121 MB / 1.089 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000536/1.904, allocations: 51.97 kB / 1.768 GB, free: 5.07 MB / 1.089 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02284/1.927, allocations: 14.55 MB / 1.782 GB, free: 6.254 MB / 1.104 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.869e-06/1.927, allocations: 4.031 kB / 1.782 GB, free: 6.25 MB / 1.104 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01584/1.943, allocations: 5.752 MB / 1.788 GB, free: 476 kB / 1.104 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002735/1.946, allocations: 0.6727 MB / 1.788 GB, free: 15.77 MB / 1.12 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008932/1.947, allocations: 48 kB / 1.788 GB, free: 15.72 MB / 1.12 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003855/1.95, allocations: 403.6 kB / 1.789 GB, free: 15.32 MB / 1.12 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001243/1.952, allocations: 306.6 kB / 1.789 GB, free: 15.03 MB / 1.12 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002594/1.952, allocations: 75.92 kB / 1.789 GB, free: 14.95 MB / 1.12 GB Notification: Performance of sorting global known variables: time 0.003123/1.955, allocations: 1.521 MB / 1.791 GB, free: 13.43 MB / 1.12 GB Notification: Performance of sort global known variables: time 4.61e-07/1.955, allocations: 0 / 1.791 GB, free: 13.43 MB / 1.12 GB Notification: Performance of remove unused functions: time 0.005679/1.961, allocations: 1.586 MB / 1.792 GB, free: 11.85 MB / 1.12 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 (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.01569/1.977, allocations: 6.414 MB / 1.798 GB, free: 5.391 MB / 1.12 GB Notification: Performance of simCode: created initialization part: time 0.0239/2.001, allocations: 9.702 MB / 1.808 GB, free: 11.51 MB / 1.135 GB Notification: Performance of simCode: created event and clocks part: time 1.224e-05/2.001, allocations: 8.312 kB / 1.808 GB, free: 11.5 MB / 1.135 GB Notification: Performance of simCode: created simulation system equations: time 0.008744/2.009, allocations: 3.503 MB / 1.811 GB, free: 7.977 MB / 1.135 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005593/2.015, allocations: 1.014 MB / 1.812 GB, free: 6.969 MB / 1.135 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5524/2.567, allocations: 29.33 MB / 1.841 GB, free: 277.3 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002641/2.57, allocations: 2.324 MB / 1.843 GB, free: 276.5 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.00378/2.574, allocations: 0.636 MB / 1.844 GB, free: 276.5 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002008/2.576, allocations: 1.332 MB / 1.845 GB, free: 276.5 MB / 1.151 GB Notification: Performance of SimCode: time 1.332e-06/2.576, allocations: 2.812 kB / 1.845 GB, free: 276.5 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1413/2.717, allocations: 98.99 MB / 1.942 GB, free: 273.7 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001715/2.717, allocations: 222.9 kB / 1.942 GB, free: 273.5 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.929/8.646, allocations: 0 / 1.942 GB, free: 273.5 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