Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Sources.Examples.PVPanels.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.AC.OnePhase.Sources.Examples.PVPanels,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Electrical_AC_OnePhase_Sources_Examples_PVPanels",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Sources.Examples.PVPanels,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Electrical_AC_OnePhase_Sources_Examples_PVPanels",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.712/1.712, allocations: 288.2 MB / 303.2 MB, free: 8.234 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.00159/0.001589, allocations: 185 kB / 371.8 MB, free: 10.27 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.443/1.443, allocations: 205.4 MB / 0.6305 GB, free: 10.01 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.000823/0.000823, allocations: 102.8 kB / 0.7439 GB, free: 5.926 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004472/0.0004474, allocations: 11.06 kB / 0.8669 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2072/0.2077, allocations: 115.3 MB / 0.9795 GB, free: 27.59 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sources.Examples.PVPanels): time 0.008436/0.2162, allocations: 8.173 MB / 0.9875 GB, free: 19.38 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.6745/0.8907, allocations: 129.7 MB / 1.114 GB, free: 2.742 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002386/0.8932, allocations: 29.06 kB / 1.114 GB, free: 2.734 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.001141/0.8943, allocations: 174.8 kB / 1.114 GB, free: 2.652 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.003617/0.898, allocations: 0.7962 MB / 1.115 GB, free: 2.586 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.004334/0.9023, allocations: 1.13 MB / 1.116 GB, free: 2.547 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.004424/0.9068, allocations: 1.679 MB / 1.118 GB, free: 2.453 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006113/0.9129, allocations: 2.293 MB / 1.12 GB, free: 2.008 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002151/0.9151, allocations: 0.8149 MB / 1.121 GB, free: 1.809 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002107/0.9172, allocations: 0.8714 MB / 1.122 GB, free: 1.566 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0003237/0.9175, allocations: 64.47 kB / 1.122 GB, free: 1.566 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001597/0.9191, allocations: 396.4 kB / 1.122 GB, free: 1.559 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0004996/0.9196, allocations: 456.3 kB / 1.123 GB, free: 1.469 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0007074/0.9204, allocations: 455.6 kB / 1.123 GB, free: 1.352 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.003617/0.924, allocations: 3.153 MB / 1.126 GB, free: 0.7422 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.924, allocations: 0 / 1.126 GB, free: 0.7422 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.686e-05/0.924, allocations: 0 / 1.126 GB, free: 0.7422 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 9.337e-05/0.9241, allocations: 0 / 1.126 GB, free: 0.7422 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 653 * Number of variables: 653 Notification: Performance of Generate backend data structure: time 0.005648/0.9298, allocations: 2.378 MB / 1.128 GB, free: 15.2 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.809e-05/0.9298, allocations: 13.17 kB / 1.128 GB, free: 15.19 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006992/0.9305, allocations: 352 kB / 1.129 GB, free: 15.08 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01099/0.9415, allocations: 1.675 MB / 1.13 GB, free: 14.36 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003885/0.9455, allocations: 1.406 MB / 1.132 GB, free: 13.65 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001933/0.9457, allocations: 192.6 kB / 1.132 GB, free: 13.64 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007482/0.9465, allocations: 245.2 kB / 1.132 GB, free: 13.64 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009057/0.9555, allocations: 3.407 MB / 1.136 GB, free: 12.52 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.463e-05/0.9556, allocations: 2.625 kB / 1.136 GB, free: 12.52 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002948/0.9559, allocations: 110.3 kB / 1.136 GB, free: 12.52 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001912/0.9561, allocations: 112.2 kB / 1.136 GB, free: 12.51 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01084/0.967, allocations: 3.93 MB / 1.14 GB, free: 11.62 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01905/0.9861, allocations: 10.05 MB / 1.149 GB, free: 6.035 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007869/0.994, allocations: 2.695 MB / 1.152 GB, free: 5.516 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009196/0.9949, allocations: 0.5869 MB / 1.153 GB, free: 4.91 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004038/0.999, allocations: 1.51 MB / 1.154 GB, free: 4.41 MB / 0.698 GB Notification: Performance of pre-optimization done (n=194): time 4.228e-06/0.999, allocations: 2.312 kB / 1.154 GB, free: 4.41 MB / 0.698 GB Notification: Performance of matching and sorting (n=195): time 0.01135/1.01, allocations: 4.271 MB / 1.158 GB, free: 3.156 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001629/1.011, allocations: 257.6 kB / 1.158 GB, free: 2.871 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00159/1.012, allocations: 1.087 MB / 1.16 GB, free: 2.547 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0002332/1.012, allocations: 59.58 kB / 1.16 GB, free: 2.516 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.000879/1.013, allocations: 0.9332 MB / 1.161 GB, free: 1.961 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006505/1.014, allocations: 0.6448 MB / 1.161 GB, free: 1.488 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001342/1.014, allocations: 32.41 kB / 1.161 GB, free: 1.488 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001801/1.014, allocations: 372.4 kB / 1.162 GB, free: 1.164 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003023/1.017, allocations: 1.051 MB / 1.163 GB, free: 0.9766 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003273/1.021, allocations: 1.378 MB / 1.164 GB, free: 344 kB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00328/1.024, allocations: 1.161 MB / 1.165 GB, free: 15.75 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.526e-06/1.024, allocations: 2.594 kB / 1.165 GB, free: 15.75 MB / 0.7136 GB Notification: Performance of matching and sorting (n=229) (initialization): time 0.007813/1.032, allocations: 2.745 MB / 1.168 GB, free: 14.37 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.001097/1.033, allocations: 2.464 MB / 1.17 GB, free: 11.75 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.677e-05/1.033, allocations: 8.188 kB / 1.17 GB, free: 11.75 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.484e-05/1.033, allocations: 18.09 kB / 1.17 GB, free: 11.75 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003074/1.036, allocations: 0.5482 MB / 1.171 GB, free: 11.58 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.714e-05/1.036, allocations: 19.58 kB / 1.171 GB, free: 11.57 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002518/1.039, allocations: 274 kB / 1.171 GB, free: 11.43 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001866/1.039, allocations: 86.11 kB / 1.171 GB, free: 11.39 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.228e-05/1.039, allocations: 9.656 kB / 1.171 GB, free: 11.39 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006871/1.046, allocations: 2.508 MB / 1.174 GB, free: 10.14 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.492e-05/1.046, allocations: 9.062 kB / 1.174 GB, free: 10.14 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.965e-05/1.046, allocations: 21.97 kB / 1.174 GB, free: 10.14 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002836/1.049, allocations: 0.5309 MB / 1.174 GB, free: 9.98 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.236e-05/1.049, allocations: 13 kB / 1.174 GB, free: 9.98 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002555/1.051, allocations: 263.4 kB / 1.174 GB, free: 9.836 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002212/1.051, allocations: 88.83 kB / 1.174 GB, free: 9.805 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * 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 (229): * Single equations (assignments): 229 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001784/1.053, allocations: 0.5848 MB / 1.175 GB, free: 9.355 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004077/1.054, allocations: 165.6 kB / 1.175 GB, free: 9.27 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00869/1.062, allocations: 3.13 MB / 1.178 GB, free: 7.41 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.025e-05/1.062, allocations: 25.97 kB / 1.178 GB, free: 7.387 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.964e-06/1.062, allocations: 0 / 1.178 GB, free: 7.387 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.972e-05/1.062, allocations: 7.969 kB / 1.178 GB, free: 7.379 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01222/1.075, allocations: 5.858 MB / 1.184 GB, free: 1.496 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.327e-06/1.075, allocations: 4 kB / 1.184 GB, free: 1.492 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002893/1.078, allocations: 0.5111 MB / 1.184 GB, free: 0.9805 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.694e-05/1.078, allocations: 8 kB / 1.184 GB, free: 0.9727 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001952/1.078, allocations: 63.94 kB / 1.185 GB, free: 0.9102 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-05/1.078, allocations: 11.95 kB / 1.185 GB, free: 0.8984 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.846e-06/1.078, allocations: 0 / 1.185 GB, free: 0.8984 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007465/1.085, allocations: 2.883 MB / 1.187 GB, free: 13.96 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001299/1.087, allocations: 0.5723 MB / 1.188 GB, free: 13.36 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002928/1.087, allocations: 36 kB / 1.188 GB, free: 13.33 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002094/1.089, allocations: 214.8 kB / 1.188 GB, free: 13.12 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000218/1.089, allocations: 129.8 kB / 1.188 GB, free: 12.99 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00017/1.09, allocations: 75.88 kB / 1.188 GB, free: 12.92 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.001206/1.091, allocations: 0.7869 MB / 1.189 GB, free: 12.13 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.9e-07/1.091, allocations: 0 / 1.189 GB, free: 12.13 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.002873/1.094, allocations: 0.7712 MB / 1.19 GB, free: 11.36 MB / 0.7292 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.conTim.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (212): * Single equations (assignments): 210 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00905/1.103, allocations: 4.217 MB / 1.194 GB, free: 7.273 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.01152/1.114, allocations: 3.967 MB / 1.198 GB, free: 3.312 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.288e-05/1.114, allocations: 9.812 kB / 1.198 GB, free: 3.305 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.003693/1.118, allocations: 1.364 MB / 1.199 GB, free: 1.945 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002107/1.12, allocations: 363.1 kB / 1.2 GB, free: 1.594 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03599/1.156, allocations: 16.95 MB / 1.216 GB, free: 192 kB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001789/1.158, allocations: 1.599 MB / 1.218 GB, free: 14.55 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.006906/1.165, allocations: 0.7789 MB / 1.218 GB, free: 13.77 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002089/1.167, allocations: 0.9561 MB / 1.219 GB, free: 12.81 MB / 0.7605 GB Notification: Performance of SimCode: time 2.154e-06/1.167, allocations: 0 / 1.219 GB, free: 12.81 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07543/1.243, allocations: 42.12 MB / 1.26 GB, free: 2.973 MB / 0.7917 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001839/1.243, allocations: 240 kB / 1.261 GB, free: 2.73 MB / 0.7917 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.306/4.548, allocations: 4 kB / 1.261 GB, free: 2.727 MB / 0.7917 GB (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Sources.Examples.PVPanels.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Sources.Examples.PVPanels.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Sources.Examples.PVPanels.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Sources.Examples.PVPanels.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Electrical_AC_OnePhase_Sources_Examples_PVPanels_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Electrical_AC_OnePhase_Sources_Examples_PVPanels.fmu > Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Sources.Examples.PVPanels.pipe 2>&1)