Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.DC.Lines.Examples.Resistance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.DC.Lines.Examples.Resistance,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Electrical_DC_Lines_Examples_Resistance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.DC.Lines.Examples.Resistance,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Electrical_DC_Lines_Examples_Resistance",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.667/1.667, allocations: 285.4 MB / 298 MB, free: 5.992 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.001299/0.001299, allocations: 180.8 kB / 366.4 MB, free: 2.082 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.756/1.756, allocations: 205.1 MB / 0.6248 GB, free: 7.742 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.001023/0.001024, allocations: 88.25 kB / 0.738 GB, free: 40.25 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 5.79e-05/5.804e-05, allocations: 4 kB / 0.8584 GB, free: 12.98 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7528/0.7528, allocations: 115.3 MB / 0.971 GB, free: 77.77 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2872/1.04, allocations: 163.9 MB / 1.131 GB, free: 3.773 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004109/1.041, allocations: 87.94 kB / 1.131 GB, free: 3.688 MB / 0.7292 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/Electrical/Transmission/BaseClasses/PartialTwoPortResistance.mo:13:3-13:57:writable] Warning: Ignoring overconstrained operator applied to array components having size zero: Connections.branch(terminal_p.theta, terminal_n.theta);. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1-maint.8.0.x/Electrical/DC/Sensors/GeneralizedSensor.mo:39:3-39: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.0365/1.077, allocations: 11.31 MB / 1.142 GB, free: 8.352 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.753e-06/1.077, allocations: 0 / 1.142 GB, free: 8.352 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 1.993e-05/1.077, allocations: 4 kB / 1.142 GB, free: 8.348 MB / 0.7448 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.0008344/1.078, allocations: 482.1 kB / 1.143 GB, free: 7.828 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.404e-05/1.078, allocations: 12.03 kB / 1.143 GB, free: 7.816 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.016e-05/1.078, allocations: 50.55 kB / 1.143 GB, free: 7.758 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008679/1.079, allocations: 83.64 kB / 1.143 GB, free: 7.676 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004423/1.08, allocations: 234.7 kB / 1.143 GB, free: 7.406 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.682e-05/1.08, allocations: 20.36 kB / 1.143 GB, free: 7.387 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.086e-05/1.08, allocations: 19.75 kB / 1.143 GB, free: 7.371 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006371/1.08, allocations: 283.2 kB / 1.143 GB, free: 7.074 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.318e-05/1.08, allocations: 2.344 kB / 1.143 GB, free: 7.074 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.761e-05/1.08, allocations: 12 kB / 1.143 GB, free: 7.062 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.384e-05/1.08, allocations: 12.38 kB / 1.143 GB, free: 7.051 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004735/1.081, allocations: 196.7 kB / 1.144 GB, free: 6.859 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002004/1.083, allocations: 1.472 MB / 1.145 GB, free: 5.223 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003311/1.083, allocations: 171.7 kB / 1.145 GB, free: 5.027 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.047e-05/1.083, allocations: 32.84 kB / 1.145 GB, free: 4.992 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.174e-05/1.083, allocations: 0 / 1.145 GB, free: 4.992 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.308e-05/1.083, allocations: 42.5 kB / 1.145 GB, free: 4.941 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=7): time 1.312e-06/1.083, allocations: 0 / 1.145 GB, free: 4.941 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7): time 0.000373/1.084, allocations: 110.3 kB / 1.145 GB, free: 4.824 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.419e-05/1.084, allocations: 55.41 kB / 1.145 GB, free: 4.758 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002415/1.084, allocations: 181.5 kB / 1.146 GB, free: 4.574 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.162e-05/1.084, allocations: 25.7 kB / 1.146 GB, free: 4.543 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001337/1.084, allocations: 171.7 kB / 1.146 GB, free: 4.371 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.617e-05/1.084, allocations: 23.64 kB / 1.146 GB, free: 4.348 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.528e-06/1.084, allocations: 8 kB / 1.146 GB, free: 4.34 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.000169/1.085, allocations: 322.8 kB / 1.146 GB, free: 4.016 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.268e-05/1.085, allocations: 36 kB / 1.146 GB, free: 3.98 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001374/1.085, allocations: 97.27 kB / 1.146 GB, free: 3.855 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001282/1.085, allocations: 54.25 kB / 1.146 GB, free: 3.805 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.115e-06/1.085, allocations: 4 kB / 1.146 GB, free: 3.801 MB / 0.7448 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0004132/1.085, allocations: 182.3 kB / 1.146 GB, free: 3.613 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.531e-05/1.085, allocations: 8 kB / 1.146 GB, free: 3.605 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.217e-06/1.085, allocations: 0 / 1.146 GB, free: 3.605 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002154/1.086, allocations: 28.84 kB / 1.146 GB, free: 3.574 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001547/1.086, allocations: 27.92 kB / 1.147 GB, free: 3.547 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001497/1.087, allocations: 1.316 MB / 1.148 GB, free: 2.098 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001622/1.087, allocations: 15.84 kB / 1.148 GB, free: 2.082 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.67e-05/1.088, allocations: 8 kB / 1.148 GB, free: 2.074 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000123/1.088, allocations: 117.1 kB / 1.148 GB, free: 1.953 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.055e-05/1.088, allocations: 19.8 kB / 1.148 GB, free: 1.934 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.136e-05/1.088, allocations: 21.56 kB / 1.148 GB, free: 1.914 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/1.088, allocations: 0 / 1.148 GB, free: 1.914 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.262e-06/1.088, allocations: 3.953 kB / 1.148 GB, free: 1.91 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.418e-06/1.088, allocations: 2.812 kB / 1.148 GB, free: 1.91 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007234/1.089, allocations: 435.3 kB / 1.148 GB, free: 1.426 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.819e-06/1.089, allocations: 11.89 kB / 1.148 GB, free: 1.414 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.559e-05/1.089, allocations: 12 kB / 1.148 GB, free: 1.402 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.933e-05/1.089, allocations: 19.47 kB / 1.148 GB, free: 1.383 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.411e-05/1.089, allocations: 4 kB / 1.148 GB, free: 1.379 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001202/1.09, allocations: 1.312 MB / 1.15 GB, free: 15.93 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/1.09, allocations: 2.578 kB / 1.15 GB, free: 15.93 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002835/1.09, allocations: 208.2 kB / 1.15 GB, free: 15.71 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 8.898e-05/1.09, allocations: 96.88 kB / 1.15 GB, free: 15.6 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.681e-05/1.09, allocations: 12.09 kB / 1.15 GB, free: 15.59 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001446/1.091, allocations: 0 / 1.15 GB, free: 15.59 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.014e-05/1.091, allocations: 11.92 kB / 1.15 GB, free: 15.57 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.889e-06/1.091, allocations: 4 kB / 1.15 GB, free: 15.57 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0001783/1.091, allocations: 140.3 kB / 1.15 GB, free: 15.43 MB / 0.7605 GB Notification: Performance of sort global known variables: time 2.31e-07/1.091, allocations: 0 / 1.15 GB, free: 15.43 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0004842/1.091, allocations: 55.75 kB / 1.15 GB, free: 15.38 MB / 0.7605 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006965/1.092, allocations: 0.7444 MB / 1.151 GB, free: 14.61 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0004898/1.093, allocations: 206.9 kB / 1.151 GB, free: 14.39 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 6.512e-06/1.093, allocations: 8.125 kB / 1.151 GB, free: 14.38 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0002008/1.093, allocations: 146.5 kB / 1.151 GB, free: 14.23 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003874/1.093, allocations: 29.11 kB / 1.151 GB, free: 14.2 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008559/1.094, allocations: 269.1 kB / 1.152 GB, free: 13.89 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004363/1.095, allocations: 0.7556 MB / 1.152 GB, free: 13.11 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0001375/1.095, allocations: 23.75 kB / 1.152 GB, free: 13.09 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001039/1.095, allocations: 55.41 kB / 1.152 GB, free: 13.04 MB / 0.7605 GB Notification: Performance of SimCode: time 5.51e-07/1.095, allocations: 0 / 1.152 GB, free: 13.04 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01754/1.112, allocations: 3.351 MB / 1.156 GB, free: 9.941 MB / 0.7605 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003105/1.113, allocations: 180.5 kB / 1.156 GB, free: 9.719 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.657/2.77, allocations: 3.938 kB / 1.156 GB, free: 9.715 MB / 0.7605 GB (rm -f Buildings_maint.8.0.x_Buildings.Electrical.DC.Lines.Examples.Resistance.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.DC.Lines.Examples.Resistance.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.DC.Lines.Examples.Resistance.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.DC.Lines.Examples.Resistance.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Electrical_DC_Lines_Examples_Resistance_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Electrical_DC_Lines_Examples_Resistance.fmu > Buildings_maint.8.0.x_Buildings.Electrical.DC.Lines.Examples.Resistance.pipe 2>&1)