Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.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.ThreePhasesBalanced.Sources.Examples.PVPanels,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Sources_Examples_PVPanels",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.PVPanels,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_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.73/1.73, allocations: 288.2 MB / 303.2 MB, free: 8.164 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.001091/0.001091, allocations: 181 kB / 371.8 MB, free: 10.3 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.67/1.67, allocations: 205.4 MB / 0.6305 GB, free: 10.03 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.000944/0.0009439, allocations: 102.5 kB / 0.7439 GB, free: 5.961 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000404/0.0004041, allocations: 15.09 kB / 0.8669 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2533/0.2537, allocations: 115.3 MB / 0.9795 GB, free: 27.61 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.PVPanels): time 0.009338/0.2631, allocations: 9.502 MB / 0.9888 GB, free: 18.08 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.7843/1.047, allocations: 129.7 MB / 1.115 GB, free: 3.656 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002629/1.05, allocations: 28.5 kB / 1.115 GB, free: 3.648 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.001362/1.052, allocations: 174.1 kB / 1.116 GB, free: 3.566 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.004439/1.056, allocations: 0.7962 MB / 1.116 GB, free: 3.5 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.005229/1.061, allocations: 1.135 MB / 1.117 GB, free: 3.457 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.004998/1.066, allocations: 1.681 MB / 1.119 GB, free: 3.363 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006311/1.073, allocations: 2.295 MB / 1.121 GB, free: 2.914 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002743/1.075, allocations: 0.8083 MB / 1.122 GB, free: 2.719 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002653/1.078, allocations: 0.8772 MB / 1.123 GB, free: 2.477 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0008869/1.079, allocations: 66.55 kB / 1.123 GB, free: 2.477 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00243/1.081, allocations: 389.2 kB / 1.123 GB, free: 2.473 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.001173/1.083, allocations: 456.4 kB / 1.124 GB, free: 2.383 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.001164/1.084, allocations: 455.9 kB / 1.124 GB, free: 2.266 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.004313/1.088, allocations: 3.147 MB / 1.127 GB, free: 1.59 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 3.437e-06/1.088, allocations: 0 / 1.127 GB, free: 1.59 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.713e-06/1.088, allocations: 0 / 1.127 GB, free: 1.59 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.000118/1.088, allocations: 4 kB / 1.127 GB, free: 1.586 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.005507/1.094, allocations: 2.38 MB / 1.13 GB, free: 48 kB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.476e-05/1.094, allocations: 9.875 kB / 1.13 GB, free: 48 kB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005565/1.094, allocations: 358.2 kB / 1.13 GB, free: 15.93 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01087/1.105, allocations: 1.667 MB / 1.132 GB, free: 15.22 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003514/1.109, allocations: 1.407 MB / 1.133 GB, free: 14.51 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001626/1.109, allocations: 191.8 kB / 1.133 GB, free: 14.5 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006096/1.11, allocations: 246.4 kB / 1.133 GB, free: 14.5 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009074/1.119, allocations: 3.401 MB / 1.137 GB, free: 13.38 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.163e-05/1.119, allocations: 2 kB / 1.137 GB, free: 13.38 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003039/1.119, allocations: 103.7 kB / 1.137 GB, free: 13.38 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001667/1.119, allocations: 118 kB / 1.137 GB, free: 13.36 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0119/1.131, allocations: 3.923 MB / 1.141 GB, free: 12.48 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02375/1.155, allocations: 10.05 MB / 1.151 GB, free: 6.898 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008795/1.164, allocations: 2.711 MB / 1.153 GB, free: 6.367 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001014/1.165, allocations: 0.575 MB / 1.154 GB, free: 5.77 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004649/1.17, allocations: 1.523 MB / 1.155 GB, free: 5.262 MB / 0.698 GB Notification: Performance of pre-optimization done (n=194): time 5.12e-06/1.17, allocations: 0 / 1.155 GB, free: 5.262 MB / 0.698 GB Notification: Performance of matching and sorting (n=195): time 0.01379/1.183, allocations: 4.27 MB / 1.16 GB, free: 4.008 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001395/1.184, allocations: 253.9 kB / 1.16 GB, free: 3.727 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002027/1.186, allocations: 1.09 MB / 1.161 GB, free: 3.398 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0003317/1.186, allocations: 64.11 kB / 1.161 GB, free: 3.363 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009548/1.187, allocations: 0.9304 MB / 1.162 GB, free: 2.645 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007968/1.188, allocations: 0.641 MB / 1.162 GB, free: 2.086 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002038/1.188, allocations: 37.94 kB / 1.162 GB, free: 2.059 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001951/1.188, allocations: 373.8 kB / 1.163 GB, free: 1.703 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003263/1.192, allocations: 1.055 MB / 1.164 GB, free: 1.168 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00354/1.195, allocations: 1.382 MB / 1.165 GB, free: 256 kB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003633/1.199, allocations: 1.159 MB / 1.166 GB, free: 15.7 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.738e-06/1.199, allocations: 2.875 kB / 1.166 GB, free: 15.7 MB / 0.7136 GB Notification: Performance of matching and sorting (n=229) (initialization): time 0.007937/1.207, allocations: 2.743 MB / 1.169 GB, free: 14.32 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.001061/1.208, allocations: 2.461 MB / 1.171 GB, free: 11.7 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.739e-05/1.208, allocations: 5.344 kB / 1.171 GB, free: 11.7 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.841e-05/1.208, allocations: 15.56 kB / 1.171 GB, free: 11.7 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003212/1.211, allocations: 0.5461 MB / 1.172 GB, free: 11.54 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.918e-05/1.211, allocations: 13.03 kB / 1.172 GB, free: 11.54 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002752/1.214, allocations: 273.2 kB / 1.172 GB, free: 11.39 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002799/1.214, allocations: 96.8 kB / 1.172 GB, free: 11.35 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.727e-05/1.214, allocations: 6.516 kB / 1.172 GB, free: 11.34 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007966/1.222, allocations: 2.508 MB / 1.175 GB, free: 10.1 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.125e-05/1.222, allocations: 7.312 kB / 1.175 GB, free: 10.1 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.523e-05/1.222, allocations: 15.91 kB / 1.175 GB, free: 10.1 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003233/1.226, allocations: 0.532 MB / 1.175 GB, free: 9.938 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.392e-05/1.226, allocations: 20.7 kB / 1.175 GB, free: 9.934 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003082/1.229, allocations: 264.1 kB / 1.176 GB, free: 9.789 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003572/1.229, allocations: 92.7 kB / 1.176 GB, free: 9.754 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.001994/1.231, allocations: 0.5774 MB / 1.176 GB, free: 9.312 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007706/1.232, allocations: 170.4 kB / 1.176 GB, free: 9.223 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01038/1.242, allocations: 3.133 MB / 1.179 GB, free: 6.914 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.611e-05/1.242, allocations: 20 kB / 1.18 GB, free: 6.895 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.744e-05/1.243, allocations: 0 / 1.18 GB, free: 6.895 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.354e-05/1.243, allocations: 11.95 kB / 1.18 GB, free: 6.883 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01616/1.259, allocations: 5.846 MB / 1.185 GB, free: 1.012 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.586e-06/1.259, allocations: 0 / 1.185 GB, free: 1.012 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003057/1.262, allocations: 0.515 MB / 1.186 GB, free: 0.4961 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.152e-05/1.262, allocations: 8 kB / 1.186 GB, free: 500 kB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000248/1.262, allocations: 55.94 kB / 1.186 GB, free: 444 kB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.139e-05/1.262, allocations: 8 kB / 1.186 GB, free: 436 kB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/1.262, allocations: 7.953 kB / 1.186 GB, free: 428 kB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007749/1.27, allocations: 2.894 MB / 1.189 GB, free: 13.46 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001466/1.271, allocations: 0.5644 MB / 1.189 GB, free: 12.88 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005594/1.272, allocations: 43.98 kB / 1.189 GB, free: 12.84 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00262/1.275, allocations: 215.8 kB / 1.189 GB, free: 12.62 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002609/1.275, allocations: 123.7 kB / 1.19 GB, free: 12.5 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002028/1.275, allocations: 79.92 kB / 1.19 GB, free: 12.43 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.001652/1.277, allocations: 0.7753 MB / 1.19 GB, free: 11.65 MB / 0.7292 GB Notification: Performance of sort global known variables: time 2.11e-07/1.277, allocations: 0 / 1.19 GB, free: 11.65 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.003596/1.28, allocations: 0.7773 MB / 1.191 GB, free: 10.87 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.009593/1.29, allocations: 4.215 MB / 1.195 GB, free: 6.793 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.01135/1.301, allocations: 3.978 MB / 1.199 GB, free: 2.82 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.015e-05/1.301, allocations: 0 / 1.199 GB, free: 2.82 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.003736/1.305, allocations: 1.362 MB / 1.2 GB, free: 1.461 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002128/1.307, allocations: 363.7 kB / 1.201 GB, free: 1.113 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03519/1.343, allocations: 16.95 MB / 1.217 GB, free: 15.71 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001927/1.345, allocations: 1.599 MB / 1.219 GB, free: 14.08 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.005636/1.35, allocations: 0.775 MB / 1.22 GB, free: 13.3 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002345/1.353, allocations: 0.96 MB / 1.221 GB, free: 12.34 MB / 0.7605 GB Notification: Performance of SimCode: time 1.613e-06/1.353, allocations: 0 / 1.221 GB, free: 12.34 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09516/1.448, allocations: 42.1 MB / 1.262 GB, free: 2.527 MB / 0.7917 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002616/1.448, allocations: 248.9 kB / 1.262 GB, free: 2.199 MB / 0.7917 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.241/4.689, allocations: 3.516 kB / 1.262 GB, free: 2.199 MB / 0.7917 GB (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.PVPanels.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.PVPanels.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.PVPanels.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.PVPanels.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Sources_Examples_PVPanels_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Sources_Examples_PVPanels.fmu > Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.PVPanels.pipe 2>&1)