Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.DC.Loads.Examples.Resistor.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.Loads.Examples.Resistor,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Electrical_DC_Loads_Examples_Resistor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.DC.Loads.Examples.Resistor,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Electrical_DC_Loads_Examples_Resistor",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.769/1.769, allocations: 288.2 MB / 303.2 MB, free: 8.242 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.001364/0.001364, allocations: 189 kB / 371.8 MB, free: 10.28 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.944/1.944, allocations: 205.4 MB / 0.6305 GB, free: 10 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009323/0.0009324, allocations: 105.1 kB / 0.7439 GB, free: 5.918 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005231/0.0005231, allocations: 15.39 kB / 0.8669 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2099/0.2104, allocations: 115.3 MB / 0.9795 GB, free: 27.62 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6881/0.8985, allocations: 164.2 MB / 1.14 GB, free: 13.86 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000314/0.8989, allocations: 95.88 kB / 1.14 GB, free: 13.85 MB / 0.6823 GB [/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/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/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.03557/0.9345, allocations: 16.19 MB / 1.156 GB, free: 20.73 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.513e-06/0.9345, allocations: 0 / 1.156 GB, free: 20.73 MB / 0.698 GB Notification: Performance of Transformations before backend: time 2.419e-05/0.9345, allocations: 8 kB / 1.156 GB, free: 20.72 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 78 * Number of variables: 78 Notification: Performance of Generate backend data structure: time 0.0009875/0.9355, allocations: 0.5843 MB / 1.156 GB, free: 20.11 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.011e-05/0.9356, allocations: 12.02 kB / 1.156 GB, free: 20.1 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001141/0.9357, allocations: 73.14 kB / 1.156 GB, free: 20.04 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001051/0.9368, allocations: 139.5 kB / 1.157 GB, free: 19.9 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004566/0.9372, allocations: 285.2 kB / 1.157 GB, free: 19.6 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.126e-05/0.9373, allocations: 26.89 kB / 1.157 GB, free: 19.58 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.815e-05/0.9373, allocations: 25.31 kB / 1.157 GB, free: 19.56 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005696/0.9379, allocations: 459.9 kB / 1.157 GB, free: 19.2 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.329e-05/0.9379, allocations: 0 / 1.157 GB, free: 19.2 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.438e-05/0.9379, allocations: 9.688 kB / 1.157 GB, free: 19.19 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.571e-05/0.938, allocations: 23.73 kB / 1.157 GB, free: 19.17 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004283/0.9384, allocations: 319.1 kB / 1.158 GB, free: 18.96 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002106/0.9405, allocations: 2.19 MB / 1.16 GB, free: 16.75 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000339/0.9409, allocations: 254.6 kB / 1.16 GB, free: 16.52 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.25e-05/0.9409, allocations: 0 / 1.16 GB, free: 16.52 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.237e-05/0.9409, allocations: 34.56 kB / 1.16 GB, free: 16.48 MB / 0.698 GB Notification: Performance of pre-optimization done (n=14): time 1.183e-06/0.941, allocations: 0 / 1.16 GB, free: 16.48 MB / 0.698 GB Notification: Performance of matching and sorting (n=14): time 0.0006004/0.9416, allocations: 316.7 kB / 1.16 GB, free: 16.19 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.168e-05/0.9416, allocations: 55.41 kB / 1.16 GB, free: 16.12 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002413/0.9419, allocations: 233.4 kB / 1.161 GB, free: 15.93 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.052e-05/0.9419, allocations: 29.45 kB / 1.161 GB, free: 15.9 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 9.582e-05/0.942, allocations: 211.5 kB / 1.161 GB, free: 15.72 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.932e-05/0.942, allocations: 43.17 kB / 1.161 GB, free: 15.69 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.376e-06/0.942, allocations: 4 kB / 1.161 GB, free: 15.68 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.000138/0.9422, allocations: 342.4 kB / 1.161 GB, free: 15.35 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001181/0.9423, allocations: 57.12 kB / 1.161 GB, free: 15.31 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001261/0.9424, allocations: 146.5 kB / 1.161 GB, free: 15.16 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001195/0.9426, allocations: 80.78 kB / 1.161 GB, free: 15.11 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.9426, allocations: 0 / 1.161 GB, free: 15.11 MB / 0.698 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0003842/0.943, allocations: 275.6 kB / 1.162 GB, free: 14.89 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.799e-05/0.943, allocations: 4 kB / 1.162 GB, free: 14.88 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.123e-06/0.943, allocations: 4 kB / 1.162 GB, free: 14.88 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001683/0.9432, allocations: 27.84 kB / 1.162 GB, free: 14.85 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001978/0.9434, allocations: 47.52 kB / 1.162 GB, free: 14.81 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001056/0.9445, allocations: 1.327 MB / 1.163 GB, free: 13.41 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001853/0.9447, allocations: 39.59 kB / 1.163 GB, free: 13.37 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.591e-05/0.9447, allocations: 11.95 kB / 1.163 GB, free: 13.36 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (27): * Single equations (assignments): 26 * 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.0001866/0.9449, allocations: 166.7 kB / 1.163 GB, free: 13.21 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.404e-05/0.9449, allocations: 23.72 kB / 1.163 GB, free: 13.18 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.878e-05/0.945, allocations: 27.78 kB / 1.163 GB, free: 13.16 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.945, allocations: 0 / 1.163 GB, free: 13.16 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.883e-06/0.945, allocations: 3.984 kB / 1.163 GB, free: 13.16 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/0.945, allocations: 0 / 1.163 GB, free: 13.16 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008915/0.9459, allocations: 0.634 MB / 1.164 GB, free: 12.56 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.667e-06/0.9459, allocations: 4 kB / 1.164 GB, free: 12.55 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001038/0.946, allocations: 23.98 kB / 1.164 GB, free: 12.53 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.107e-05/0.9461, allocations: 32.42 kB / 1.164 GB, free: 12.5 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.313e-05/0.9462, allocations: 3 kB / 1.164 GB, free: 12.5 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001063/0.9472, allocations: 1.326 MB / 1.165 GB, free: 11.09 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.699e-06/0.9473, allocations: 3.938 kB / 1.165 GB, free: 11.09 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004441/0.9477, allocations: 346.6 kB / 1.166 GB, free: 10.74 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001496/0.9479, allocations: 115.8 kB / 1.166 GB, free: 10.62 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.828e-05/0.9479, allocations: 3.953 kB / 1.166 GB, free: 10.61 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001728/0.9481, allocations: 11.94 kB / 1.166 GB, free: 10.61 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.471e-05/0.9481, allocations: 15.92 kB / 1.166 GB, free: 10.59 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.771e-05/0.9482, allocations: 11.75 kB / 1.166 GB, free: 10.58 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0002082/0.9484, allocations: 186.2 kB / 1.166 GB, free: 10.43 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.6e-07/0.9484, allocations: 0 / 1.166 GB, free: 10.43 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.00045/0.9488, allocations: 79.44 kB / 1.166 GB, free: 10.36 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 12 * 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.000777/0.9496, allocations: 1.161 MB / 1.167 GB, free: 9.188 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0005246/0.9502, allocations: 277.4 kB / 1.167 GB, free: 8.945 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.577e-06/0.9502, allocations: 0 / 1.167 GB, free: 8.945 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002808/0.9505, allocations: 185.4 kB / 1.168 GB, free: 8.77 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003998/0.9509, allocations: 54.47 kB / 1.168 GB, free: 8.73 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00291/0.9538, allocations: 3.172 MB / 1.171 GB, free: 5.66 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004701/0.9543, allocations: 0.797 MB / 1.172 GB, free: 4.848 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001858/0.9545, allocations: 50.23 kB / 1.172 GB, free: 4.801 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001005/0.9546, allocations: 76.05 kB / 1.172 GB, free: 4.777 MB / 0.698 GB Notification: Performance of SimCode: time 2.5e-07/0.9546, allocations: 0 / 1.172 GB, free: 4.777 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01698/0.9716, allocations: 4.861 MB / 1.176 GB, free: 100 kB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002017/0.9718, allocations: 206.5 kB / 1.177 GB, free: 15.86 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.681/2.652, allocations: 0 / 1.177 GB, free: 15.86 MB / 0.7136 GB (rm -f Buildings_maint.8.0.x_Buildings.Electrical.DC.Loads.Examples.Resistor.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.DC.Loads.Examples.Resistor.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.DC.Loads.Examples.Resistor.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.DC.Loads.Examples.Resistor.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Electrical_DC_Loads_Examples_Resistor_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Electrical_DC_Loads_Examples_Resistor.fmu > Buildings_maint.8.0.x_Buildings.Electrical.DC.Loads.Examples.Resistor.pipe 2>&1)