Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.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.ThreePhasesUnbalanced.Sources.Examples.PVPanels,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sources_Examples_PVPanels",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_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.787/1.787, allocations: 285.4 MB / 298 MB, free: 5.949 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.00151/0.00151, allocations: 184.9 kB / 366.4 MB, free: 2.059 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.939/1.939, allocations: 205.1 MB / 0.6248 GB, free: 7.719 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009198/0.00092, allocations: 102.6 kB / 0.738 GB, free: 40.21 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.046e-05/4.128e-05, allocations: 4 kB / 0.8584 GB, free: 12.93 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8187/0.8188, allocations: 115.3 MB / 0.971 GB, free: 77.86 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.166/6.985, allocations: 2.12 GB / 3.091 GB, free: 340.6 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003794/6.985, allocations: 106.8 kB / 3.091 GB, free: 340.6 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 0.4518/7.437, allocations: 185.6 MB / 3.272 GB, free: 202.9 MB / 0.948 GB Notification: Performance of FrontEnd: time 3.367e-06/7.437, allocations: 4 kB / 3.272 GB, free: 202.9 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0005548/7.438, allocations: 99.92 kB / 3.273 GB, free: 202.8 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1124 * Number of variables: 1124 Notification: Performance of Generate backend data structure: time 0.01553/7.453, allocations: 3.644 MB / 3.276 GB, free: 199.1 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.491e-05/7.453, allocations: 8.031 kB / 3.276 GB, free: 199.1 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003427/7.457, allocations: 0.5965 MB / 3.277 GB, free: 198.5 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01299/7.47, allocations: 1.801 MB / 3.278 GB, free: 196.7 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007835/7.478, allocations: 2.403 MB / 3.281 GB, free: 194.2 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004096/7.478, allocations: 324.5 kB / 3.281 GB, free: 193.9 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002514/7.481, allocations: 412 kB / 3.282 GB, free: 193.5 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02093/7.502, allocations: 6.013 MB / 3.287 GB, free: 187.2 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002617/7.502, allocations: 7.938 kB / 3.287 GB, free: 187.2 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002229/7.504, allocations: 196 kB / 3.288 GB, free: 187 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002737/7.504, allocations: 215.4 kB / 3.288 GB, free: 186.8 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01433/7.519, allocations: 5.628 MB / 3.293 GB, free: 181.2 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04753/7.566, allocations: 26.19 MB / 3.319 GB, free: 153.4 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007052/7.574, allocations: 3.759 MB / 3.323 GB, free: 149.6 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003001/7.577, allocations: 1.821 MB / 3.324 GB, free: 147.8 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009673/7.578, allocations: 0.5112 MB / 3.325 GB, free: 147.2 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003905/7.582, allocations: 1.979 MB / 3.327 GB, free: 145.2 MB / 0.948 GB Notification: Performance of pre-optimization done (n=254): time 1.148e-05/7.582, allocations: 0 / 3.327 GB, free: 145.2 MB / 0.948 GB Notification: Performance of matching and sorting (n=257): time 0.0137/7.595, allocations: 5.614 MB / 3.332 GB, free: 139.5 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001694/7.595, allocations: 445.2 kB / 3.333 GB, free: 139 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003764/7.599, allocations: 1.559 MB / 3.334 GB, free: 137.4 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.001018/7.6, allocations: 77.64 kB / 3.334 GB, free: 137.3 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.002372/7.603, allocations: 1.712 MB / 3.336 GB, free: 135.5 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.00182/7.605, allocations: 0.8587 MB / 3.337 GB, free: 134.7 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008742/7.605, allocations: 48 kB / 3.337 GB, free: 134.6 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0003528/7.606, allocations: 415.7 kB / 3.337 GB, free: 134.2 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003269/7.609, allocations: 1.411 MB / 3.339 GB, free: 132.8 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003522/7.613, allocations: 2.125 MB / 3.341 GB, free: 130.4 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00308/7.616, allocations: 1.706 MB / 3.342 GB, free: 128.7 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.821e-05/7.616, allocations: 4 kB / 3.342 GB, free: 128.6 MB / 0.948 GB Notification: Performance of matching and sorting (n=346) (initialization): time 0.008063/7.624, allocations: 3.863 MB / 3.346 GB, free: 124.7 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.001608/7.625, allocations: 6.833 MB / 3.353 GB, free: 117.3 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.83e-05/7.626, allocations: 16 kB / 3.353 GB, free: 117.3 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.198e-05/7.626, allocations: 36 kB / 3.353 GB, free: 117.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004332/7.63, allocations: 0.8268 MB / 3.354 GB, free: 116.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.246e-05/7.63, allocations: 47.84 kB / 3.354 GB, free: 116.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003876/7.634, allocations: 398.2 kB / 3.354 GB, free: 116 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005566/7.635, allocations: 139.9 kB / 3.354 GB, free: 115.8 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.751e-05/7.635, allocations: 4 kB / 3.354 GB, free: 115.8 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006275/7.641, allocations: 3.329 MB / 3.357 GB, free: 112.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.323e-05/7.641, allocations: 16 kB / 3.357 GB, free: 112.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.668e-05/7.641, allocations: 32.84 kB / 3.357 GB, free: 112.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003821/7.645, allocations: 0.7839 MB / 3.358 GB, free: 111.6 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.953e-05/7.645, allocations: 43.86 kB / 3.358 GB, free: 111.6 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003401/7.648, allocations: 350.1 kB / 3.359 GB, free: 111.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004267/7.649, allocations: 135.9 kB / 3.359 GB, free: 111.1 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 76 * 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 (346): * Single equations (assignments): 346 * 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.001058/7.65, allocations: 278.6 kB / 3.359 GB, free: 110.8 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008868/7.651, allocations: 237.1 kB / 3.359 GB, free: 110.6 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008263/7.659, allocations: 4.045 MB / 3.363 GB, free: 106.5 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.404e-05/7.659, allocations: 28 kB / 3.363 GB, free: 106.4 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.552e-05/7.659, allocations: 3.938 kB / 3.363 GB, free: 106.4 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.362e-05/7.659, allocations: 19.91 kB / 3.363 GB, free: 106.4 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01812/7.677, allocations: 9.004 MB / 3.372 GB, free: 97.26 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.472e-05/7.677, allocations: 4 kB / 3.372 GB, free: 97.25 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004041/7.681, allocations: 0.7686 MB / 3.373 GB, free: 96.48 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.724e-05/7.681, allocations: 12 kB / 3.373 GB, free: 96.47 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004073/7.682, allocations: 79.94 kB / 3.373 GB, free: 96.39 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.583e-05/7.682, allocations: 15.94 kB / 3.373 GB, free: 96.38 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.905e-06/7.682, allocations: 0 / 3.373 GB, free: 96.38 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006388/7.688, allocations: 3.967 MB / 3.377 GB, free: 92.23 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002552/7.691, allocations: 0.8249 MB / 3.378 GB, free: 91.39 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001101/7.692, allocations: 48 kB / 3.378 GB, free: 91.34 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00365/7.696, allocations: 291.7 kB / 3.378 GB, free: 91.05 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004556/7.696, allocations: 169.8 kB / 3.378 GB, free: 90.89 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003345/7.696, allocations: 87.94 kB / 3.378 GB, free: 90.8 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.002812/7.699, allocations: 1.287 MB / 3.379 GB, free: 89.49 MB / 0.948 GB Notification: Performance of sort global known variables: time 8.02e-07/7.699, allocations: 0 / 3.379 GB, free: 89.49 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.007373/7.707, allocations: 1.406 MB / 3.381 GB, free: 88.08 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 (276): * Single equations (assignments): 274 * 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.008334/7.715, allocations: 5.61 MB / 3.386 GB, free: 82.41 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.009606/7.725, allocations: 5.382 MB / 3.391 GB, free: 77 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.219e-05/7.725, allocations: 0 / 3.391 GB, free: 77 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.002844/7.728, allocations: 1.766 MB / 3.393 GB, free: 75.23 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004018/7.732, allocations: 0.5773 MB / 3.394 GB, free: 74.66 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01969/7.751, allocations: 7.134 MB / 3.401 GB, free: 67.43 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00349/7.755, allocations: 2.688 MB / 3.403 GB, free: 64.71 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.008855/7.764, allocations: 1.429 MB / 3.405 GB, free: 63.27 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003852/7.768, allocations: 1.569 MB / 3.406 GB, free: 61.71 MB / 0.948 GB Notification: Performance of SimCode: time 2.705e-06/7.768, allocations: 0 / 3.406 GB, free: 61.71 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.708/8.476, allocations: 71.12 MB / 3.476 GB, free: 254.3 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001941/8.476, allocations: 230.1 kB / 3.476 GB, free: 254.1 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.503/12.98, allocations: 3.375 kB / 3.476 GB, free: 254.1 MB / 0.948 GB (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sources_Examples_PVPanels_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sources_Examples_PVPanels.fmu > Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels.pipe 2>&1)