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.643/1.643, allocations: 285.6 MB / 293.1 MB, free: 10.21 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.001636/0.001636, allocations: 172.9 kB / 361.4 MB, free: 6.836 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.615/1.615, allocations: 205.3 MB / 0.62 GB, free: 11.64 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.0008847/0.0008846, allocations: 89.7 kB / 0.733 GB, free: 44.17 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.519e-05/2.54e-05, allocations: 4 kB / 0.8518 GB, free: 2.617 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8175/0.8175, allocations: 115.3 MB / 0.9645 GB, free: 79.1 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.598/6.415, allocations: 2.119 GB / 3.084 GB, free: 40.02 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003739/6.416, allocations: 107.9 kB / 3.084 GB, free: 39.92 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 1.069/7.484, allocations: 184.7 MB / 3.264 GB, free: 248.9 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.934e-06/7.484, allocations: 0 / 3.264 GB, free: 248.9 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0005005/7.485, allocations: 103.9 kB / 3.264 GB, free: 248.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.01349/7.498, allocations: 3.644 MB / 3.268 GB, free: 245.1 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.149e-05/7.498, allocations: 12.03 kB / 3.268 GB, free: 245.1 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01285/7.511, allocations: 1.801 MB / 3.27 GB, free: 243.2 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007489/7.519, allocations: 2.403 MB / 3.272 GB, free: 240.8 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003127/7.519, allocations: 144 kB / 3.272 GB, free: 240.7 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002392/7.522, allocations: 243.9 kB / 3.273 GB, free: 240.4 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0131/7.535, allocations: 5.163 MB / 3.278 GB, free: 235.2 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01909/7.554, allocations: 5.41 MB / 3.283 GB, free: 229.6 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003076/7.554, allocations: 7.938 kB / 3.283 GB, free: 229.6 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002353/7.556, allocations: 4 kB / 3.283 GB, free: 229.6 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002772/7.557, allocations: 223.4 kB / 3.283 GB, free: 229.4 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04624/7.603, allocations: 25.18 MB / 3.308 GB, free: 202.6 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006893/7.61, allocations: 3.629 MB / 3.311 GB, free: 198.9 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00313/7.613, allocations: 1.746 MB / 3.313 GB, free: 197.2 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00102/7.614, allocations: 0.5151 MB / 3.313 GB, free: 196.6 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003947/7.618, allocations: 1.901 MB / 3.315 GB, free: 194.6 MB / 0.948 GB Notification: Performance of pre-optimization done (n=254): time 9.598e-06/7.618, allocations: 8 kB / 3.315 GB, free: 194.6 MB / 0.948 GB Notification: Performance of matching and sorting (n=257): time 0.01952/7.638, allocations: 6.398 MB / 3.322 GB, free: 188.2 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001729/7.638, allocations: 445.2 kB / 3.322 GB, free: 187.6 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003238/7.641, allocations: 1.39 MB / 3.323 GB, free: 186.3 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.000972/7.642, allocations: 25.7 kB / 3.323 GB, free: 186.2 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001826/7.644, allocations: 1.715 MB / 3.325 GB, free: 184.5 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001577/7.646, allocations: 0.8313 MB / 3.326 GB, free: 183.6 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000794/7.646, allocations: 0 / 3.326 GB, free: 183.6 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0002905/7.647, allocations: 411.5 kB / 3.326 GB, free: 183.2 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002708/7.649, allocations: 1.36 MB / 3.328 GB, free: 181.9 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003114/7.653, allocations: 2.057 MB / 3.33 GB, free: 179.5 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008281/7.661, allocations: 2.596 MB / 3.332 GB, free: 176.9 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.087e-05/7.661, allocations: 8 kB / 3.332 GB, free: 176.9 MB / 0.948 GB Notification: Performance of matching and sorting (n=346) (initialization): time 0.01756/7.679, allocations: 4.582 MB / 3.337 GB, free: 172.3 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.002025/7.681, allocations: 6.797 MB / 3.343 GB, free: 165.1 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.301e-05/7.681, allocations: 20 kB / 3.343 GB, free: 165.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.202e-05/7.681, allocations: 32 kB / 3.343 GB, free: 165 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005158/7.686, allocations: 0.8307 MB / 3.344 GB, free: 164.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.016e-05/7.686, allocations: 43.86 kB / 3.344 GB, free: 164.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004604/7.691, allocations: 342.1 kB / 3.344 GB, free: 163.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001086/7.692, allocations: 131.9 kB / 3.345 GB, free: 163.7 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.71e-05/7.692, allocations: 4 kB / 3.345 GB, free: 163.7 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01465/7.707, allocations: 4.013 MB / 3.348 GB, free: 159.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.419e-05/7.707, allocations: 16 kB / 3.349 GB, free: 159.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.619e-05/7.707, allocations: 32 kB / 3.349 GB, free: 159.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004697/7.711, allocations: 0.7841 MB / 3.349 GB, free: 158.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.052e-05/7.712, allocations: 39.88 kB / 3.349 GB, free: 158.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004224/7.716, allocations: 294.2 kB / 3.35 GB, free: 158.5 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008784/7.717, allocations: 139.9 kB / 3.35 GB, free: 158.3 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.001595/7.718, allocations: 183 kB / 3.35 GB, free: 158.2 MB / 0.948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01269/7.731, allocations: 4.161 MB / 3.354 GB, free: 154 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001326/7.732, allocations: 241.1 kB / 3.354 GB, free: 153.8 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01419/7.747, allocations: 4.789 MB / 3.359 GB, free: 148.9 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.466e-05/7.747, allocations: 28 kB / 3.359 GB, free: 148.9 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.479e-05/7.747, allocations: 0 / 3.359 GB, free: 148.9 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.02e-05/7.747, allocations: 23.89 kB / 3.359 GB, free: 148.9 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02185/7.769, allocations: 8.963 MB / 3.368 GB, free: 139.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.24e-05/7.769, allocations: 4 kB / 3.368 GB, free: 139.7 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004453/7.773, allocations: 0.7803 MB / 3.368 GB, free: 139 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.737e-05/7.773, allocations: 15.94 kB / 3.368 GB, free: 138.9 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007777/7.774, allocations: 43.92 kB / 3.369 GB, free: 138.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.991e-05/7.774, allocations: 12 kB / 3.369 GB, free: 138.9 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.043e-06/7.774, allocations: 4 kB / 3.369 GB, free: 138.9 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01354/7.788, allocations: 4.769 MB / 3.373 GB, free: 133.9 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002389/7.79, allocations: 0.8056 MB / 3.374 GB, free: 133.1 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001171/7.791, allocations: 4 kB / 3.374 GB, free: 133.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003852/7.795, allocations: 247.6 kB / 3.374 GB, free: 132.9 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000503/7.796, allocations: 165.8 kB / 3.374 GB, free: 132.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004591/7.796, allocations: 95.88 kB / 3.374 GB, free: 132.6 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.00264/7.799, allocations: 1.119 MB / 3.376 GB, free: 131.5 MB / 0.948 GB Notification: Performance of sort global known variables: time 4.01e-07/7.799, allocations: 0 / 3.376 GB, free: 131.5 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.007489/7.806, allocations: 1.242 MB / 3.377 GB, free: 130.2 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.0137/7.82, allocations: 6.367 MB / 3.383 GB, free: 123.8 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.008358/7.828, allocations: 5.146 MB / 3.388 GB, free: 118.6 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.06e-05/7.828, allocations: 0 / 3.388 GB, free: 118.6 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.002673/7.831, allocations: 1.707 MB / 3.39 GB, free: 116.9 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004096/7.835, allocations: 0.5201 MB / 3.39 GB, free: 116.4 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01907/7.854, allocations: 6.901 MB / 3.397 GB, free: 109.4 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0033/7.858, allocations: 2.693 MB / 3.4 GB, free: 106.6 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.00686/7.865, allocations: 1.405 MB / 3.401 GB, free: 105.2 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00313/7.868, allocations: 1.569 MB / 3.402 GB, free: 103.7 MB / 0.948 GB Notification: Performance of SimCode: time 1.372e-06/7.868, allocations: 0 / 3.402 GB, free: 103.7 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.116/7.984, allocations: 67.86 MB / 3.469 GB, free: 35.99 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002194/7.984, allocations: 209 kB / 3.469 GB, free: 35.7 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.99/11.97, allocations: 6.031 kB / 3.469 GB, free: 35.7 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)