Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.DC.Loads.Examples.Resistor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.DC.Loads.Examples.Resistor,fileNamePrefix="Buildings_8_Buildings_Electrical_DC_Loads_Examples_Resistor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.DC.Loads.Examples.Resistor,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.702/1.702, allocations: 292.6 MB / 307.5 MB, free: 5.191 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.001871/0.001871, allocations: 189 kB / 377.1 MB, free: 1.531 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.663/1.663, allocations: 205.4 MB / 0.6366 GB, free: 9.523 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.0008811/0.0008809, allocations: 91.22 kB / 0.7509 GB, free: 62.53 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003276/0.0003276, allocations: 8 kB / 0.8749 GB, free: 11.23 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.29/0.2903, allocations: 116.3 MB / 0.9884 GB, free: 6.773 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7055/0.9959, allocations: 165.2 MB / 1.15 GB, free: 14.87 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002707/0.9962, allocations: 100.3 kB / 1.15 GB, free: 14.79 MB / 0.7292 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4-maint.8.1.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.1.4-maint.8.1.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.03542/1.032, allocations: 16.2 MB / 1.166 GB, free: 1.055 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.184e-06/1.032, allocations: 0 / 1.166 GB, free: 1.055 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 1.592e-05/1.032, allocations: 11.94 kB / 1.166 GB, free: 1.043 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: 78 * Number of variables: 78 Notification: Performance of Generate backend data structure: time 0.0007463/1.032, allocations: 0.5822 MB / 1.166 GB, free: 428 kB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.96e-05/1.032, allocations: 16.02 kB / 1.166 GB, free: 412 kB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.708e-05/1.033, allocations: 70.52 kB / 1.166 GB, free: 332 kB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009719/1.034, allocations: 138.3 kB / 1.166 GB, free: 196 kB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004493/1.034, allocations: 286.4 kB / 1.167 GB, free: 15.87 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.91e-05/1.034, allocations: 24.64 kB / 1.167 GB, free: 15.85 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.703e-05/1.034, allocations: 29.2 kB / 1.167 GB, free: 15.82 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006854/1.035, allocations: 451.6 kB / 1.167 GB, free: 15.34 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.44e-05/1.035, allocations: 3.938 kB / 1.167 GB, free: 15.34 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.832e-05/1.035, allocations: 16 kB / 1.167 GB, free: 15.32 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.495e-05/1.035, allocations: 30.2 kB / 1.167 GB, free: 15.3 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004755/1.035, allocations: 314 kB / 1.168 GB, free: 14.99 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002261/1.038, allocations: 2.186 MB / 1.17 GB, free: 12.59 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003849/1.038, allocations: 255.8 kB / 1.17 GB, free: 12.32 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.264e-05/1.038, allocations: 0 / 1.17 GB, free: 12.32 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.777e-05/1.038, allocations: 38.56 kB / 1.17 GB, free: 12.27 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=14): time 1.242e-06/1.038, allocations: 0 / 1.17 GB, free: 12.27 MB / 0.7448 GB Notification: Performance of matching and sorting (n=14): time 0.0006103/1.039, allocations: 311.5 kB / 1.17 GB, free: 11.94 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.859e-05/1.039, allocations: 55.41 kB / 1.17 GB, free: 11.87 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002656/1.039, allocations: 233.8 kB / 1.171 GB, free: 11.64 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.856e-05/1.039, allocations: 33.7 kB / 1.171 GB, free: 11.6 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001289/1.039, allocations: 207.7 kB / 1.171 GB, free: 11.39 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 4.739e-05/1.039, allocations: 47.36 kB / 1.171 GB, free: 11.34 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.518e-06/1.039, allocations: 4 kB / 1.171 GB, free: 11.34 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001371/1.039, allocations: 334.8 kB / 1.171 GB, free: 11 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.901e-05/1.04, allocations: 60.44 kB / 1.171 GB, free: 10.95 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001665/1.04, allocations: 139.2 kB / 1.171 GB, free: 10.77 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001418/1.04, allocations: 87.84 kB / 1.171 GB, free: 10.69 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.008e-06/1.04, allocations: 4 kB / 1.171 GB, free: 10.68 MB / 0.7448 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0004156/1.04, allocations: 268 kB / 1.172 GB, free: 10.41 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.111e-05/1.04, allocations: 8 kB / 1.172 GB, free: 10.41 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.237e-06/1.04, allocations: 4 kB / 1.172 GB, free: 10.4 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001732/1.041, allocations: 28.78 kB / 1.172 GB, free: 10.37 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002087/1.041, allocations: 49.16 kB / 1.172 GB, free: 10.32 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001186/1.042, allocations: 1.327 MB / 1.173 GB, free: 8.867 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001684/1.042, allocations: 24.75 kB / 1.173 GB, free: 8.844 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.854e-05/1.042, allocations: 12.2 kB / 1.173 GB, free: 8.832 MB / 0.7448 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.0001782/1.042, allocations: 173.7 kB / 1.173 GB, free: 8.652 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.802e-05/1.042, allocations: 23.72 kB / 1.173 GB, free: 8.629 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.132e-05/1.042, allocations: 25.84 kB / 1.173 GB, free: 8.602 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.316e-06/1.042, allocations: 3.984 kB / 1.173 GB, free: 8.598 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/1.042, allocations: 4 kB / 1.173 GB, free: 8.594 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/1.042, allocations: 0 / 1.173 GB, free: 8.594 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008447/1.043, allocations: 0.6313 MB / 1.174 GB, free: 7.891 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.122e-06/1.043, allocations: 4.812 kB / 1.174 GB, free: 7.887 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001105/1.043, allocations: 23.92 kB / 1.174 GB, free: 7.863 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.152e-05/1.044, allocations: 28.8 kB / 1.174 GB, free: 7.832 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.034e-05/1.044, allocations: 0 / 1.174 GB, free: 7.832 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001021/1.045, allocations: 1.334 MB / 1.175 GB, free: 6.363 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/1.045, allocations: 4.281 kB / 1.175 GB, free: 6.359 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004217/1.045, allocations: 350.4 kB / 1.176 GB, free: 5.961 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001187/1.045, allocations: 112.8 kB / 1.176 GB, free: 5.832 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.837e-05/1.045, allocations: 11.95 kB / 1.176 GB, free: 5.82 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000158/1.045, allocations: 4 kB / 1.176 GB, free: 5.816 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.909e-05/1.045, allocations: 15.98 kB / 1.176 GB, free: 5.801 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.092e-05/1.045, allocations: 4 kB / 1.176 GB, free: 5.797 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0001992/1.046, allocations: 197.9 kB / 1.176 GB, free: 5.605 MB / 0.7448 GB Notification: Performance of sort global known variables: time 2.31e-07/1.046, allocations: 0 / 1.176 GB, free: 5.605 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0003766/1.046, allocations: 79.75 kB / 1.176 GB, free: 5.527 MB / 0.7448 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.0007546/1.047, allocations: 1.158 MB / 1.177 GB, free: 4.312 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0004687/1.047, allocations: 281.9 kB / 1.177 GB, free: 4.027 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.975e-06/1.047, allocations: 0 / 1.177 GB, free: 4.027 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0002116/1.048, allocations: 179.1 kB / 1.178 GB, free: 3.84 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003492/1.048, allocations: 54.08 kB / 1.178 GB, free: 3.785 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00261/1.051, allocations: 3.172 MB / 1.181 GB, free: 0.5039 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003912/1.051, allocations: 0.7989 MB / 1.181 GB, free: 15.68 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0001725/1.051, allocations: 47.89 kB / 1.182 GB, free: 15.64 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001301/1.051, allocations: 83.41 kB / 1.182 GB, free: 15.56 MB / 0.7605 GB Notification: Performance of SimCode: time 3.31e-07/1.051, allocations: 0 / 1.182 GB, free: 15.56 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02002/1.071, allocations: 4.841 MB / 1.186 GB, free: 10.93 MB / 0.7605 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000198/1.072, allocations: 190.5 kB / 1.187 GB, free: 10.69 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.889/2.961, allocations: 0 / 1.187 GB, free: 10.69 MB / 0.7605 GB (rm -f Buildings_8_Buildings.Electrical.DC.Loads.Examples.Resistor.pipe ; mkfifo Buildings_8_Buildings.Electrical.DC.Loads.Examples.Resistor.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.DC.Loads.Examples.Resistor.pipe >> ../files/Buildings_8_Buildings.Electrical.DC.Loads.Examples.Resistor.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Electrical_DC_Loads_Examples_Resistor_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Electrical_DC_Loads_Examples_Resistor.fmu > Buildings_8_Buildings.Electrical.DC.Loads.Examples.Resistor.pipe 2>&1)