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.543/1.543, allocations: 249.3 MB / 261.8 MB, free: 5.961 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.001277/0.001278, allocations: 180.8 kB / 321.3 MB, free: 14.66 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.778/1.778, allocations: 205.2 MB / 0.572 GB, free: 10.69 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.001005/0.001005, allocations: 103 kB / 0.6764 GB, free: 15.66 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.535e-05/3.539e-05, allocations: 4 kB / 0.788 GB, free: 97.02 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2428/0.2428, allocations: 106.3 MB / 0.8919 GB, free: 6.582 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.361/6.604, allocations: 2.223 GB / 3.115 GB, free: 106.4 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002669/6.604, allocations: 95.62 kB / 3.115 GB, free: 106.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.1501/6.754, allocations: 68.28 MB / 3.182 GB, free: 40.26 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.994e-06/6.754, allocations: 0 / 3.182 GB, free: 40.26 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0001041/6.754, allocations: 32 kB / 3.182 GB, free: 40.23 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.002817/6.757, allocations: 1.556 MB / 3.184 GB, free: 38.61 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.711e-05/6.757, allocations: 12.03 kB / 3.184 GB, free: 38.6 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002311/6.757, allocations: 211.7 kB / 3.184 GB, free: 38.38 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004963/6.762, allocations: 0.8017 MB / 3.185 GB, free: 37.58 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001751/6.764, allocations: 0.896 MB / 3.186 GB, free: 36.64 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.373e-05/6.764, allocations: 106.9 kB / 3.186 GB, free: 36.54 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001873/6.764, allocations: 144 kB / 3.186 GB, free: 36.39 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002685/6.767, allocations: 1.708 MB / 3.187 GB, free: 34.61 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.056e-05/6.767, allocations: 4 kB / 3.187 GB, free: 34.61 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001456/6.767, allocations: 56 kB / 3.187 GB, free: 34.55 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.585e-05/6.767, allocations: 66.75 kB / 3.188 GB, free: 34.49 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002673/6.77, allocations: 1.943 MB / 3.189 GB, free: 32.54 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009478/6.779, allocations: 6.137 MB / 3.195 GB, free: 26.18 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001909/6.781, allocations: 1.302 MB / 3.197 GB, free: 24.86 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009134/6.782, allocations: 0.6112 MB / 3.197 GB, free: 24.25 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006206/6.783, allocations: 490.6 kB / 3.198 GB, free: 23.68 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00108/6.784, allocations: 0.7885 MB / 3.199 GB, free: 22.86 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=128): time 4.238e-06/6.784, allocations: 0 / 3.199 GB, free: 22.86 MB / 0.8698 GB Notification: Performance of matching and sorting (n=128): time 0.002189/6.786, allocations: 1.227 MB / 3.2 GB, free: 21.63 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.155e-05/6.786, allocations: 359.2 kB / 3.2 GB, free: 21.2 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009963/6.787, allocations: 0.7668 MB / 3.201 GB, free: 20.41 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001104/6.787, allocations: 53.7 kB / 3.201 GB, free: 20.35 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004047/6.788, allocations: 0.5935 MB / 3.201 GB, free: 19.75 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002562/6.788, allocations: 417.9 kB / 3.202 GB, free: 19.33 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.591e-05/6.788, allocations: 28 kB / 3.202 GB, free: 19.3 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 8.099e-05/6.788, allocations: 349.9 kB / 3.202 GB, free: 18.96 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006611/6.789, allocations: 462.5 kB / 3.203 GB, free: 18.5 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008123/6.79, allocations: 0.661 MB / 3.203 GB, free: 17.78 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007592/6.791, allocations: 0.5203 MB / 3.204 GB, free: 17.26 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.328e-06/6.791, allocations: 0 / 3.204 GB, free: 17.26 MB / 0.8698 GB Notification: Performance of matching and sorting (n=148) (initialization): time 0.002106/6.793, allocations: 1.332 MB / 3.205 GB, free: 15.92 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002128/6.793, allocations: 1.053 MB / 3.206 GB, free: 14.79 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.117e-05/6.793, allocations: 3.938 kB / 3.206 GB, free: 14.78 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002018/6.793, allocations: 36.83 kB / 3.206 GB, free: 14.74 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001685/6.795, allocations: 327.5 kB / 3.206 GB, free: 14.42 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003081/6.795, allocations: 0.5483 MB / 3.207 GB, free: 13.85 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001499/6.797, allocations: 186.9 kB / 3.207 GB, free: 13.66 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001251/6.797, allocations: 55.95 kB / 3.207 GB, free: 13.61 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.26e-05/6.797, allocations: 4 kB / 3.207 GB, free: 13.61 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001899/6.799, allocations: 1.194 MB / 3.208 GB, free: 12.41 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.294e-06/6.799, allocations: 4.344 kB / 3.208 GB, free: 12.41 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.199e-05/6.799, allocations: 12 kB / 3.208 GB, free: 12.39 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001581/6.8, allocations: 331.5 kB / 3.209 GB, free: 12.07 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.16e-05/6.8, allocations: 8 kB / 3.209 GB, free: 12.06 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00141/6.802, allocations: 178.9 kB / 3.209 GB, free: 11.89 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001086/6.802, allocations: 55.95 kB / 3.209 GB, free: 11.83 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.0003505/6.802, allocations: 180.6 kB / 3.209 GB, free: 11.65 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002416/6.803, allocations: 122.5 kB / 3.209 GB, free: 11.53 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003038/6.806, allocations: 1.634 MB / 3.211 GB, free: 9.879 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.186e-05/6.806, allocations: 12 kB / 3.211 GB, free: 9.867 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.997e-06/6.806, allocations: 4 kB / 3.211 GB, free: 9.863 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.678e-05/6.806, allocations: 7.969 kB / 3.211 GB, free: 9.855 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004513/6.81, allocations: 3.464 MB / 3.214 GB, free: 6.301 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.544e-06/6.81, allocations: 7.984 kB / 3.214 GB, free: 6.293 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00153/6.812, allocations: 299.7 kB / 3.215 GB, free: 6 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001418/6.812, allocations: 28.84 kB / 3.215 GB, free: 5.969 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001056/6.812, allocations: 43.97 kB / 3.215 GB, free: 5.926 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000775/6.813, allocations: 1.28 MB / 3.216 GB, free: 4.516 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/6.813, allocations: 4.062 kB / 3.216 GB, free: 4.512 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002347/6.815, allocations: 1.501 MB / 3.217 GB, free: 2.957 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000628/6.816, allocations: 414.9 kB / 3.218 GB, free: 2.531 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000222/6.816, allocations: 35.92 kB / 3.218 GB, free: 2.496 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001367/6.817, allocations: 131.9 kB / 3.218 GB, free: 2.367 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001924/6.818, allocations: 89.19 kB / 3.218 GB, free: 2.277 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001193/6.818, allocations: 51.91 kB / 3.218 GB, free: 2.227 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0009915/6.819, allocations: 0.6373 MB / 3.219 GB, free: 1.574 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.61e-07/6.819, allocations: 0 / 3.219 GB, free: 1.574 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.002123/6.821, allocations: 0.732 MB / 3.219 GB, free: 0.8398 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.5723/7.393, allocations: 2.784 MB / 3.222 GB, free: 272.7 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.00391/7.397, allocations: 1.925 MB / 3.224 GB, free: 272.7 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 7.925e-06/7.397, allocations: 1.062 kB / 3.224 GB, free: 272.7 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.001387/7.399, allocations: 0.7738 MB / 3.225 GB, free: 272.6 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001647/7.4, allocations: 293.6 kB / 3.225 GB, free: 272.6 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005382/7.406, allocations: 2.341 MB / 3.227 GB, free: 272 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001137/7.407, allocations: 1.263 MB / 3.229 GB, free: 271.3 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.003366/7.41, allocations: 0.6174 MB / 3.229 GB, free: 271.3 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00102/7.411, allocations: 0.5582 MB / 3.23 GB, free: 271.3 MB / 0.8698 GB Notification: Performance of SimCode: time 1.182e-06/7.411, allocations: 0 / 3.23 GB, free: 271.3 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08064/7.492, allocations: 30.99 MB / 3.26 GB, free: 269.5 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001795/7.492, allocations: 230.1 kB / 3.26 GB, free: 269.2 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.169/10.66, allocations: 9.875 kB / 3.26 GB, free: 269.2 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)