Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.DC.Sources.Examples.PVSimple.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.DC.Sources.Examples.PVSimple,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_DC_Sources_Examples_PVSimple",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.DC.Sources.Examples.PVSimple,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_DC_Sources_Examples_PVSimple",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.456/1.456, allocations: 249.5 MB / 257 MB, free: 6.879 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001139/0.001139, allocations: 176.9 kB / 316.3 MB, free: 3.219 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.462/1.462, allocations: 205.3 MB / 0.5671 GB, free: 15.85 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008361/0.0008361, allocations: 97.42 kB / 0.6714 GB, free: 4.977 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.723e-05/1.75e-05, allocations: 0 / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1845/0.1845, allocations: 106.3 MB / 0.8853 GB, free: 12.16 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.649/5.833, allocations: 2.224 GB / 3.109 GB, free: 141.4 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002356/5.833, allocations: 103.2 kB / 3.109 GB, free: 141.3 MB / 0.8698 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3-maint.7.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 7.0.3-maint.7.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.1503/5.984, allocations: 67.84 MB / 3.175 GB, free: 79.14 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.693e-06/5.984, allocations: 0 / 3.175 GB, free: 79.14 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0001473/5.984, allocations: 36 kB / 3.175 GB, free: 79.1 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 372 * Number of variables: 372 Notification: Performance of Generate backend data structure: time 0.003587/5.988, allocations: 1.556 MB / 3.177 GB, free: 77.49 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.405e-05/5.988, allocations: 12.03 kB / 3.177 GB, free: 77.48 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005237/5.993, allocations: 0.8059 MB / 3.178 GB, free: 76.67 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001888/5.995, allocations: 0.8921 MB / 3.179 GB, free: 75.73 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.996e-05/5.995, allocations: 48 kB / 3.179 GB, free: 75.68 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003419/5.995, allocations: 80 kB / 3.179 GB, free: 75.61 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002943/5.998, allocations: 1.844 MB / 3.181 GB, free: 73.76 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00256/6.001, allocations: 1.51 MB / 3.182 GB, free: 72.18 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3e-05/6.001, allocations: 3.938 kB / 3.182 GB, free: 72.17 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001726/6.001, allocations: 4 kB / 3.182 GB, free: 72.17 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.796e-05/6.001, allocations: 62.7 kB / 3.182 GB, free: 72.11 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00953/6.011, allocations: 5.884 MB / 3.188 GB, free: 66.02 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001732/6.012, allocations: 1.225 MB / 3.189 GB, free: 64.77 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000804/6.013, allocations: 0.573 MB / 3.19 GB, free: 64.2 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005563/6.014, allocations: 490.8 kB / 3.19 GB, free: 63.63 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009715/6.015, allocations: 0.7436 MB / 3.191 GB, free: 62.86 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=128): time 4.198e-06/6.015, allocations: 0 / 3.191 GB, free: 62.86 MB / 0.8698 GB Notification: Performance of matching and sorting (n=128): time 0.004526/6.019, allocations: 1.648 MB / 3.192 GB, free: 61.2 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.003e-05/6.019, allocations: 359.4 kB / 3.193 GB, free: 60.77 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00106/6.021, allocations: 0.6684 MB / 3.193 GB, free: 60.09 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001408/6.021, allocations: 25.7 kB / 3.193 GB, free: 60.05 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004711/6.021, allocations: 0.6011 MB / 3.194 GB, free: 59.44 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002953/6.021, allocations: 405.8 kB / 3.194 GB, free: 59.04 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.405e-05/6.022, allocations: 0 / 3.194 GB, free: 59.04 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 7.814e-05/6.022, allocations: 349.9 kB / 3.195 GB, free: 58.69 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006048/6.022, allocations: 434.5 kB / 3.195 GB, free: 58.27 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007338/6.023, allocations: 0.6311 MB / 3.196 GB, free: 57.57 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003121/6.026, allocations: 0.9784 MB / 3.197 GB, free: 56.6 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.562e-06/6.026, allocations: 0 / 3.197 GB, free: 56.6 MB / 0.8698 GB Notification: Performance of matching and sorting (n=148) (initialization): time 0.004493/6.031, allocations: 1.723 MB / 3.198 GB, free: 54.87 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002291/6.031, allocations: 1.056 MB / 3.199 GB, free: 53.73 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.528e-05/6.031, allocations: 8 kB / 3.199 GB, free: 53.72 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001861/6.031, allocations: 24.84 kB / 3.199 GB, free: 53.69 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00166/6.033, allocations: 331.5 kB / 3.2 GB, free: 53.37 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003765/6.033, allocations: 0.5406 MB / 3.2 GB, free: 52.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001675/6.035, allocations: 151.1 kB / 3.2 GB, free: 52.65 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001775/6.035, allocations: 59.95 kB / 3.2 GB, free: 52.59 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.545e-05/6.035, allocations: 9.516 kB / 3.2 GB, free: 52.59 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004156/6.039, allocations: 1.565 MB / 3.202 GB, free: 51.02 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.697e-06/6.039, allocations: 4 kB / 3.202 GB, free: 51.02 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.288e-05/6.039, allocations: 8 kB / 3.202 GB, free: 51.01 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001631/6.041, allocations: 335.8 kB / 3.202 GB, free: 50.68 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.038e-05/6.041, allocations: 8 kB / 3.202 GB, free: 50.67 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001445/6.042, allocations: 147 kB / 3.202 GB, free: 50.53 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001388/6.043, allocations: 55.95 kB / 3.203 GB, free: 50.47 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (147): * Single equations (assignments): 146 * 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: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.000354/6.043, allocations: 132.7 kB / 3.203 GB, free: 50.34 MB / 0.8698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.004375/6.047, allocations: 1.652 MB / 3.204 GB, free: 48.68 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003321/6.048, allocations: 114.8 kB / 3.204 GB, free: 48.56 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005082/6.053, allocations: 2.001 MB / 3.206 GB, free: 46.55 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.248e-05/6.053, allocations: 16.09 kB / 3.206 GB, free: 46.53 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.054e-05/6.053, allocations: 7.922 kB / 3.206 GB, free: 46.52 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.667e-05/6.053, allocations: 7.984 kB / 3.206 GB, free: 46.52 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00682/6.06, allocations: 3.672 MB / 3.21 GB, free: 42.77 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.374e-06/6.06, allocations: 0 / 3.21 GB, free: 42.77 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001524/6.061, allocations: 299.7 kB / 3.21 GB, free: 42.47 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001292/6.061, allocations: 28.84 kB / 3.21 GB, free: 42.44 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001074/6.062, allocations: 31.95 kB / 3.21 GB, free: 42.41 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006498/6.062, allocations: 1.229 MB / 3.212 GB, free: 41.07 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/6.062, allocations: 4.156 kB / 3.212 GB, free: 41.07 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004267/6.067, allocations: 1.898 MB / 3.213 GB, free: 39.11 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000679/6.067, allocations: 407.1 kB / 3.214 GB, free: 38.69 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003108/6.068, allocations: 4 kB / 3.214 GB, free: 38.69 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001378/6.069, allocations: 107.9 kB / 3.214 GB, free: 38.58 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001429/6.069, allocations: 93.19 kB / 3.214 GB, free: 38.49 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001028/6.069, allocations: 51.95 kB / 3.214 GB, free: 38.44 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0007097/6.07, allocations: 0.5381 MB / 3.215 GB, free: 37.91 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.51e-07/6.07, allocations: 3.938 kB / 3.215 GB, free: 37.9 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.002014/6.072, allocations: 0.6809 MB / 3.215 GB, free: 37.22 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (142): * Single equations (assignments): 139 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.0055/6.077, allocations: 3.153 MB / 3.218 GB, free: 34.1 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.002609/6.08, allocations: 1.823 MB / 3.22 GB, free: 32.28 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 4.298e-06/6.08, allocations: 0 / 3.22 GB, free: 32.28 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0009063/6.081, allocations: 0.7342 MB / 3.221 GB, free: 31.54 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001348/6.082, allocations: 266.8 kB / 3.221 GB, free: 31.29 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004261/6.087, allocations: 2.2 MB / 3.223 GB, free: 29.03 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006624/6.087, allocations: 1.27 MB / 3.224 GB, free: 27.73 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.002705/6.09, allocations: 0.61 MB / 3.225 GB, free: 27.11 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007519/6.091, allocations: 0.5578 MB / 3.226 GB, free: 26.55 MB / 0.8698 GB Notification: Performance of SimCode: time 3.91e-07/6.091, allocations: 4 kB / 3.226 GB, free: 26.55 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4655/6.556, allocations: 29 MB / 3.254 GB, free: 271.8 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001636/6.557, allocations: 176.3 kB / 3.254 GB, free: 271.6 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.76/9.317, allocations: 2.406 kB / 3.254 GB, free: 271.6 MB / 0.8698 GB (rm -f Buildings_maint.7.0.x_Buildings.Electrical.DC.Sources.Examples.PVSimple.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.DC.Sources.Examples.PVSimple.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.DC.Sources.Examples.PVSimple.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.DC.Sources.Examples.PVSimple.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Electrical_DC_Sources_Examples_PVSimple_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Electrical_DC_Sources_Examples_PVSimple.fmu > Buildings_maint.7.0.x_Buildings.Electrical.DC.Sources.Examples.PVSimple.pipe 2>&1)