Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.DC.Sources.Examples.PVSimpleOriented.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.PVSimpleOriented,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_DC_Sources_Examples_PVSimpleOriented",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.DC.Sources.Examples.PVSimpleOriented,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_DC_Sources_Examples_PVSimpleOriented",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.561/1.561, allocations: 251.9 MB / 266.9 MB, free: 10.98 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00136/0.00136, allocations: 179.4 kB / 326.5 MB, free: 2.238 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.011/2.011, allocations: 205.4 MB / 0.5775 GB, free: 20.26 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.001022/0.001022, allocations: 98.3 kB / 0.6821 GB, free: 12.9 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003866/0.0003867, allocations: 9.938 kB / 0.7963 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2695/0.2699, allocations: 106.3 MB / 0.9002 GB, free: 63.83 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Sources.Examples.PVSimpleOriented): time 0.008826/0.2788, allocations: 6.972 MB / 0.907 GB, free: 56.83 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.1568/0.4356, allocations: 128.8 MB / 1.033 GB, free: 7.688 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001517/0.4372, allocations: 31.81 kB / 1.033 GB, free: 7.656 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0007103/0.438, allocations: 138.8 kB / 1.033 GB, free: 7.52 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.002546/0.4405, allocations: 0.659 MB / 1.034 GB, free: 6.863 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.002733/0.4433, allocations: 0.8481 MB / 1.034 GB, free: 6.02 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.002519/0.4458, allocations: 1.248 MB / 1.036 GB, free: 4.766 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002263/0.4481, allocations: 1.389 MB / 1.037 GB, free: 3.328 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001161/0.4492, allocations: 0.5873 MB / 1.038 GB, free: 2.738 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009522/0.4502, allocations: 0.5946 MB / 1.038 GB, free: 2.141 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0001317/0.4503, allocations: 51.94 kB / 1.038 GB, free: 2.09 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001023/0.4514, allocations: 331.5 kB / 1.038 GB, free: 1.766 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.000337/0.4517, allocations: 322.7 kB / 1.039 GB, free: 1.449 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0004065/0.4521, allocations: 332.8 kB / 1.039 GB, free: 1.117 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.002508/0.4547, allocations: 2.21 MB / 1.041 GB, free: 14.9 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.4547, allocations: 0 / 1.041 GB, free: 14.9 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.944e-06/0.4547, allocations: 0 / 1.041 GB, free: 14.9 MB / 0.698 GB Notification: Performance of Transformations before backend: time 3.839e-05/0.4547, allocations: 0 / 1.041 GB, free: 14.9 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: 435 * Number of variables: 435 Notification: Performance of Generate backend data structure: time 0.003836/0.4586, allocations: 1.79 MB / 1.043 GB, free: 13.05 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.943e-05/0.4586, allocations: 12.03 kB / 1.043 GB, free: 13.04 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003441/0.459, allocations: 249 kB / 1.043 GB, free: 12.79 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006065/0.4651, allocations: 0.9536 MB / 1.044 GB, free: 11.83 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002002/0.4671, allocations: 1.087 MB / 1.045 GB, free: 10.7 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000103/0.4672, allocations: 123.4 kB / 1.045 GB, free: 10.58 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002488/0.4675, allocations: 171.9 kB / 1.046 GB, free: 10.41 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004661/0.4721, allocations: 2.171 MB / 1.048 GB, free: 8.168 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.612e-05/0.4722, allocations: 0 / 1.048 GB, free: 8.168 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001788/0.4724, allocations: 68 kB / 1.048 GB, free: 8.102 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.626e-05/0.4725, allocations: 79.17 kB / 1.048 GB, free: 8.023 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006835/0.4793, allocations: 2.522 MB / 1.05 GB, free: 5.496 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5176/0.9969, allocations: 6.986 MB / 1.057 GB, free: 149.9 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004586/1.002, allocations: 1.601 MB / 1.059 GB, free: 149.9 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006607/1.002, allocations: 496.4 kB / 1.059 GB, free: 149.4 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002072/1.004, allocations: 0.9213 MB / 1.06 GB, free: 149.3 MB / 0.698 GB Notification: Performance of pre-optimization done (n=128): time 3.317e-06/1.004, allocations: 0 / 1.06 GB, free: 149.3 MB / 0.698 GB Notification: Performance of matching and sorting (n=128): time 0.00608/1.01, allocations: 2.207 MB / 1.062 GB, free: 149.1 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001081/1.011, allocations: 302.1 kB / 1.062 GB, free: 148.8 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001294/1.012, allocations: 0.8495 MB / 1.063 GB, free: 148.7 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001258/1.012, allocations: 50.77 kB / 1.063 GB, free: 148.6 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006339/1.013, allocations: 0.6727 MB / 1.064 GB, free: 148.3 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003707/1.013, allocations: 426.3 kB / 1.064 GB, free: 148.1 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.913e-05/1.013, allocations: 21.38 kB / 1.064 GB, free: 148.1 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001218/1.013, allocations: 349.5 kB / 1.065 GB, free: 147.8 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001722/1.015, allocations: 0.5904 MB / 1.065 GB, free: 147.8 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002015/1.017, allocations: 0.8092 MB / 1.066 GB, free: 147.6 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001998/1.019, allocations: 0.6644 MB / 1.067 GB, free: 147.5 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.995e-06/1.019, allocations: 2 kB / 1.067 GB, free: 147.5 MB / 0.698 GB Notification: Performance of matching and sorting (n=149) (initialization): time 0.004902/1.024, allocations: 1.626 MB / 1.068 GB, free: 147.4 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003693/1.024, allocations: 1.496 MB / 1.07 GB, free: 145.8 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.418e-05/1.024, allocations: 4.234 kB / 1.07 GB, free: 145.8 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002506/1.025, allocations: 32.47 kB / 1.07 GB, free: 145.8 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001868/1.027, allocations: 330.2 kB / 1.07 GB, free: 145.8 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009836/1.028, allocations: 1.297 MB / 1.071 GB, free: 144.5 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00169/1.029, allocations: 195.8 kB / 1.072 GB, free: 144.4 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001392/1.029, allocations: 54.67 kB / 1.072 GB, free: 144.4 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.53e-05/1.029, allocations: 3.688 kB / 1.072 GB, free: 144.4 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00458/1.034, allocations: 1.485 MB / 1.073 GB, free: 144.4 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.733e-05/1.034, allocations: 4.188 kB / 1.073 GB, free: 144.4 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.939e-05/1.034, allocations: 13.23 kB / 1.073 GB, free: 144.4 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001797/1.036, allocations: 334 kB / 1.073 GB, free: 144.3 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.902e-05/1.036, allocations: 10.22 kB / 1.073 GB, free: 144.3 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001625/1.038, allocations: 182.9 kB / 1.074 GB, free: 144.3 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001436/1.038, allocations: 55.16 kB / 1.074 GB, free: 144.3 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (148): * Single equations (assignments): 147 * 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.001221/1.039, allocations: 483.3 kB / 1.074 GB, free: 144.1 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003151/1.039, allocations: 123.4 kB / 1.074 GB, free: 144 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005587/1.045, allocations: 1.895 MB / 1.076 GB, free: 143.8 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.028e-05/1.045, allocations: 18.94 kB / 1.076 GB, free: 143.8 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/1.045, allocations: 5.922 kB / 1.076 GB, free: 143.8 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.273e-05/1.045, allocations: 6.938 kB / 1.076 GB, free: 143.8 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007546/1.052, allocations: 3.75 MB / 1.08 GB, free: 142.6 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.075e-06/1.053, allocations: 1.094 kB / 1.08 GB, free: 142.6 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001568/1.054, allocations: 303.7 kB / 1.08 GB, free: 142.6 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00013/1.054, allocations: 28.23 kB / 1.08 GB, free: 142.6 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001009/1.054, allocations: 39.53 kB / 1.08 GB, free: 142.5 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007046/1.055, allocations: 1.278 MB / 1.081 GB, free: 141.2 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/1.055, allocations: 1.094 kB / 1.081 GB, free: 141.2 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004213/1.059, allocations: 1.748 MB / 1.083 GB, free: 140.4 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007712/1.06, allocations: 425.4 kB / 1.084 GB, free: 140.1 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002067/1.06, allocations: 23.94 kB / 1.084 GB, free: 140.1 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001245/1.062, allocations: 138 kB / 1.084 GB, free: 140.1 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001717/1.062, allocations: 93.23 kB / 1.084 GB, free: 140.1 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001032/1.062, allocations: 54.59 kB / 1.084 GB, free: 140.1 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.000871/1.063, allocations: 0.5824 MB / 1.084 GB, free: 139.8 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.5e-07/1.063, allocations: 1.641 kB / 1.084 GB, free: 139.8 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.002873/1.066, allocations: 0.7472 MB / 1.085 GB, free: 139.6 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (141): * Single equations (assignments): 138 * 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.00933/1.075, allocations: 2.927 MB / 1.088 GB, free: 138 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.01011/1.085, allocations: 2.413 MB / 1.09 GB, free: 136.9 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.356e-05/1.085, allocations: 6.719 kB / 1.09 GB, free: 136.9 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.003071/1.088, allocations: 0.9131 MB / 1.091 GB, free: 136.4 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002128/1.09, allocations: 296.4 kB / 1.092 GB, free: 136.2 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02508/1.116, allocations: 10.85 MB / 1.102 GB, free: 126 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001038/1.117, allocations: 1.324 MB / 1.103 GB, free: 124.6 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.004452/1.121, allocations: 0.5251 MB / 1.104 GB, free: 124.1 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001401/1.123, allocations: 0.6359 MB / 1.105 GB, free: 123.4 MB / 0.698 GB Notification: Performance of SimCode: time 1.132e-06/1.123, allocations: 0 / 1.105 GB, free: 123.4 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06753/1.19, allocations: 29.97 MB / 1.134 GB, free: 93.76 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002192/1.19, allocations: 274 kB / 1.134 GB, free: 93.4 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.05/4.24, allocations: 0 / 1.134 GB, free: 93.4 MB / 0.698 GB (rm -f Buildings_maint.7.0.x_Buildings.Electrical.DC.Sources.Examples.PVSimpleOriented.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.DC.Sources.Examples.PVSimpleOriented.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.DC.Sources.Examples.PVSimpleOriented.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.DC.Sources.Examples.PVSimpleOriented.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Electrical_DC_Sources_Examples_PVSimpleOriented_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Electrical_DC_Sources_Examples_PVSimpleOriented.fmu > Buildings_maint.7.0.x_Buildings.Electrical.DC.Sources.Examples.PVSimpleOriented.pipe 2>&1)